redhat-developer / redhat-developer/vscode-java
Code Intellisense/autocomplete very slow on big java file.
オープン
まだ誰も着手していません。
content-assist
performance
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I have a java file that over 10000 lines, everytime code Intellisense/autocomplete about this class, it would take a long time (over 10 seconds ) to show the suggestion.
eclipse is fast in the same situation.
I tried to delete most of the code in that file, and code Intellisense/autocomplete is much faster.
Is there any way to speed up the parsing of large files?
Environment
- Operating System:win10 with wsl2
- JDK version:openjdk 1.11.0
- Visual Studio Code version: 1.56.2
- Java extension version:0.79.2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告された Windows 10、WSL2、JDK 11、VS Code 環境で、10,000 行を超える Java ファイルを使って遅延を再現します。まず Java extension でオートコンプリートとパースをプロファイリングします。完了の条件は、報告された 10 秒超の遅延なしに候補が表示されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- devtools, performance
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100