flathub / flathub/com.visualstudio.code

Flatpak-warning running an unofficial Flatpak version of Visual Studio Code

未关闭
#509 3 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
217
派生
82
平均合并
1 天 7 小时
30 天内合并 PR
1

描述

am getting this txt file warning on opening the flatpak from ubuntu app store after installing it through flatpak cli

-------------------------------------------------------------------------------------
https://www.flathub.org

------------------------------------------------------------------------------------
| Warning: You are running an unofficial Flatpak version of Visual Studio Code !!! |
------------------------------------------------------------------------------------

Please open issues under: https://github.com/flathub/com.visualstudio.code/issues

This version is running inside a container and is therefore not able
to access SDKs on your host system!

To execute commands on the host system, run inside the sandbox:

$ host-spawn

To make the Integrated Terminal automatically use the host system's shell,
you can add this to the settings:

{
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "host-spawn",
"args": ["bash"]
}
}
}

This Flatpak provides a standard development environment (gcc, python, etc).
To see what's available:

$ flatpak run --command=sh com.visualstudio.code
$ ls /usr/bin (shared runtime)
$ ls /app/bin (bundled with this flatpak)

To get support for additional languages or tools within the Flatpak, you have to install SDK extensions, e.g.

$ flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
$ flatpak install flathub org.freedesktop.Sdk.Extension.golang
$ FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run com.visualstudio.code

Similarly for shells and other tools:

$ flatpak install com.visualstudio.code.tool.fish
$ flatpak install com.visualstudio.code.tool.podman

You can use

$ flatpak search

to find others.

贡献指南

这个仓库没有索引到贡献指南

调研方向

报告没有提到任何仓库文件、测试或具体变更。先复现所描述的 Flatpak 安装警告,然后明确预期行为并确定项目中相关的入口点;要完成这项工作,需要一项已达成一致的变更和一次回归检查。

由索引模型根据 Issue 内容生成。

评估

技术栈
linux, shell
领域
desktop, devtools
Issue 类型
缺陷
难度
3/5
预计耗时
半天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。