redhat-developer / redhat-developer/vscode-java

Flag machine specific configurations like paths as machine scoped

未關閉
#950 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

preferences
主要語言
TypeScript
星號
2.3k
分支
547
平均合併
20 小時 1 分鐘
30 天內合併 PR
11

描述

I am developer from VS Code and we introduced Machine Scope for configurations in 1.34 which will help in remote set ups.

I would like to encourage extension authors to adopt to machine scope if you have any settings that you think they are scoped to machine like java.home

For example, If you have settings that allow users to customize an executable path that exists on the machine in which extension is running, then you can tag such settings as machine scoped. This will let VS Code to read this setting from the location where the extension is running.

  • When extension is running locally, VS Code reads this setting only from User settings on the same machine.
  • When extension is running remotely, VS Code reads this setting only from Remote settings on the remote machine.

If the extension is running remotely in a remote set up, then this will help the extension not to read paths configured in local machine user settings and bail as the paths not exist in the remote machine.

Note that machine scoped settings are overridable only in user or remote settings.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

檢查擴充功能的設定宣告,並找出包含機器特定的可執行檔路徑或檔案系統路徑的設定,例如 java.home。將其目前的 scope 中繼資料與 VS Code 的 machine-scope 行為進行比較,然後確認本機和遠端設定是否會在擴充功能執行所在的機器上解析路徑。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, typescript, vscode
領域
developer-experience, devtools
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。