VSCode & code snippets
{
"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!"
}
}
{
"CSS3 Template": {
"prefix": "c3t",
"body": [
"@charset "UTf-8";",
"",
"/**",
" * ",
" * @author xgqfrms",
" * @license MIT",
" * @copyright xgqfrms",
" * ",
" * @description $1.css",
" * ",
" */",
"",
":root {",
" --cololr: #000;",
" --default-cololr: #fff;",
" --new-cololr: #0f0;",
"}",
],
"description": "CSS3 Template & code snippets!"
}
}
{
"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>",
" <header>",
" <h1>$2</h1>",
" </header>",
" <main>",
" <section>",
" <a href="https://feiqa.xgqfrms.xyz/index.html">$3</a>",
" </section>",
" <article></article>",
" <main>",
" <footer>",
" <p>copyriht© xgqfrms 2019</p>",
" </footer>",
"</body>",
"</html>"
],
"description": "HTML5 Template & code snippets!"
}
}
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!