You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autocompletion per document or for the whole workspace #58
The current implementation of symbol provider is workspace-wide, i.e., if you open and edit 10 R script files, then all documents are parsed and all symbols are shared in the completion list when I edit one file.
This can sometimes be annoying if I need to edit a simple script and a very long script that defines a lot of symbols at the same time.
I'm wondering if it makes sense to provide symbols per document, or according to referenced documents (as mentioned in #20).
I guess we will need to check if the files are coming from the same package. Files from the same package should share the symbol completions. We may need to open a workspace for each independent file.
Activity
randy3k commentedon Sep 18, 2019
I guess we will need to check if the files are coming from the same package. Files from the same package should share the symbol completions. We may need to open a workspace for each independent file.
renkun-ken commentedon Dec 3, 2019
Global namespace no longer infinitely grows with #123 merged. So the behavior is good enough for now.