clemos / haxe-sublime-bundle

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

Typing Lag #224

Closed gidongkwon closed 9 years ago

gidongkwon commented 9 years ago

Hi, I'm using ST3 3083 on Windows 8.1. There is a noticeable lag(about 2~3 seconds) when type character which involved with code hint. I thought this was related with haxe completion server but in flashdevelop It works smoothly.

I am bit confused because It seems there is no one who got problem like me.

Installed Packages -Haxe -Numix Theme

curly-brace commented 9 years ago

i also have such thing. it seems to me that project is recompiled at this time, because my hdd works. but after this lag seems to go away.

flashdevelop uses some sort of mixed completion, as i understand, if it can suggest from sources it does, if can't it uses compiler. or something like this)

gidongkwon commented 9 years ago

I didn't know much about completion mechanism of flashdevelop, thanks. BTW, I got a little bit different problem with you. Lag occurs all the time when I code so It drives me mad :(

ghost commented 9 years ago

Yes, I'm planning to optimize the completion. Meanwhile you can disable auto completion:

"auto_complete": false

To show the completion manually press ctrl+space or alt+/.

gidongkwon commented 9 years ago

Thanks!

curly-brace commented 9 years ago

by the way. i got now the cause of the issue, that i'm suffering (at least i think i got). i'm storing sources on dropbox and sublime constantly asks me if i want to reload file, that i'm editing. now i understood that this happens right after autocomplete is shown. as i understand, project is recompiled and somehow file appears to be changed. don't know now if it will also change without the dropbox, but it surely changes after autocompletion.

what may cause this?

(will research more later)

shinmai commented 9 years ago

Meanwhile you can disable auto completion:

How can manual completions be used to complete method parameters? That's the most useful function for me, and I can't seem to get that working without enabling autocompletion.

edit: nevermind, just updated to 3083 which seems to break autocompletion completely. That coupled with the rather wonky support for openfl/lime means maybe I'll just use FlashDevelop for now...

ghost commented 9 years ago

I hope this will help.

ghost commented 9 years ago

Now the lag appears during the file switching. I'll try to fix that.