Skip to content

Commit

Permalink
Add note to docs about unsaved files
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Nov 27, 2024
1 parent 30f8547 commit e766880
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jekyll/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ Sorry, your browser doesn't support embedded videos. This video demonstrates the

### Completion

{: .note }
There is currently a technical limitation that [code is only indexed when saved](https://github.com/Shopify/ruby-lsp/issues/1908).
This means if you add, for example, a new method to its called, its completion will not be available until you save that file.

The completion feature provides users with completion candidates when the text they type matches certain indexed components. This helps speed up coding by reducing the need to type out full method names or constants.
It also allows developers to discover constants or methods that are available to them.

Expand Down

0 comments on commit e766880

Please sign in to comment.