redhat-developer / redhat-developer/vscode-java
Customize tooling_jre with env var
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I have a use case where I need tooling_jre to be customizable: https://github.com/redhat-developer/vscode-java/blob/master/src/requirements.ts#L36.
I can't use the embedded ones because I need to use a custom one that has the right certs to work with an internal service. I also can't use java.jdt.ls.java.home because the location of the JRE will depend on which machine it's running on. Also, settings.json doesn't accept env variables.
Is it possible to get tooling_jre from an env var?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず src/requirements.ts の36行目付近を読み、tooling_jre がどのように選択され、現在の embedded-JRE の動作がどこで定義されているかを理解します。環境変数とフォールバック動作を特定し、既存の設定パスを壊すことなく tooling_jre をマシンごとにカスタマイズできることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100