docthis & VS code
docthis & VS code
JSDoc 3
http://usejsdoc.org/about-getting-started.html
https://github.com/documentationjs/documentation
doc this
https://marketplace.visualstudio.com/items?itemName=joelday.docthis
https://github.com/joelday/vscode-docthis
vs code
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/jspm_packages": true,
"**/node_modules": true,
"**/.zip": true,
"**/.sh": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.renderWhitespace": "all",
"editor.fontSize": 16,
"editor.tabSize": 4,
"editor.multiCursorModifier": "alt",
"editor.wordWrap": "on",
"editor.insertSpaces": true,
"files.encoding": "utf8",
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"[typescript]": {
"editor.formatOnSave": false,
"editor.formatOnPaste": false
},
"[javascript]": {
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.renderWhitespace": "all",
"editor.foldingStrategy": "indentation"
},
"[markdown]": {
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"editor.acceptSuggestionOnEnter": "off"
},
"files.associations": {
"*.jsx": "javascriptreact",
"*.js": "javascriptreact"
},
"editor.snippetSuggestions": "top",
"docthis.automaticForBlockComments": true,
"docthis.includeTypes": true,
"docthis.includeMemberOfOnClassMembers": true,
"docthis.includeMemberOfOnInterfaceMembers": true,
"docthis.includeDescriptionTag": true,
"docthis.enableHungarianNotationEvaluation": true,
"docthis.inferTypesFromNames": true,
"docthis.includeAuthorTag": true,
"docthis.authorName": "xgqfrms",
"html.format.extraLiners": "",
"html.format.enable": false,
"html.format.contentUnformatted": "body, div, section, script, pre,code,textarea",
"npm.enableScriptExplorer": true,
"css-auto-prefix.prefixes": {
"transform": [
"webkit",
"moz",
"ms",
"o"
],
"transition": [
"webkit",
"moz",
"ms",
"o"
],
"border-radius": [
"webkit",
"moz",
"ms",
"o"
],
"animation": [
"webkit"
],
"box-reflect": [
"webkit"
],
"filter": [
"webkit"
],
"font-feature-settings": [
"webkit",
"moz"
],
"backface-visibility": [
"webkit"
],
"box-decoration-break": [
"webkit"
],
"hyphens": [
"webkit",
"moz",
"ms"
],
"marquee-direction": [
"webkit"
],
"marquee-play-count": [
"webkit"
],
"marquee-speed": [
"webkit"
],
"marquee-style": [
"webkit"
],
"text-combine-upright": [
"webkit",
"moz",
"ms"
],
"text-decoration-color": [
"moz"
],
"text-decoration-line": [
"moz"
],
"text-decoration-style": [
"moz"
],
"text-orientation": [
"webkit"
],
"writing-mode": [
"webkit",
"ms"
]
}
}
code snippets
vscode & code snippets
https://github.com/xgqfrms/FEIQA/tree/master/000-xyz/templates
c3t
{
"CSS3 Template": {
"prefix": "c3t",
"body": [
"@charset \"UTf-8\";",
"",
"/* $1.css */\n",
":root {",
" --cololr: $2;",
" --default-cololr: $2;",
" --new-cololr: $3;",
"}",
],
"description": "CSS3 Template & code snippets!"
}
}
js6r
{
"JavaScript ES6 React Template": {
"prefix": "js6r",
"body": [
"\"use strict\";",
"",
"/**",
" * ",
" * @author xgqfrms",
" * @license MIT",
" * @copyright xgqfrms",
" * ",
" * @description $2",
" * @augments $3",
" * @example $4",
" * ",
" */",
"",
"const $2Generator = ($5datas = [], debug = false) => {",
" let result = ``;",
" // do something...",
" return $7result;",
"};",
"",
"",
"",
"export default $2;",
"",
"export {",
" $2,",
"};",
"",
],
"description": "JavaScript ES6 React Template & code snippets!"
}
}
h5t
{
"HTML5 Template": {
"prefix": "h5t",
"body": [
"<!DOCTYPE html>",
"<html lang=\"zh-Hans\">",
"<head>",
" <meta charset=\"UTF-8\">",
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
" <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">",
" <meta name=\"author\" content=\"xgqfrms\">",
" <meta name=\"generator\" content=\"VS code\">",
" <title>$1</title>",
"</head>",
"<body>",
" <section>",
" <h1>$2</h1>",
" <a href=\"https://feiqa.xgqfrms.xyz/index.html\">$3</a>",
" </section>",
"</body>",
"</html>"
],
"description": "HTML5 Template & code snippets!"
}
}
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/9221657.html
未经授权禁止转载,违者必究!