redhat-developer / redhat-developer/lsp4ij

[0.20.1 version] How to configure workspace folder in Rider for a custom LSP server?

Open
#1,608 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
344
Forks
113
Avg merge
5h 22m
Merged PRs (30d)
15

Description

Hello

I'm trying to properly configure workspace folders sent to my custom LSP server and I'm not sure how to do that properly. I read the manual, played with Configuration (optional) in Workspace Folders tab but to no success.

I'm looking at logs and notice that whatever I change the extension sends lots of irrelevant "workspaceFolders" entries during "initialize" request :(

In VSCode and Sublime LSP clients it's enough just to "open" the directory and it becomes a workspace folder. Can something similar be done in Rider?

Thanks in advance

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 reproducing the workspace-folder configuration from the Workspace Folders tab in Rider and inspect the logs for the initialize request. Trace how the extension constructs the workspaceFolders entries; done means the intended configuration is understood and the irrelevant entries are either corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.