当前位置:网站首页>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"
},
]
边栏推荐
- Digital chemical plants realize the coexistence of advantages of high quality, low cost and fast efficiency
- Some understandings about 01 backpacker
- How do test / development programmers get promoted? From nothing, from thin to thick
- 关于01背包个人的一些理解
- Have you got the same "artifact" of cross architecture development praised by various industry leaders?
- JS form get form & get form elements
- Structure actual training camp | after class homework | module 6
- 掌握软件安全测试方法秘笈,安全测试报告信手捏来
- Jetson nano配置pytorch深度学习环境//待完善
- How to solve the problem of adding RTSP device to easycvr cluster version and prompting server ID error?
猜你喜欢
深耕开发者生态,加速AI产业创新发展 英特尔携众多合作伙伴共聚
Lessons and thoughts of the first SQL injection
【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ
Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
Win11截图键无法使用怎么办?Win11截图键无法使用的解决方法
Introduction to the PureMVC series
Oracle -- 视图与序列
英特尔David Tuhy:英特尔傲腾技术成功的原因
The easycvr platform is connected to the RTMP protocol, and the interface call prompts how to solve the error of obtaining video recording?
AI landing new question type RPA + AI =?
随机推荐
食堂用户菜品关系系统(C语言课设)
System framework of PureMVC
Both primary and secondary equipment numbers are 0
On the 110th anniversary of Turing's birth, has the prediction of intelligent machine come true?
EasyCVR视频广场点击播放时,主菜单高亮效果消失问题的修复
JetBrain Pycharm的一系列快捷键
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
Gpt-3 is a peer review online when it has been submitted for its own research
Practice Guide for interface automation testing (middle): what are the interface testing scenarios
In cooperation with the research team of the clinical trial center of the University of Hong Kong and Hong Kong Gangyi hospital, Kexing launched the clinical trial of Omicron specific inactivated vacc
这项15年前的「超前」技术设计,让CPU在AI推理中大放光彩
计数排序基础思路
软件测试之网站测试如何进行?测试小攻略走起!
The request request is encapsulated in uni app, which is easy to understand
How do test / development programmers get promoted? From nothing, from thin to thick
Jetson nano configures pytorch deep learning environment / / to be improved
[digital analog] source code of MATLAB allcycles() function (not available before 2021a)
抖音或将推出独立种草社区平台:会不会成为第二个小红书
Tiktok may launch an independent grass planting community platform: will it become the second little red book
Intel David tuhy: the reason for the success of Intel aoten Technology