microsoft / microsoft/vscode-java-debug

Adopt argsCanBeInterpretedByShell

Offen
#1,220 3 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@testforstephen arbeitet bereits daran.

Seit 19.9.2022.

ai-triaged backlog enhancement feature request launch
Vorherrschende Sprache
TypeScript
Sterne
591
Forks
429
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
19

Beschreibung

When a debug adapter uses RunInTerminalRequest, vscode is now escaping characters for the shell by default, but we added a flag to RunInTerminalRequest to allow debug adapters to disable this escaping, which some users want. A user pointe this out for java in https://github.com/microsoft/vscode/issues/160999. This is adopted in js-debug and python, and I'd love to see it adopted for java. In js-debug and python, the args property can be a string or an array of strings. If it's just a string, the args are not escaped. I can talk more about what it will take to adopt this if needed.

See
https://code.visualstudio.com/updates/v1_70#_argscanbeinterpretedbyshell-for-runinterminalrequest
and
https://github.com/microsoft/debug-adapter-protocol/issues/146

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.