From 6c37b1e4ba4f9aa89242626586793a2ef5cff609 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Wed, 27 Nov 2024 10:17:02 -0500 Subject: [PATCH] Add note to docs about unsaved files (#2923) --- 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.