当前位置:网站首页>Vs code plug-in korofileheader
Vs code plug-in korofileheader
2022-07-03 17:04:00 【fat ۣۖ tiger ۣۖ】
// Head note
"fileheader.customMade": {
// Author Field is the creator of the file Can be in specialOptions Change special properties in
// Company projects and personal projects can be configured with different user names and mailboxes Search for : gitconfig includeIf such as : https://ayase.moe/2021/03/09/customized-git-config/
// Automatically extract the current git config Medium : user name 、 mailbox
"Author": "git config user.name && git config user.email", // Get the user name and mailbox at the same time
// "Author": "git config user.name", // Get user name only
// "Author": "git config user.email", // Get mailbox only
// "Author": "OBKoro1", // Write dead fixed value Not from git config In order to get
"Date": "Do not edit", // File creation time ( unchanged )
// LastEditors、LastEditTime、FilePath Will be updated automatically If you feel that the time is updated too often, you can use throttleTime( The default is 1 minute ) Configuration change update time .
"LastEditors": "git config user.name && git config user.email", // Last editor of the document And Author The fields are consistent
// Because editing the file will change the last editing time , Merging in multi person collaboration will lead to merge
// You can change the time granularity to week 、 Or the month , In this way, conflicts will be reduced a lot . Search change time format : dateFormat
"LastEditTime": "Do not edit", // Last edit time of the file
// Output relative path , similar : / Folder name /src/index.js
"FilePath": "Do not edit", // The relative path of the file in the project Auto update
// The plug-in will automatically move the cursor to Description In the options Easy input Description Fields can be in specialOptions change
"Description": "", // Introduce the function of the file 、 Input parameters of the file 、 The ginseng .
// custom_string_obkoro1~custom_string_obkoro100 Can output custom information
// You can set multiple pieces of custom information Set up a personal signature 、 leave QQ、 Wechat contact information 、 Enter a blank line, etc
"custom_string_obkoro1": "",
// Copyright notice All rights reserved in this document Automatically replace year obtain git Configured user name and mailbox
// Copyright notice obtained git To configure , And Author The fields are consistent : ${git_name} ${git_email} ${git_name_email}
"custom_string_obkoro1_copyright": "Copyright (c) ${now_year} by ${git_name_email}, All Rights Reserved. "
// "custom_string_obkoro1_copyright": "Copyright (c) ${now_year} by Write the dead company name / user name , All Rights Reserved. "
},
// Function Comments
"fileheader.cursorMode": {
"description": "", // After the function annotation is generated , Move the cursor here
"param": "", // param Enable automatic extraction of function parameters You need to place the cursor on the function line or the blank line above the function
"return": "",
},
// Plug in configuration items
"fileheader.configObj": {
"autoAdd": true, // The detection file has no header comments , Automatically add file header comments
"autoAddLine": 100, // How many lines does the file exceed No more automatic header comments
"autoAlready": true, // Only add the languages supported by the plug-in and the user through `language` Option custom comments
"supportAutoLanguage": [], // After setting , Only files in the array can be added automatically
// Automatically add header comment blacklist
"prohibitAutoAdd": [
"json"
],
"prohibitItemAutoAdd": [ " The full name of the project. It is forbidden to automatically add header comments to the project , Use the shortcut keys to add your own " ],
"folderBlacklist": [ "node_modules" ], // Automatic header comments are not allowed for folder or file names
"wideSame": false, // Header annotation equal width setting
"wideNum": 13, // Header comment field length The default is 13
"functionWideNum": 0, // Function annotation equal width setting Set to 0 It is closed
// Insert... In the first few lines of the header comment
"headInsertLine": {
"php": 2 // php file Insert into the second line
},
"beforeAnnotation": {
}, // Insert before the header comment
"afterAnnotation": {
}, // Insert content after header comment
"specialOptions": {
}, // Special field customization such as : Author、LastEditTime、LastEditors、FilePath、Description、Date etc.
"switch": {
"newlineAddAnnotation": true // By default, line breaks are encountered (\r\n \n \r) Add annotation symbols
},
"moveCursor": true, // Automatically move the cursor to Description Place of action
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"atSymbol": ["@", "@"], // Change... In custom comments for all files @ Symbol
"atSymbolObj": {
}, // Change individual language / Of documents @
"colon": [": ", ": "], // Change the comment colon of all files
"colonObj": {
}, // Change individual language / The colon of the file
"filePathColon": " Path separator replacement ", // The default value is : mac: / window yes : \
"showErrorMessage": false, // Whether to display plug-in error notification be used for debugger
"writeLog": false, // Error log generation
"CheckFileChange": false, // When a single file is saved diff Check
"createHeader": false, // Automatically add header comments to new files
"useWorker": false, // Whether to use workspace settings
"designAddHead": false, // Add a header note when adding an annotation pattern
"headDesignName": "random", // Which pattern does the pattern annotation use
"headDesign": false, // Whether to replace head notes with pattern notes
// Whether the custom configuration generates comments within the function Different file types and language types
"cursorModeInternalAll": {
}, // The default is false Generate function comments outside the function
"openFunctionParamsCheck": true, // Turn on and off automatic extraction and addition of function parameters
"functionParamsShape": ["{", "}"], // Function parameter shape customization
// "functionParamsShape": "no type" Function arguments do not require type
"functionBlankSpaceAll": {
}, // Function comment space indented The default is empty object The default value is 0 Don't indent
"functionTypeSymbol": "*", // The default value when the parameter has no type
"typeParamOrder": "type param", // Parameter type and The position of the parameter is customized
"NoMatchParams": "no show param", // No function parameters match , Whether or not shown @param And @return These two lines Default not to show param
"functionParamAddStr": "", // stay type param Add string after It could be a colon , It is convenient to input parameter description
// Custom language comments , Custom cancel head、end part
// Do not set custom configuration language Invalid By default head、end
"customHasHeadEnd": {
}, // "cancel head and function" | "cancel head" | "cancel function"
"throttleTime": 60000, // For the same file I need to 1 Minutes to modify the file again and save it before updating the comments
// Custom language annotation symbols , Override the annotation format of the plug-in
"language": {
// js Suffix file
"js": {
"head": "/$$",
"middle": " $ @",
"end": " $/",
// Function custom annotation symbol : If you have this configuration Will be used by default
"functionSymbol": {
"head": "/******* ", // Unified increase of several * Number
"middle": " * @",
"end": " */"
},
"functionParams": "typescript" // Function annotations use ts Analytical language
},
// Match multiple file suffixes at one time Don't repeat the settings
"h/hpp/cpp": {
"head": "/*** ", // Unified increase of several * Number
"middle": " * @",
"end": " */"
},
// For documents with special requirements, such as :test.blade.php
"blade.php":{
"head": "<!--",
"middle": " * @",
"end": "-->",
}
},
// Default comment Use when no annotation symbol is matched .
"annotationStr": {
"head": "/*",
"middle": " * @",
"end": " */",
"use": false
},
}
边栏推荐
- C语言字符串练习
- 定义一个结构体Fraction,表示分数,用于表示 2/3, 5/6这样的分数
- utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library
- What material is 12cr1movr? Chemical property analysis of pressure vessel steel plate 12cr1movr
- CC2530 common registers
- 手把手带你入门 API 开发
- Network security web penetration technology
- [Jianzhi offer] 58 - ii Rotate string left
- [combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
- Javescript variable declaration -- VaR, let, const
猜你喜欢

Idea configuration plug-in

Redis:关于列表List类型数据的操作命令

CC2530 common registers for watchdog

What material is sa537cl1? Sa537cl1 corresponds to the national standard material

Prepare for the golden three silver four, 100+ software test interview questions (function / interface / Automation) interview questions. win victory the moment one raises one 's standard

NLP四范式:范式一:非神经网络时代的完全监督学习(特征工程);范式二:基于神经网络的完全监督学习(架构工程);范式三:预训练,精调范式(目标工程);范式四:预训练,提示,预测范式(Prompt工程)

Network security web penetration technology

Meituan side: why does thread crash not cause JVM crash

CC2530 common registers for ADC single channel conversion

One brush 149 force deduction hot question-10 regular expression matching (H)
随机推荐
The most complete postman interface test tutorial in the whole network, API interface test
Meituan side: why does thread crash not cause JVM crash
Fast Ethernet and Gigabit Ethernet: what's the difference?
PHP converts a one-dimensional array into a two-dimensional array
One brush 142 monotone stack next larger element II (m)
[Jianzhi offer] 64 Find 1+2+... +n
智慧之道(知行合一)
Summary of three methods of PHP looping through arrays list (), each (), and while
29:第三章:开发通行证服务:12:开发【获得用户账户信息,接口】;(使用VO类包装查到的数据,以符合接口对返回数据的要求)(在多处都会用到的逻辑,在Controller中可以把其抽成一个共用方法)
What is the material of sa302grc? American standard container plate sa302grc chemical composition
Javescript variable declaration -- VaR, let, const
Depth first search of graph
大消费企业怎样做数字化转型?
LeetCode 1656. Design ordered flow
[Jianzhi offer] 57 - ii Continuous positive sequence with sum s
[combinatorics] recursive equation (characteristic equation and characteristic root | example of characteristic equation | root formula of monadic quadratic equation)
NLP four paradigms: paradigm 1: fully supervised learning in the era of non neural networks (Feature Engineering); Paradigm 2: fully supervised learning based on neural network (Architecture Engineeri
What material is sa537cl2? Analysis of mechanical properties of American standard container plate
Résolution de l'instance d'assemblage - - affichage à l'écran en mode réel
C语言字符串反转