You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when importing a target specific dependency, it isn't found and an error is shown in the editor. The haxe compiler build all targets just fine. The common provided class paths before --each are recognized and taken into account by the plugin.
The editor is able to handle the target specific dependencies.
I think the plugin should be able to handle all class paths not only the common ones.
It would be great as well if the plugin is able to find and process multiple hxml files if this makes sense. Currently if I have each target split in its own folder and each target has its own build.xhml file I need to open each separate target in a new window, which is not ideal. This makes sense if there is a project which provides a library/common code, and multiple small demo apps, demonstrating the usage of the library on different targets. What do you think?
Best regards.
The text was updated successfully, but these errors were encountered:
--next and --each are indeed not really supported, and I don't see how they could be. You would have to be able to actively select a particular "target" within the hxml file, as it's not safe to just merge arguments from the different branches into one. And that selection would be a bit awkward, as the sections don't even have names. At that point, it seems better to just split it up into multiple hxml files.
Currently if I have each target split in its own folder and each target has its own build.xhml file I need to open each separate target in a new window, which is not ideal.
As long as multi root workspaces (#170) are not supported, you can do something like this in settings.json:
First thanks for the great work. So far for the people looking for an IntelliJ alternative, VSC provides the most advanced support for haxe language.
Here is the issue I currently observe: We have the following build.hxml
So when importing a target specific dependency, it isn't found and an error is shown in the editor. The haxe compiler build all targets just fine. The common provided class paths before --each are recognized and taken into account by the plugin.
But if the build.xhml looks like this:
The editor is able to handle the target specific dependencies.
I think the plugin should be able to handle all class paths not only the common ones.
It would be great as well if the plugin is able to find and process multiple hxml files if this makes sense. Currently if I have each target split in its own folder and each target has its own build.xhml file I need to open each separate target in a new window, which is not ideal. This makes sense if there is a project which provides a library/common code, and multiple small demo apps, demonstrating the usage of the library on different targets. What do you think?
Best regards.
The text was updated successfully, but these errors were encountered: