redhat-developer / redhat-developer/vscode-java
Next line cursor when we have multiple line statement is not acting correctly.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
At the end of a statement (i.e. ends with ";") the new cursor does not go to the beginning of the line but align with the previous line. I attached a screenshot to demonstrate the issue.
When I "enter" to go the the next line, the new cursor start at the column of ".blocki...". It should be the beginning of the line which is the column "web3...." instead.
Environment
- Operating System: Intel Mac OS
- JDK version: JDK 11
- Visual Studio Code version: 1.60.0
- Java extension version: v0.81.0
Steps To Reproduce
- Type a normal java statement for example:
log.info("my test " +
"statement");
- Press enter to go to the next line.
Current Result
The cursor in the next line at the column of "statement"
Expected Result
It should be the beginning of the line which is column of log.info...
Additional Informations
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem mit der Cursorplatzierung in Visual Studio Code 1.60.0 mit JDK 11 und der Java extension v0.81.0 unter Verwendung der mehrzeiligen log.info-Anweisung, die im Issue gezeigt wird. Überprüfe, dass das Drücken von Enter nach dem Semikolon den Cursor am Anfang der Einrückung der Anweisung statt unter der Fortsetzungszeile platziert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100