redhat-developer / redhat-developer/vscode-quarkus

Improve lsp-commands.ts

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
79
Forks
31
Avg merge
12h 51m
Merged PRs (30d)
6

Description

https://github.com/redhat-developer/vscode-quarkus/blob/master/src/lsp-commands.ts provide generic functions to register the idea with standard LSP commands on client side.

Before suggesting this idea for LSP specification. We need to improve this file:

  • document in detail what is the goal of each function like registerConfigurationUpdateCommand
  • implement and document registerOpenURICommand, registerImplementationsCommand, registerReferencesCommand
  • for registerConfigurationUpdateCommand, improve it (today only array value is managed) and write tests

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 with src/lsp-commands.ts and read the existing documentation and implementations, especially registerConfigurationUpdateCommand, registerOpenURICommand, registerImplementationsCommand, and registerReferencesCommand. Confirm the intended behavior for configuration values beyond arrays, add tests for registerConfigurationUpdateCommand, and ensure the listed functions are documented and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.