Skip to content

Commit

Permalink
Add note to docs about unsaved files (#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 authored Nov 27, 2024
1 parent ad78275 commit 6c37b1e
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 6c37b1e

Please sign in to comment.