From edd61f91cef3743cf992bc38ac95a73bdd13d98d Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Thu, 24 Oct 2024 12:52:23 -0400 Subject: [PATCH 1/2] Clarify symbol search explanation for VS Code --- lib/ruby_lsp/requests/document_symbol.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ruby_lsp/requests/document_symbol.rb b/lib/ruby_lsp/requests/document_symbol.rb index 48a882bee..d8e28666e 100644 --- a/lib/ruby_lsp/requests/document_symbol.rb +++ b/lib/ruby_lsp/requests/document_symbol.rb @@ -10,7 +10,8 @@ module Requests # informs the editor of all the important symbols, such as classes, variables, and methods, defined in a file. With # this information, the editor can populate breadcrumbs, file outline and allow for fuzzy symbol searches. # - # In VS Code, fuzzy symbol search can be accessed by opening the command palette and inserting an `@` symbol. + # In VS Code, symbol search known as 'Go To Symbol in Editor' and can be accessed with Ctrl-Shift-O + # (Cmd-Shift-O on Mac), or by opening the command palette and inserting an `@` symbol. class DocumentSymbol < Request extend T::Sig From 944fb475587bd0bcd8e0896bc1c4625669798b0b Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Thu, 24 Oct 2024 13:50:53 -0400 Subject: [PATCH 2/2] Update lib/ruby_lsp/requests/document_symbol.rb Co-authored-by: Vinicius Stock --- lib/ruby_lsp/requests/document_symbol.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ruby_lsp/requests/document_symbol.rb b/lib/ruby_lsp/requests/document_symbol.rb index d8e28666e..da597df27 100644 --- a/lib/ruby_lsp/requests/document_symbol.rb +++ b/lib/ruby_lsp/requests/document_symbol.rb @@ -10,8 +10,8 @@ module Requests # informs the editor of all the important symbols, such as classes, variables, and methods, defined in a file. With # this information, the editor can populate breadcrumbs, file outline and allow for fuzzy symbol searches. # - # In VS Code, symbol search known as 'Go To Symbol in Editor' and can be accessed with Ctrl-Shift-O - # (Cmd-Shift-O on Mac), or by opening the command palette and inserting an `@` symbol. + # In VS Code, symbol search known as 'Go To Symbol in Editor' and can be accessed with Ctrl/Cmd-Shift-O, + # or by opening the command palette and inserting an `@` symbol. class DocumentSymbol < Request extend T::Sig