Shopify / ruby-lsp

An opinionated language server for Ruby
https://shopify.github.io/ruby-lsp/
MIT License
1.55k stars 146 forks source link

Explore implementing a semantic search custom request #338

Open vinistock opened 1 year ago

vinistock commented 1 year ago

Explore adding the possibility for the user to insert a pattern expression, which then sends a request to the server, the server finds all matches and allows the user to cycle through them.

Think something like

Morriar commented 1 year ago

Ruby LSP finds all occurrences matching the expression

Between this and #61 we may want to investigate a way to index the code in the project to provide fast lookups.

kddnewton commented 1 year ago

Just want to put this here in case y'all didn't see it: https://github.com/ruby-syntax-tree/syntax_tree#search.