Skip to content
Discussion options

You must be logged in to vote

You never have to index beforehand, but just the following can happen:

  1. If find_symbol is called on a specific file, only that file will be indexed, the response is fast
  2. if find_symbol is called on the whole project, all files will be indexed. Now if the project is large-ish, and the language server is not very performant (depends on the language server used), this may take very long and degrade the user experience. It only happens on the first call though, since then the symbols cache is built and all subsequent calls will be much faster.

So in order to have a smooth user experience, we recommend to build the cache explicitly for larger projects, so that a first call to find_symbol does…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jamesobrooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants