redhat-developer / redhat-developer/vscode-java

auto generated prefs

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

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

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

説明

[provide a description of the issue]
Every time command Java: Update Project is called few prefs are added by default to

  • org.eclipse.jdt.apt.core.prefs:
    org.eclipse.jdt.apt.genTestSrcDir=target/generated-test-sources/test-annotations
  • org.eclipse.jdt.core.prefs
    org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
    org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
    org.eclipse.jdt.core.compiler.release=disable

Is it possible to disable this? In current repository that I am working on I can't modify those files, so I would like to keep them without modification or at least change path where I can specifically update and gitignore them.
I tried copping them to .vscode/ folder with no luck. New option java.settings.url to point custom pref settings with those options also didn’t work.

Any adviced what I could try or what I did wrong?

Environment
  • Operating System:
  • JDK version: JDK 11.0.1 or OpenJDK-15.0.2 (same behavior)
  • Visual Studio Code version: 1.55.2
  • Java extension version: 0.77.0
Steps To Reproduce
  1. Files org.eclipse.jdt.apt.core.prefs and org.eclipse.jdt.core.prefs have no mentioned options
  2. Run command Java: Update Project
  3. Files org.eclipse.jdt.apt.core.prefs and org.eclipse.jdt.core.prefs were automatically updated

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

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

はじめの一歩

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

調査の方向性

Java: Update Project コマンドと、それによる org.eclipse.jdt.apt.core.prefs および org.eclipse.jdt.core.prefs の更新方法を確認します。記載されている JDK、VS Code、拡張機能のバージョンで再現し、リポジトリのファイルを変更せずにこれらの設定変更を無効化またはリダイレクトできるかどうかを判断します。不要な変更が発生しなくなるか、サポートされている設定が文書化されれば完了です。

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

評価

技術スタック
java, vscode
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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