当前位置:网站首页>Vscode define code block -- define cursor position
Vscode define code block -- define cursor position
2022-06-13 08:35:00 【webQiang99】
Recently, I have been practicing using applets , Match with vscode Write the code , Although some plug-ins are installed , But there are also some small program labels that are not easy to write , So use vscode Code block to define some tags .
file ===> Preferences ===> User segment
1. Define the segment , You want the cursor position to be in the defined label , You need to add... To the position of the cursor you want to define `$0`,
Pictured :
Finally, the position of the cursor will fall to `$0` Location
2. Escape symbol \ and \\ Use
In the desired code body Join in "" Double quotes , Or report a mistake , An escape character is required `\`

In addition, you need to use $ Waiting for special symbols , Need to use \\ escape

The specific use of code blocks is described here , It's very detailed
[VS Code] With me Visual Studio Code Add custom snippet( Code segment ), Detailed configuration attached
边栏推荐
- 关于redis使用分布式锁的封装工具类
- Namespace in TS (2)
- [complete information static game characteristics of Nash equilibrium]
- Three methods to make the scroll bar of div automatically scroll to the bottom
- Shellshock Attack Lab
- array_ Pop error: only variables should be passed by reference
- Custom exception class myexception
- Mobile terminal development I: basic concepts
- JS - print 99 multiplication table of the for cycle case
- 微服务系统架构搭建一:环境搭建
猜你喜欢

Is signed or unsigned selected to create an integer field in MySQL? The answer is as follows:

Which is the stronger fresh food distribution and sorting management system?

2021-04-16

JS - max. of array cases

Use of addeventlistener in JS

redis. exceptions. ConnectionError: Error 111 connecting to 172.16.8.128:6379. Connection refused.
![[game theory complete information static game] Application of Nash equilibrium](/img/22/5fd28415cba6ee67878249b4aabb2e.jpg)
[game theory complete information static game] Application of Nash equilibrium
![[notes] like the solution to the problem of slow query (index + explicitly specifying query fields)](/img/95/2109ddf1a0ff0223109eb9b5a02f00.jpg)
[notes] like the solution to the problem of slow query (index + explicitly specifying query fields)

HCIP_ Static experiment

Svg text stroke effect
随机推荐
What is the difference between getfullyear() and getyear()
MySQL query exercise
CCNP_ Summary (Continued)
Explanation of JS event loop mechanism and asynchronous tasks
How app inventor accesses resource files in assets directory
Do not update the sub component page of parameter object passed from parent to child of nailing applet?
Emotion handling skills
京东商品详情接口,京东详情页接口,宝贝详情页接口,商品属性接口,商品信息查询,商品详细信息接口,h5详情,京东APP详情,京东api接口,京东历史价格数据接口代码对接分享
学习记录4: einops // cudnn.benchamark=true // hook
How does the BD new tab plug-in log in?
Disk management and disk partition operation
Determination of ranking
Redis subscribe connection timeout interrupt problem solution
How to use annotations in word
Sky background map, navigation page lovefanfan top
Is signed or unsigned selected to create an integer field in MySQL? The answer is as follows:
ERP basic data Kingdee
Reverse order and comparison of strings
HCIP_ MGRE comprehensive experiment
Journal d'acquisition du faisceau de fichiers à Elk