fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
826 stars 222 forks source link

[haxe] support simple .hxml for build configuration #102

Closed nadako closed 6 years ago

nadako commented 10 years ago

It would be a nice feature if, instead of configuring the whole haxe project in FD, you could just specify the .hxml file to use and FD would parse source paths, used libs and other configuration from it.

I imagine it would be useful not only for our project, but for many haxe projects out there, because .hxml is the standard build file format.

nadako commented 10 years ago

Looking at the source, there's code to parse and save hxml in HaxeProject, it's just not enabled and tested. :-/

elsassph commented 10 years ago

Yes there is a basic hxml parser to get the OpenFL project configuration ('openfl display'). It's however not going to support complex configs. We could allow, as with OpenFL, to indicate the HXML file in place of the Output - but it has to be thought through.

HXML writing is a somewhat hidden feature that can be enabled in Program Settings > HaxeContext > Export HXML: FD will generate an HXML file corresponding to your FD project config.

SlavaRa commented 7 years ago

Now FlashDevelop can import a project from an .hxml file. I think that this issue is accomplished