`quarto.path` is not used directly when it points to a launcher/trampoline executable
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- typescript, vscode
调研方向
Start by tracing how the configured quarto.path is handled for command execution and integrated-terminal PATH changes, using the Pixi launcher reproduction as the failing case. Done means commands use /home/***/.pixi/bin/quarto without bypassing its runtime setup, or an option prevents the automatic terminal PATH modification.
由索引模型根据 Issue 内容生成。
描述
Bug description
When quarto.path is explicitly configured, I expect the VS Code extension to invoke that executable, or at least preserve it as the effective Quarto command used by the extension and the integrated terminal.
However, the extension appears to use the configured executable only for discovery. It then resolves the underlying Quarto installation path, likely from quarto --paths, and prepends the resolved internal bin directory to the integrated terminal PATH.
This breaks installations where the configured Quarto executable is a launcher or trampoline, such as Quarto installed through pixi. In this setup, the launcher is not just a path alias: it is responsible for setting up the runtime environment required by Quarto. The internal Quarto script inside the Pixi environment is not intended to be executed directly.
Therefore, the issue is that quarto.path is not treated as the authoritative executable path. Instead, the extension rewrites the terminal environment in a way that bypasses the configured launcher.
Configuration
{
"quarto.usePipQuarto": false,
"quarto.path": "/home/***/.pixi/bin/quarto"
}
Steps to reproduce
- Install Quarto through Pixi, for example with:
pixi global install quarto
- Configure the VS Code extension to use the Pixi launcher:
{
"quarto.usePipQuarto": false,
"quarto.path": "/home/***/.pixi/bin/quarto"
}
-
Open VS Code / VS Code Remote with the Quarto extension enabled.
-
Check the integrated terminal
PATH.
The extension prepends:
/home/***/.pixi/envs/quarto/bin
- Run:
which quarto
quarto check
Actual behavior
quarto resolves to:
/home/***/.pixi/envs/quarto/bin/quarto
Running quarto check then fails with:
/home/***/.pixi/envs/quarto/bin/quarto: line 208:
/home/***/.pixi/envs/quarto/bin/tools/x86_64/deno: No such file or directory
This happens because the command bypasses the Pixi launcher at:
/home/***/.pixi/bin/quarto
Expected behavior
When quarto.path is configured, the extension should treat that path as the authoritative Quarto executable.
In this case, commands should use:
/home/***/.pixi/bin/quarto
rather than resolving and prepending the internal Quarto installation directory.
At minimum, the extension should provide an option to disable automatic modification of the integrated terminal PATH.
- 主要语言
- TypeScript
- 星标
- 652
- 派生
- 64
- 平均合并
- 8 小时 45 分钟
- 30 天内合并 PR
- 36
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
quarto-dev/quarto 的其他 Issue
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)可能已有人在做 @Bondrewd-K 于 5 天前认领。 未关闭bug vscode
难度 2/5 1-3 小时 新手友好度 78/100
quarto-dev/quarto#1194 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
quarto-dev/quarto#1139 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 90/100
quarto-dev/quarto#1138 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
quarto-dev/quarto#1137 ·
维护者通常 1 天内回复
-
Add dependabot?可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
quarto-dev/quarto#1135 ·
维护者通常 1 天内回复
查看 quarto-dev/quarto 的全部 Issue
相似的 Issue
-
area: aria/combobox gemini-triaged
难度 2/5 1-3 小时 新手友好度 78/100
angular/components#33973 ·
维护者通常 1 天内回复
-
bug priority: P2
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[bug] status, list and push crash with an uncaught NotInitializedError stack trace when teamai is not initialized可能已有人在做 @jay23606 今天认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 84/100
Tencent/teamai-cli#1227 ·
维护者通常 1 天内回复
-
[Tool]: Yap未关闭
难度 1/5 1-3 小时 新手友好度 62/100
withkarann/aifoxx#417 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
维护者通常 1 天内回复