microsoft / microsoft/language-server-protocol

Specify input text in completion items

Open
#648 29 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification completion feature-request
Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

image

As you see, client thinks input text is co, but server knows the really input text is core.co.
So I hope the server can specify input text in the response of Completion Request.

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 Completion Request and CompletionItem response definitions in the language server protocol specification, using the screenshot and issue description as the behavioral context. Determine how the server can specify the actual input text, such as core.co, when the client currently sees co; done means the response can convey that distinction clearly.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.