clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
237 stars 85 forks source link

feature ? alternate haxe version #46

Closed postite closed 11 years ago

postite commented 12 years ago

hello clemos .. it would be nice to have an alternate sublimebuild for nightly builds . in case we have two versions of haxe and doesn't want to break environnment variables.

i tried to make it but not succeed

like :

{ "cmd": ["HAXE_LIBRARY_PATH=:haxe3nightly/haxe/std haxe3nightly/haxe/haxe" ,"build.hxml"], "fileregex": "^([^:]):([0-9]+): characters [0-9]+-([0-9]+) :._$", "working_dir": "${project_path:${folder}}", "selector": "source.haxe.2,source.hxml"

}

of course "haxe3nightly should be the right path to the nightly test environement. any idea on how to make it ? thx

clemos commented 12 years ago

I'd like to add project preferences, and maybe user preferences to the bundle. This could be the place to put such things (haxe path, haxe library path, preferences regarding autocompletion, maybe, etc), both per-user and per-project. But I'm not really sure how to achieve this right now, so it'll probably take some time.

Also, the file you pasted is for the ST2 build system. I personnally don't use it much because it's not very flexible, doesn't highlight errors, etc. If I manage to add preferences, I guess it'll only affect the bundle's build system (Ctrl+Shift+B / Ctrl+Enter) and compiler based autocompletion.

Regards, Clément

clemos commented 11 years ago

FYI I've added settings for haxe path and haxe library path to the bundle; the details are in the README. So I'm going to close this issue :) Feel free to open another ticket if you encounter problems with it. Regards, Clément

postite commented 11 years ago

cool ! thx