microsoft / microsoft/vscode-java-pack

Code formatting is working incorrectly if variable or class name consists of Egyptian hieroglyphs

Offen
#538 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@testforstephen arbeitet bereits daran.

Seit 22.3.2021.

ai-triaged bug
Vorherrschende Sprache
TypeScript
Sterne
352
Forks
166
Ø Merge
17 Std. 47 Min.
Gemergte PRs (30 T.)
32

Beschreibung

Environment:

  • VS Code Version: 1.52.1
  • Extension Version: v0.12.1
  • JDK Type & Version: Oracle JDK 15
  • OS Type & Version: Win 10 20H2

Code formatting does not work correctly if class or variable names consist of egyptian hieroglyphs

Step to Reproduce:
Create a new class with the name consisting of egyptian hieroglyphs
Instantiate a new object of that class using "new" keyword
Format source file
"new" and class name will be joined together

Expected Behavior:
keywords preceding variable and class names should have a whitespace after them after formatting.
Expected:
image

Actual Behavior:
Formatting removes whitespace between variable / class name and preceding keyword.
Actual:
image

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

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.