redhat-developer / redhat-developer/vscode-java
Next line cursor when we have multiple line statement is not acting correctly.
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 2.3k
- Forks
- 546
- Merge moyen
- 20 h 1 min
- PR mergées (30 j)
- 11
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez le problème de placement du curseur dans Visual Studio Code 1.60.0 avec JDK 11 et la Java extension v0.81.0 en utilisant l’instruction log.info multiligne présentée dans l’issue. Vérifiez qu’en appuyant sur Enter après le point-virgule, le curseur se place au début de l’indentation de l’instruction plutôt que sous la ligne de continuation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100