Shopify / Shopify/ruby-lsp

Explore implementing a semantic search custom request

Open
#338 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.