clemos / haxe-sublime-bundle

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

Include <haxedef> nodes for nme/lime/openfl projects in the args list #162

Closed jskuse closed 10 years ago

jskuse commented 10 years ago

We have a pretty big project for which autocompletion has been broken for an age. It turns out that the problem is that we have a haxedef defined in our project.xml file that is currently needed for the project to compile correctly, but that wasn't currently being passed as an arg into the compiler when getting the autocompletion data.

So, this change fixes that by including all nodes as -D xxxx in the args list.

clemos commented 10 years ago

Thanks a lot :D