redhat-developer / redhat-developer/vscode-java

Add support for Exclusion Lists for Java Linter

オープン
#2,515 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

compile diagnostics preferences
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

Currently the Java Linter for this extension is scanning all of my project's autogenerated code which is causing 1000+ problems to be reported. From a very thorough investigation both VSCode and this extension do not have any exclusion options for what directories/files are scanned by the Java Linter and reported in the Problems tab.

Environment
  • Operating System: Windows 10 64-bit
  • JDK version: JDK 11
  • Visual Studio Code version: 1.66
  • Java extension version: 1.7.0
Steps To Reproduce
  1. Create a Java Project and have the extension installed.
  2. Write example code that would get scanned by linter with problems.
  3. Review extension settings and there is no option to add exclusion for the linter.
Current Result

Java Linter scans every directory and file for the entire project with no options for exclusions, turning off linter completely or other common options.

Expected Result

Java Linter should have settings in this extension for exclusions, turning off the linter, and using the .gitignore file as a default exclusion list.

Additional Informations

VSCode has said in other issues where this is brought up that this is the responsibly of the extensions to support exclusion lists for the Problems tab. Issue that is closed talking about this is found here: https://github.com/microsoft/vscode/issues/22289

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Issue には実装ファイルもテストも特定されていません。まず Java linter のエントリーポイントと拡張機能の設定を見つけ、次に診断が Problems タブに到達するまでの経路を追跡します。報告された自動生成コードのシナリオについて、除外、無効化、.gitignore に基づくフィルタリングが定義され、検証されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript, vscode
領域
developer-experience, devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。