如何打开launch.json并滚动到特定配置

时间:2019-07-05 15:36:45

标签: visual-studio-code vscode-extensions

我正在构建扩展。当用户单击按钮时,我想打开launch.json(调试配置)文件并滚动到特定配置。

我可以使用vscode.commands.executeCommand("workbench.action.debug.configure")打开launch.json文件。但是,我需要滚动到特定的配置。

我希望它以VS代码“ Open launch.json”按钮的工作方式工作。 enter image description here

0 个答案:

没有答案