flathub / flathub/com.visualstudio.code
Enabling SDK extensions doesn't seem to affect PATH
- 主要语言
- Shell
- 星标
- 217
- 派生
- 82
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 1
描述
I enable all SDK extensions by defining below env var inside Flatseal.
`FLATPAK_ENABLE_SDK_EXT=*`
If I run vscode from CLI, I can see the `Enabling SDK extension` messages `code.sh` prints. However when I open a new Terminal inside Flatpak, I can't see PATH changes the script does.
I've installed Rust SDK extension and I can only use it if I define the following PATH env var inside Flatseal:
```
PATH=/usr/bin:/app/bin:/usr/lib/sdk/rust-stable/bin
```
I expected vscode to work without explicitly defining PATH.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 code.sh 入口点开始,通过在 Flatseal 中启用 FLATPAK_ENABLE_SDK_EXT=*、启动 VS Code 并打开一个新的 Flatpak Terminal 来重现该问题。比较 code.sh 使用的 PATH 与 Terminal 继承的环境。完成标准是:Rust SDK 扩展的 bin 目录无需手动设置 PATH 即可在 PATH 中使用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100