visual-studio-code - 如何从浏览器在 vscode 中打开文件?

标签 visual-studio-code

我希望我的 webapp 能够在 VS 代码中打开给定的文件。例如,当我单击我的 web 应用程序上的一个按钮时,一个文件说,C:\Users\...\myProject\index.html已打开,如果 myProject已经打开它应该导航到 index.html
我知道它是一个特殊的用例,但我想知道它在 vscode 中是否可能。

如果需要使用浏览器或 vscode 扩展,它也完全没问题。

最佳答案

vscode://file/{full path to project}/

感谢 fbg13 提供 this link

关于visual-studio-code - 如何从浏览器在 vscode 中打开文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53140692/

相关文章:

css - 在 VSCode 中运行 SASS

node.js - Visual Studio Code 无法调试 Electron

ruby-on-rails - 带有 VSCODE 的 rdebug-ide 返回 cannot load such file --/app/app/rails 错误

.net - 在 Mac 和 Windows 上打开相同的 .NET Core 解决方案

java - vscode导入android.util.Log被覆盖为sun.rmi.runtime.Log;

node.js - 语法错误 : Unexpected identifier in TypeScript on import Web3 from "web3"

visual-studio-code - 如何设置每个文件类型的选项卡大小?

javascript - 如何在 VS Code 上设置 AngularJS 智能感知

visual-studio-code - 如何使用 TextMate 规则为某些字符着色,以便在 vs 代码中突出显示语法

java - Visual Studio Code - Java - 导入错误等