microsoft / microsoft/vscode-java-pack

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

Aperta
#538 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@testforstephen ci sta già lavorando.

Dal 22/3/2021.

ai-triaged bug
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.