如何在设置中引用 VSCode 可移植子目录的路径(相对于“Code.exe”)?
我很感激你的帮助。
根据 VSCode 变量参考,我期待这样的工作:
${execPath}\data_cadu
尽管如此,${execPath} 不起作用。
如何设置适用于 Windows 的 VSCode 可移植子目录的路径(相对于“Code.exe”)?
下面的屏幕截图进一步详细说明了我尝试在 VSCode 设置中设置的路径。
谢谢你!
I'd appreciate your help.
According to VSCode Variables Reference, I was expecting something like this to work:
${execPath}\data_cadu
Nonetheless, ${execPath} didn't work.
How to set up path to subdirectory within VSCode portable for Windows (relative to 'Code.exe')?
The screenshot below details further the path I'm trying to set within VSCode settings.
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在所描述的上下文中,子目录的路径与无法识别
${execPath}
的扩展相关。我联系了扩展开发人员,他提供了一个澄清的答案:我已经用其他扩展测试了路径“${execPath}..”,这些扩展已经识别了它。
此回复也与关于在 VSCode 可移植子目录中使用 powershell 的另一个线程保持一致,谁报告
${execPath}\..\
工作正常。In the described context, the path to a subdirectory is related to an extension that wasn't recognizing
${execPath}
. I contacted the extension developer, who provided a clarifying answer:I already tested the path `${execPath}..' with other extensions, which have recognized it.
This reply is also aligned to another thread about using powershell within VSCode portable subdirectory, who reported that
${execPath}\..\
worked properly.