REditorSupport / REditorSupport/languageserver

Specify replacement regions to allow fuzzy completion suggestions

Open
#485 2 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

Specify replacement regions for completion suggestions so fuzzy matching autocompletion engines can offer more flexible completion suggestions.

User can type data. and get the suggestion anyNA.data.frame then hit <CR> and the inserted result would be anyNA.data.frame. When the user tries to do this as of now the inserted result is data.anyNA.data.frame.

Reference: https://github.com/ms-jpq/coq_nvim/issues/303#issuecomment-925345045

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

No file or test is named. Start by tracing completion suggestion handling and the replacement range used when accepting a fuzzy match; done means typing data. and accepting anyNA.data.frame inserts only anyNA.data.frame, with coverage for that scenario.

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.