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",
    },
    

}

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章