clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
235 stars 86 forks source link

openfl - other target than flash #132

Closed RudolfVonKrugstein closed 10 years ago

RudolfVonKrugstein commented 10 years ago

When I open my project and do Ctrl-Shift-B, I get offered the openfl target, but only for flash. My project does not compile to flash. Can I somehow tell sublime to compile to cpp?

clemos commented 10 years ago

Your project is probably not recognized as an openFL project. What build files do you have (hxml ? xml ? nmml ?), and where are they (directory layout) ?

RudolfVonKrugstein commented 10 years ago

I have a project.xml file, which is located in the the root of the project. Than I have a subdirectory "Source" where the source files are located. Ctrl-Shift-B offers openfl, but only flash ...

clemos commented 10 years ago

This is weird. Can you send a capture ? And also, are you on the 'refactoring' branch, or on 'master' ? or did you install through Package Control (in which case you are 'master') Best, Clément

RudolfVonKrugstein commented 10 years ago

I installed through Packge Control. I am not sure what you mean by capture, here is a screenshot:

screenshot from 2014-03-12 15 35 43

clemos commented 10 years ago

Selecting the second item in the menu (the openfl build) should display another menu with the different openfl build targets. If it doesn't, could you please have a look at the ST Console (View > Show Console) and let me know if you see any error. Also, if you don't need that other .hxml file, you should just remove it: if there's only one openfl build file, Ctrl + Shift + B should directly display the openfl build targets.

RudolfVonKrugstein commented 10 years ago

Interesting ... I removed the hxml file, and now I see all the targets. When I recreate it (and it stops working), these are the last lines in the console view:

plugins loaded
Package Control: Skipping automatic upgrade, last run at 2014-03-12 15:29:30, next run at 2014-03-12 16:29:30 or after
Quick panel unavailable