I really want to use Sublime Text on my Macbook, but I have some troubles with it that make me slow in work I need to do. So far I used Flash Develop on Windows.
Here is few problems that are bothering me :
Flash Player is not opened automatically after I compile the game, but I need to start it myself by opening the resulting SWF. Is there any way to make that it auto starts ?
when declaring variable like “var p:Player”, Player class is not automatically imported, but I need to type it in myself, and I also don’t get suggestion for the path, so it is really time consuming to do it.
every time I open project, I need to setup the settings - haxe syntax, build target etc. - is there way to make that settings are somehow saved and loaded per project ?
Is there any way to set the custom path to Haxe and OpenFL library ? I have some old projects that are using old libraries and I would like to switch fast between the two.
I plan to add more things to this topic as I will use Sublime Text more and more, and be also free to do add more question yourself, as I will add them to this first post.
Sublime Text does not use projects, it’s this one level of support that I wish it had.
It uses the source file you are editing to try and track back to a project HXML, but if you edit files from other directories (like I regularly do) then you cannot use the build shortcut. This inconsistency (unlike FlashDevelop) causes me to build only from the command-line with Sublime Text.
You can use project.xml to set custom paths to OpenFL, like <haxelib name="openfl" version="1.0.0" />, which might help?
Setting custom versions of Haxe is more complicated, I can’t recommend a good solution
have you tried atom?
i was kind of not with it at first. but it actually has made some great steps of late, plus with a nice lime/openfl package. really quick etc etc