flathub / flathub/com.visualstudio.code

Enabling SDK extensions doesn't seem to affect PATH

Open
#279 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
217
Forks
82
Avg merge
1d 7h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.