PowerShell / PowerShell/PowerShellEditorServices

Handle Misc default Requests - i.e. initialize, cancelRequest

Open
#602 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Language Server Issue-Bug
Dominant language
C#
Stars
767
Forks
266
Avg merge
3d 16h
Merged PRs (30d)
1

Description

We are getting Warnings thrown for not handling misc Requests that, it would seem, VSCode itself sends. We should handle these Requests.

So far we've seen:
cancelRequest
initialize

The cancelRequest one would be good for perf for sure.

Contributor guide

Open the contributing guide

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 locating the request-handling code for the VSCode language-server messages named in the issue: cancelRequest and initialize. Determine how miscellaneous requests currently produce warnings, then verify that both requests are handled without those warnings and that cancellation improves performance as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
backend-api-design, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.