Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nimsuggest degradation with time, potential workaround #95

Closed
cooldome opened this issue Sep 5, 2018 · 1 comment
Closed

Nimsuggest degradation with time, potential workaround #95

cooldome opened this issue Sep 5, 2018 · 1 comment
Assignees

Comments

@cooldome
Copy link

cooldome commented Sep 5, 2018

I am using VSCode with nim plugin daily for more than a year now.
I have noticed that nimsuggest works really well when you just started VSCode, but with every code modification and recompilation nimsuggest gets slower and slower and consumes more memory.

After couple of hours of active work nimsuggest becomes useless, you need to kill it and restart and then it works again.

While it is definitely problem of nimsuggest and not of this plugin. I suggest simple workaround on the plugin side to considerably improve user experience: periodically restart nimsuggest after timeout. Let's say restart nimsuggest every 5 minutes. Exact time can be configurable, zero can mean no restart to replicate existing behaviour.

@exelotl
Copy link

exelotl commented Sep 19, 2018

This would be really handy! Function hints just stop working completely for me after a short while, and killing nimsuggest does indeed seem to fix it.

@kosz78 kosz78 self-assigned this Sep 19, 2018
@kosz78 kosz78 closed this as completed in 84de905 Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants