我可以在 Vscode 中创建自定义 launch.json 文件吗

问题描述

是否可以在 vscode 中设置 launch.json 文件,以便它每次都使用我的配置启动?例如:我用 python 编写,每次使用 launch.json 文件创建 .vsocde 目录时,它看起来像这样:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information,visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0","configurations": [

    {
        "name": "Python: Current File","type": "python","request": "launch","program": "${file}","console": "integratedTerminal"
    }
]}

我有一些我想要的配置,我想知道是否有一个设置可以帮助我编辑此模板启动文件,这样我就不必每次创建新文件夹时都对其进行编辑。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)