redhat-developer / redhat-developer/vscode-java
Sharing .settings/org.eclipse.buildship.core.prefs between vscode and Eclipse
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I am working on a project that is developed by both vscode and Eclipse (different developers). .settings/org.eclipse.buildship.core.prefs is checked into git from Eclipse, and then when the project is opened from vscode, this file is modified (in an unpleasant way - adding a machine-specific java.home and init-script, and changing other settings). This can't be checked in, because it then breaks when opening elsewhere, where the paths are different. It also permutes the .classpath file and other settings files.
java.import.generatesMetadataFilesAtProjectRoot = false is not useful, because the plugin will use the project files if they are present.
The only workaround I can think if is to just remove these from git (ie add to .gitignore). What I would really like is the ability to locate these files in a different location, for Visual Studio (or in a machine configurable way). Then we could keep Eclipse and vscode completely separate.
Is there any other workaround, or possibility of an enhancement to change the file locations?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、拡張機能が .settings/org.eclipse.buildship.core.prefs、.classpath、その他のプロジェクト設定(java.import.generatesMetadataFilesAtProjectRoot 設定を含む)をどのように処理するかを調べます。プロジェクトメタデータの場所を構成できるかどうかを確認し、VS Code と Eclipse 全体で影響を受ける動作を特定します。2 つのツールが、マシン固有のパスをコミットせずにプロジェクトファイルを分離して保持できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100