Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Run FsAutoComplete Asynchronously #60

Closed
austincrft opened this issue Oct 13, 2016 · 8 comments
Closed

Run FsAutoComplete Asynchronously #60

austincrft opened this issue Oct 13, 2016 · 8 comments

Comments

@austincrft
Copy link
Contributor

The auto-complete suggestions for this plugin are noticeably slower than omnisharp-vim's. I imagine the biggest factor in this is how the vim-omnisharp plugin leverages vim-dispatch to run the OmniSharp asynchronously.

Do you think this is a desirable feature to implement?

I see there has been a bit of vim-dispatch discussion on issue #13.

@nosami
Copy link
Member

nosami commented Oct 14, 2016

omnisharp-vim author here :) OmniSharp only uses vim-dispatch to launch the server and it can also be used for running tests and builds, but it's not used for normal editor operations.

If you use YouCompleteMe with OmniSharp, then completions can be async, but everything else is synchronous.

@kjnilsson
Copy link
Contributor

I think the difference here is that the completion server is faster and there won't be much we can do about it until FCS gets faster itself. I'm hoping we can do some exciting things with the async support in vim 8 though. :)

@nosami
Copy link
Member

nosami commented Oct 14, 2016

@kjnilsson : I haven't tried vim-fsharp in ages. Did you ever implement the parse improvements that we talked about?

@nosami
Copy link
Member

nosami commented Oct 14, 2016

Oh, I remember now. You need background parsing for that to work.

@kjnilsson
Copy link
Contributor

@nosami no I just worked around that for now. Given there is no automatic autocompletion (unless you use a plugin) the speed has never bothered me much as I only complete when I need/want.

@kjnilsson
Copy link
Contributor

naturally all things may be possible with vim 8 but I feel that may effectively me a re-write

@austincrft
Copy link
Contributor Author

I see what you mean. I use neocomplete, which offers suggestions as I type. It makes the entire editing experience slow, but I suppose I could use only manual completions.

@kjnilsson
Copy link
Contributor

Manual completions is all it's been tested for really. I only rarely use them myself. The checker is much more important to me. I will close this for now unless there is something concrete we can address here. (Re-open if so) Making it all async in vim 8 is a whole different project?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants