redhat-developer / redhat-developer/vscode-java
Next line cursor when we have multiple line statement is not acting correctly.
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Visual Studio Code 1.60.0、JDK 11、Java extension v0.81.0 を使用し、issue に示されている複数行の log.info 文でカーソル配置の問題を再現します。セミコロンの後で Enter を押すと、カーソルが継続行の下ではなく、文のインデントの先頭に配置されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100