Explore implementing a semantic search custom request
Open
Nobody has claimed this yet.
enhancement
pinned
- Dominant language
- Ruby
- Stars
- 2k
- Forks
- 281
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 6
Description
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
- Some hotkey trigger a command that opens an input box, the user adds an expression like
var_ref (ident ("my_var")) - Upon submit, a request is sent and the Ruby LSP finds all occurrences matching the expression, returning a list of locations
- The extension then allows the user to cycle through all results
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Ruby LSP server request handling and the extension's command and navigation entry points. Define the request and response shape, then verify that a submitted pattern returns matching locations and that the extension can cycle through them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, vscode
- Domain
- devtools, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100