Open curly-brace opened 9 years ago
Can you please share your directory layout ?
here is the default openfl project. i opened main source file and pressed ctrl+shift+b http://postimg.org/image/wbz7aam8l/
do you get any error message in the console ? what's the content of your application.xml ?
no. just a message shortly appears on status bar "no hxml or nmml file found" xml file is from default openfl project.
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- NMML reference: https://gist.github.com/1763850 -->
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
<meta title="openfl_test" package="openfltest" version="1.0.0" company="stasuss" />
<!-- output -->
<app main="Main" file="openfltest" path="bin" />
<window background="#000000" fps="60" />
<window width="800" height="480" unless="mobile" />
<window orientation="landscape" vsync="false" antialiasing="0" if="cpp" />
<!-- classpath, haxe libs -->
<source path="src" />
<haxelib name="openfl" />
<haxelib name="actuate" />
<!-- assets -->
<icon path="assets/openfl.svg" />
<assets path="assets/img" rename="img" />
<!-- optimize output
<haxeflag name="-dce full" /> -->
</project>
also, what version of ST are you using ? ST3 is likely to work much better.
i'm using st3 on my main linux. also tried both st2 and st3 on win7 with same results. also tried on mac with st3 now, because guy on openfl forum said, that by him everything is ok on mac.
may be i'm doing something wrong? or may be he has older versions or whatever.
found the cause. the folder, where i store haxe projects is named [HAXE] and plugin is unable to process square brackets in path.
ok, thanks for the insight; What OS are you using ? I'll see what I can do. Best, Clément
this issue appeared on linux, win7 and mac, so it is crossplatform) i think it is something to do with sublime internals
we do quite a lot of path manipulation, so we might workaround it. now that you found a way to reproduce, I can investigate a bit on it ;)
thank you for great plugin! it is really helpful when your main system is not windows)))
I can reproduce this on the Mac as well, it used to work some time ago.
default project is not build. ctrl+shift+b generates default build.hxml for html5. no dropdown is shown.
build also fails, while compiler fails to find imported classes. i think thi is because xml file is not parsed at all.