Closed venclovs closed 10 years ago
Everything was working fine until last update. I'm on mac.
Autocompletion doesn't work on flambe
Now I'm getting:
"Class not found: flambe.anyClass"
For my source autocompletions shows:
Invalid command line... "src.scenes.Scene" should be -> "scenes.Scene" ; nme project not installed
If I remove flambe.yaml file everything works fine, now issues.
How to fix it, so I would be able to compile flambe target?
I'll look into it, I've recently been merging a PR from @aduros about flambe, which might be related to your problem. Do you get any error from the console ?
Are you using Flambe 4.1.0+? It's required for completion in the latest plugin.
I'm using 4.1.0. I have put in preferences "haxe_builds":"flambe.yaml" and know autocompletion works. But can't select build, but I'm making a build on my own so it's not a big deal.
I hope this will help:
Flambe completion error: flambe: error: argument "
Errors in status bar: "Class not found: flambe.anyClass" Invalid command line... "src.scenes.Scene" should be -> "scenes.Scene" ; nme project not installed
Autocompletion also works if I remove flambe.yaml
Currently you can't use the new "add build to project" (haxe_builds
) feature for other formats than hxml
.
So adding a yaml
flambe build not only won't work, but will also deactivate auto-search of other build files...
So for now, please don't use haxe_builds
with yaml
files,
just place your yaml
file at the top of your project and you should be ok.
I'll try to add the other build types to the feature asap.
PS: ...and please confirm so I can close the issue ;)
"just place your yaml file at the top of your project and you should be ok."
it won't work at all this way by putting .yaml at top of project, it only worked this way with previous release.
I'm getting this with .yaml at top of project (no autocompletion):
Class not found: flambe.anyClass" Invalid command line... "src.scenes.Scene" should be -> "scenes.Scene" ; nme project not installed
Can you please paste your yaml and describe your project paths layout ?
I finally reproduced it and fixed it @aduros I don't even know how it could possibly work in the first place :p ("haxe flags" called without cwd or --config)
Oops! I guess I was always starting sublime from a project directory and never got hit by that.
Yes!!!
It's working now
Can't select flambe build type. It always generates build.hxml.