microsoft / microsoft/language-server-protocol

Add a request so that the server can ask the client for user input

Open
#1,641 10 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

Hello,

is it possible to add to the specification a request sent from the server to the client allowing the user to provide a string value for a given prompt ?

It would be very similar to ShowMessageRequest but without the actions items, the client would have to reply with a string value provided by the user.

Metals has an LSP extension that does this called Inputbox and is used for various commands as a follow up to server commands.

I don't know if other servers have a similar extension but I think it make sense to add it.

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 comparing the existing ShowMessageRequest in the LSP 3.17 specification with Metals' Inputbox extension. Determine the protocol shape and compatibility implications for a server-to-client string-input request; done means the proposal has a settled specification and agreed response behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.