snowkit / atom-haxe

atom.io haxe plugin, includes completion, error checking and more.
MIT License
43 stars 10 forks source link

Autocomplete-plus doesn't work with atom-haxe; #43

Open tedesmac opened 9 years ago

tedesmac commented 9 years ago

As the title suggests, when the haxe plugin is activated autocomplete-plus doesn't work properly, i.e. it doesn't suggest words while I'm typing, but if I disable haxe, autocomplete-plus works properly.

I have the same problem in linux and mac, even with a fresh installation.

By the way, when I restart the haxe completition server, the debug log shows the following output:

haxe / completition / server / starting `haxe `on `6112`
haxe / completition / server / Error: Couldn't wait on 127.0.0.1:6112

haxe / completition / server / process exit 1
misterpah commented 8 years ago

while we waiting this bug to be fixed, simply hack the variable excludeLowerPriority:true in file /haxe/lib/completion/provider.js and set it as false

jeremyfa commented 8 years ago

The haxe autocomplete provider should indeed not mute the language-haxe provider.

I will try to enable the option for a while to see if it is not causing other issues and push the change if it's fine.

ConfidantCommunications commented 8 years ago

@misterpah where should I find that file on a Mac? I looked in /usr/lib/haxe…

misterpah commented 8 years ago

sorry but i not familiar with Mac. i saw @jeremyfa 's commit to fix this. (https://github.com/snowkit/atom-haxe/commit/1eae70772c36d02f0496d1c00476543d08ba4681)

maybe the plugin will be updated in several days.

adrianmm44 commented 8 years ago

excludeLowerPriority:false worked for me, thanks!