redhat-developer / redhat-developer/vscode-java

Next line cursor when we have multiple line statement is not acting correctly.

Abierto
#2,098 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

content-assist ux
Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
546
Merge medio
20 h 1 min
PR fusionados (30 d)
11

Descripción

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.

Screenshot 2021-09-05 at 19 20 03

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
  1. Type a normal java statement for example:
log.info("my test " +
        "statement");
  1. 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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Reproduce el problema de colocación del cursor en Visual Studio Code 1.60.0 con JDK 11 y la Java extension v0.81.0 usando la instrucción log.info multilínea mostrada en el issue. Verifica que al pulsar Enter después del punto y coma el cursor se coloque al principio de la indentación de la instrucción en lugar de debajo de la línea de continuación.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.