There is a small error in generated flashdevelop project, which breaks code completion for assets.
For example I use command ''node Kha/make flash --to buildFlash'.
Everything works fine, but code completition for Assets fails with something like this:
...\Kha\Tools\haxe\std/neko/_std/sys/io/File.hx:30: characters 20-51 : /".../build/flash/kha.swf-resources/files.json: Invalid argument .../Kha/Sources/kha/internal/AssetsBuilder.hx:46: characters 27-74 : Called from .../Kha/Sources/kha/Assets.hx:36: characters 2-7 : Called from ...\Kha\Tools\haxe\std/haxe/macro/Context.hx:258: characters 9-46 : Called from .../Kha/Sources/kha/network/ControllerBuilder.hx:271: characters 33-65 : Called from .../Kha/Sources/kha/network/Controller.hx:5: characters 2-11 : Called from Aborted
(I replaced actual path to project with "...")
In FlashDevelop in Additional compiler options we can see this:
Actually it should be
There are two problems:
- Quotes should not be escaped
- Kha/make does not take --to directive into account when create this line
- Also this compiler directive is completely omitted in 'project-flash.hxml'