redhat-developer / redhat-developer/vscode-xml

Restart with xml.server.preferBinary when too many crashes occur

Open
#652 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

binary enhancement
Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

At https://github.com/redhat-developer/vscode-xml/blob/master/src/client/clientErrorHandler.ts#L54 , we respond with CloseAction.DoNotRestart, but we now have a binary language server so maybe we should try to set the preference for it and just respond with CloseAction.Restart.

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 in src/client/clientErrorHandler.ts at line 54 and inspect how repeated crashes currently return CloseAction.DoNotRestart. Trace how the xml.server.preferBinary preference and binary language server are handled. Done means the crash path enables that preference and returns CloseAction.Restart when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.