jcward / vscode-haxe

Haxe language extension for Visual Studio Code
MIT License
64 stars 10 forks source link

using build.hxml to generate two different targets confuses VSCODE #28

Closed MatthijsKamstra closed 8 years ago

MatthijsKamstra commented 8 years ago

example build.hxml

-cp src
-main Main
-php bin/www

--next

-cp src
-main MainJS
-js bin/javascript.js

php code works like expected js code gives errors for example:

    private var _doc = js.Browser.document;

screen shot 2016-04-13 at 13 32 44

pleclech commented 8 years ago

@MatthijsKamstra Working at the moment to see if a build/target selection can be implemented for completion, But you will have to choose on wich target you are working on ;)

MatthijsKamstra commented 8 years ago

awesome!

jcward commented 8 years ago

I'm going to close this for now... Multiple targets seems a little bit of an edge case to me, especially as this project is in "legacy / support" mode.