clemos / haxe-sublime-bundle

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

typing doesn't work properly #96

Closed fponticelli closed 11 years ago

fponticelli commented 11 years ago

This happened me once before and was the main reason I abandoned the plugin before. What happens is that the syntax highlighters seem to interfere with typing ... special characters like "(" or "." cannot be typed (the button is pressed but nothing is input in the editor) ... for hxml the prefixing "-" doesn't work. If I change the syntax highlighter to JS everything works as expected but of course it defeats the purpose.

frabbit commented 11 years ago

does this problem also occur in the refactoring branch?

fponticelli commented 11 years ago

yes, in both

frabbit commented 11 years ago

in what kind of files does this happen? Not in hx files right?

frabbit commented 11 years ago

do you have an example project? Is any output in the console?

fponticelli commented 11 years ago

Unfortunately it happens in both .hx and .hxml files ... let me check the console.

fponticelli commented 11 years ago

The console doesn't pop-up anymore :( ... it seems like the characters that trigger the autocompletion are not responding and if I copy/paste the trigger is not invoked either. Ctrl+ENTER works just fine. On the status bar there was a message about nme not being present (I am not using it) so I installed ... now the message is gone but the behavior is the same.

fponticelli commented 11 years ago

Most likely it was an issue with a previous setup performed using Package Control (thanks frabbit).

ijump commented 10 years ago

I also had this problem. The problem would go away when I changed View->Syntax, but then would come back when I switched back to Haxe2. When I closed and reopened Sublime, the problem went away. Maybe I put Sublime/Haxe plugin into a different mode. I don't know Sublime enough yet.

clemos commented 10 years ago

Not sure it's the same bug, really... In any case, every time you change Haxe version, you may want to :

The plugin uses Haxe compilation server mode, which usually doesn't play well when server and client instances are not the same versions. Unfortunately, I still didn't find a way to ensure that Haxe server instance(s) is (are) killed when exiting ST...

ijump commented 10 years ago

Maybe it's not same bug. But I was unable to type '('.

Thanks for the advice on changing Haxe versions.

clemos commented 10 years ago

Which version / branch do you use (master or refactoring) ? Does anything appear in ST's Console ?