REditorSupport / REditorSupport/languageserver

Possibility to add e.g. test/testthat/helper*.R to queried files

Open
#508 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

First of all, thank you for this great package,

I would like to be able to add specific file-patterns, such as ./tests/testthat/helper*.R to the queried files, such that they are listed in LSP references or I can jump to the definitions in those files.

Is that currently possible and if so, how?
If not, can it be implemented?

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 by checking how queried files are selected for LSP references and definition jumps, using the requested pattern ./tests/testthat/helper*.R as the example. Determine where file-pattern configuration belongs and verify that matching helper files are included in both navigation features.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.