当前位置:网站首页>Vscode automatically adds a semicolon and jumps to the next line
Vscode automatically adds a semicolon and jumps to the next line
2022-07-07 04:44:00 【iesoxj】
add to Macros plug-in unit
Add settings to settings.json
Ctrl+, Open Settings
Input : code action on save . And open settings.json
Insert the following code :
"macros":
{
"end_semicolon": // Add a semicolon at the end Line break
[
"cursorEnd",
{
"command": "type",
"args": {"text": ";\n"}
},
//{"command":"editor.action.insertLineAfter"}, // You can also use the command line feed
],
"end_colon": // Colon at the end Line break
[
"cursorEnd",
{
"command": "type",
"args": {"text": ":\n\t"}
},
],
}
Add user shortcuts keybindings.json
stay C:\Users\Administrator\AppData\Roaming\Code\User Under the new keybindings.json file
[
{
"key":"alt+;",
"command":"macros.end_semicolon"
},
{
"key": "alt+shift+;",
"command": "macros.end_colon"
},
]
边栏推荐
- DFS and BFS concepts and practices +acwing 842 arranged numbers (DFS) +acwing 844 Maze walking (BFS)
- EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
- 【数模】Matlab allcycles()函数的源代码(2021a之前版本没有)
- MySQL forgot how to change the password
- You can't sell the used lithography machine to China! The United States unreasonably pressured the Dutch ASML, and domestic chips were suppressed again
- Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
- C#使用西门子S7 协议读写PLC DB块
- Win11控制面板快捷键 Win11打开控制面板的多种方法
- Data security -- 12 -- Analysis of privacy protection
- EasyCVR视频广场点击播放时,主菜单高亮效果消失问题的修复
猜你喜欢
NTU notes 6422quiz review (1-3 sections)
In depth analysis of kubebuilder
Optimization of channel status offline of other server devices caused by easycvr cluster restart
窗口可不是什么便宜的东西
Digital chemical plant management system based on Virtual Simulation Technology
mpf2_ Linear programming_ CAPM_ sharpe_ Arbitrage Pricin_ Inversion Gauss Jordan_ Statsmodel_ Pulp_ pLU_ Cholesky_ QR_ Jacobi
AI 落地新题型 RPA + AI =?
EasyCVR平台接入RTMP协议,接口调用提示获取录像错误该如何解决?
视频融合云平台EasyCVR视频广场左侧栏列表样式优化
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
随机推荐
ACL2022 | 分解的元学习小样本命名实体识别
True global ventures' newly established $146million follow-up fund was closed, of which the general partner subscribed $62million to invest in Web3 winners in the later stage
System framework of PureMVC
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
AI 落地新题型 RPA + AI =?
Programmers go to work fishing, so play high-end!
How do test / development programmers get promoted? From nothing, from thin to thick
Fix the problem that the highlight effect of the main menu disappears when the easycvr Video Square is clicked and played
DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)
Master the secrets of software security testing methods, and pinch the security test report with your hands
How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
EasyCVR平台接入RTMP协议,接口调用提示获取录像错误该如何解决?
The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
NFT meta universe chain diversified ecosystem development case
Win11控制面板快捷键 Win11打开控制面板的多种方法
ESG全球领导者峰会|英特尔王锐:以科技之力应对全球气候挑战
How to solve the problem of adding RTSP device to easycvr cluster version and prompting server ID error?
主设备号和次设备号均为0
Data security -- 12 -- Analysis of privacy protection
kivy教程之设置窗体大小和背景(教程含源码)