AutoIt / SublimeAutoItScript

AutoItScript Au3 language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build systems for run and compile, Tidy command, IncludeHelper command.
https://www.autoitscript.com/forum/forum/7-autoit-technical-discussion/
MIT License
29 stars 11 forks source link

Compiler / Wrapper #6

Open rynow opened 10 years ago

rynow commented 10 years ago

Unfortunately you can’t set compiler settings. Like Icon path settings, etc. It would be nice if we could use scite wrapper.

robertcollier4 commented 10 years ago

It is possible to specify these somehow - the autoitbuild() function in autoitbuild.py would need to be modified to read additional parameters from the settings file, or from somewhere else such as a meta-directive comment line in the open sublime window.

If someone wants to add it, the first place they should look is autoitbuild.py.

https://www.autoitscript.com/autoit3/docs/intro/compiler.htm

jbrooksuk commented 10 years ago

I think these should extend the project settings, because you may have different compiler settings per-project.

MattDiesel commented 10 years ago

Mu understanding of rynow's comment was that (s)he would like to be able to use AutoIt3Wrapper (as comes with the full SciTE build) from st.

Without looking at the source I can't be sure, but I seem to remember there being checks for SciTE in the AutoIt3Wrapper code, so it may require some modification. The source is readily available anyway. It may be that only the GUI requires SciTE.

Matt

On Wed, Jul 16, 2014 at 5:12 AM, robertcollier4 notifications@github.com wrote:

It is possible to specify these somehow - the autoitbuild() function is in autoitbuild.py and it could easily me modified to read additional parameters from the settings file or anywhere else, etc.

http://www.geocities.ws/mikebee_esi_autoit/html/intro/compiler.htm Aut2exe.exe /in [/out ] [/icon ] [/nodecompile] [/comp 0-4] [/pass ] [/nopack]

— Reply to this email directly or view it on GitHub https://github.com/AutoIt/SublimeAutoItScript/issues/6#issuecomment-49121790 .

robertcollier4 commented 10 years ago

http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/AutoIt3Wrapper.html http://www.autoitscript.com/wiki/AutoIt3Wrapper_Directives The source code file AutoIt3Wrapper.au3 for AutoIt3Wrapper.exe seems to be included in the folder SciTe\AutoIt3Wrapper.

MattDiesel commented 10 years ago

Ok so there are lots of references to SciTE in the code.

The main issue is that AutoIt3Wrapper does a lot more than just wrap Aut2Exe based on directives in code it seems.

On Fri, Jul 18, 2014 at 7:11 AM, robertcollier4 notifications@github.com wrote:

http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/AutoIt3Wrapper.html http://www.autoitscript.com/wiki/AutoIt3Wrapper_Directives The source code file AutoIt3Wrapper.au3 for AutoIt3Wrapper.exe seems to be included in the folder SciTe\AutoIt3Wrapper.

— Reply to this email directly or view it on GitHub https://github.com/AutoIt/SublimeAutoItScript/issues/6#issuecomment-49398686 .