REditorSupport / REditorSupport/languageserver
Control how language server interacts with workspace
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
Hello, I am fairly new to using LSP, but I'm trying to get to the bottom of a bug when using the languageserver and lintr packages within the zed editor: https://github.com/ocsmit/zed-r/issues/6
As I understand it, zed is sending all open files to the languageserver which is causing lintr to be run on the file. I know that .lintr files can be used to list directories (or specific files) that lintr shouldn't be run, but is there a way to specify the converse, i.e. which files lintr should only be run on?
I wasn't really sure if this is something that is done via the languageserver options, the lintr package, or just zed itself.
Contributor guide
No contributing guide indexed for this repository
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 with the linked zed-r issue and inspect how Zed sends open files to the language server. Determine whether file selection belongs in language server options, lintr, or Zed itself; done means establishing and documenting or implementing a clear way to restrict linting to selected files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100