笔记本中vscode设置

佚名 / 2024-10-14 / 原文

笔记本中的vscode设置

修改界面的隐藏和显示时,会提示

image

Unable to write into user settings because the file has unsaved changes. Please save the user settings file first and then try again.

就把第二段删除了

问题暂时解决


{
    "terminal.integrated.commandsToSkipShell": 
    [
        "matlab.interrupt"
    ],
    "security.workspace.trust.untrustedFiles": "open",
    "python.defaultInterpreterPath": "d:\\ProgramData\\anaconda3\\python.exe",
    "[python]": {  
        "diffEditor.ignoreTrimWhitespace": false,
        "editor.formatOnType": true,
        "editor.wordBasedSuggestions": "off"
    }


}



{
    "version": "2.0.0",
    "tasks": 
    [  
        {  
            "label": "build",  
            "type": "shell",  
            "command": "g++",  
            "args": [  
                "-g",  
                "${file}",  
                "-o",  
                "${fileDirname}/${fileBasenameNoExtension}"  
            ],  
            "group": {  
                "kind": "build",  
                "isDefault": true  
            },  
            "problemMatcher": [  
                "$gcc"  
            ]  
        }  
    ]  
}