REditorSupport / REditorSupport/languageserver

Support for path completions

Open
#625 0 comments 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

Unless I'm mistaken, at the moment, langagueserver does not support (relative) path completion inside charcter strings. There may exists other completion provider that have this options for some some editors but they are not as context aware as an lsp server and may not support relative path (for instance path Intellisense for vs code cannot suggest relative path from the root of the project).

I would like to suggest adding the following feature:

  • Suggest a path completion when inside character string either when it is empty or when the part berfore the cursor matches the start of an existing path

I'm going to work on it for myself. So if you think this is a relevant feature, I will submit a PR.

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

The issue names no files or tests. Start by locating the completion-provider entry point for character strings and determine how relative paths are resolved; done means suggesting matching paths for empty strings and prefixes before the cursor.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.