REditorSupport / REditorSupport/languageserver

No documentSymbol response for Rmarkdown file with helix editor

Open
#630 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

I'm trying to use languageserver to edit rmarkdown documents with the helix editor. The server times out with no response after submitting a document symbol request:

2023-08-11T08:53:32.778 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/walki/Desktop/hx-test/test.rmd"}},"id":1}

I opened an issue with helix, which got converted to a discussion

Issue #381 talks about debugging a non-response for documentSymbol requests, but I'm not sure how to go about this with helix.

Any idea why the server is not responding?

Contributor guide

No contributing guide indexed for this repository

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 the request captured in this issue for test.rmd, then read issue #381 and the linked Helix discussion to compare the documentSymbol behavior and available debugging context. Done means identifying why the server does not respond for this R Markdown request and documenting or fixing the behavior so Helix receives a response.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.