clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
235 stars 86 forks source link

unable to recognise --interp target #165

Open andyli opened 9 years ago

andyli commented 9 years ago

It seems the bundle is unable to recognise the macro target (--interp), which leads to code completion error.

A sample build.hxml:

-main Test
--interp
clemos commented 9 years ago

I wasn't aware of this 'target', indeed. I'll look into it ASAP.

andyli commented 9 years ago

While you're at it, there is also --run. ;)

It is used like:

-cp src
-debug
--run Main
clemos commented 9 years ago

It should work now :)

clemos commented 9 years ago

Can you please confirm / close this issue ?

andyli commented 9 years ago

Sadly it still does not work for me.

build.hxml

-main Test
--interp

Test.hx

class Test {
    static function main():Void {
        [].
    }
}

This message shows up: screen shot 2014-09-05 at 3 33 32 pm

clemos commented 9 years ago

It's weird, I can't reproduce... Anything else :p ?

andyli commented 9 years ago

Not sure what is relevant, but I've tried:

clemos commented 9 years ago

Yes, it's possibly a Mac error. I suspect there is an empty command line arg somewhere, that Mac OS doesn't like. I'll try to look into it.