redhat-developer / redhat-developer/vscode-java
Auto-complete deletes code right of the cursor when key is pressed fast
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
When I press enter or tab to apply the auto-completion it removes all the code from the right of the cursor. For example:
I have the code enemy.attack(enemy.getAttack());
If I want to auto-complete the enemy.getAttack() part it will detele the bracket and the semicolon after the method is inserted. I've tested on 3 different machines with different code and it still happens. But only when I press enter or tab fast after the auto-completion window pops up. If I wait a bit and then hit enter it inserts correctly.
Environment
- Operating System: Windows 10 20H2
- JDK version: 15.0.1
- Visual Studio Code version: 1.51.1
- Java extension version: 0.72.0
Steps To Reproduce
- Auto-complete code with enter or tab FAST after the window pops up
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、利用可能であれば記載されている Java と拡張機能のバージョンを使い、異なる速度で Enter と Tab を押して Visual Studio Code の補完動作を再現します。高速な場合と遅延した場合を比較し、補完の適用経路を追跡します。完了の条件は、補完を適用したときにカーソルの右側にある括弧、セミコロン、すべてのコードが保持されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100