python自动注释:korofileheader插件自定义配置

 

{
    "python.pythonPath": "E:\\Program Files (x86)\\Anaconda3\\pythonw.exe",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "editor.fontSize": 18,
    "python.jediEnabled": false,
    "terminal.integrated.inheritEnv": false,
    "python.dataScience.sendSelectionToInteractiveWindow": true,
    "workbench.iconTheme": "vscode-icons",
    "[python]": {
        "editor.defaultFormatter": "ms-python.python"
    },
    "editor.renderIndentGuides": false,
    "workbench.quickOpen.preserveInput": true,
    "sync.gist": "e227e3d2dc970f03db2d3799fd9ddf2f",
    "code-runner.clearPreviousOutput": true,
    "code-runner.runInTerminal": true,
    "vsicons.dontShowNewVersionMessage": true,
    "explorer.confirmDelete": false,
    "files.autoGuessEncoding": true,


    //配置新建文件注释和方法注释
    "fileheader.configObj": {
        "autoAdd": true,//自动生成注释,老是忘记的同学可以设置
            
        "language": {
            "python": {
                "head": "\"\"\"\r\n    \t*************************** \r    \t--------description-------- ",
                "middle": " \t ",
                "end": "\r\n    \t***************************\r    \"\"\""
            }
        }
     
    },
    
    "fileheader.cursorMode": {
        "param ": "\r\n",
        "return": "\r\n",
        "Example Input": "\r\n",
    },
    

}

 

你可能感兴趣的:(linux学习,python,python自动注释)