From e766880bf4240f01cd167d8b414c02e44e870f64 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:48:32 -0500 Subject: [PATCH] Add note to docs about unsaved files --- jekyll/index.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jekyll/index.markdown b/jekyll/index.markdown index d3e6ab7bd..b91cfdc37 100644 --- a/jekyll/index.markdown +++ b/jekyll/index.markdown @@ -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.