Skip to content

Commit acafc08

Browse files
author
昊天
committed
文档链接
1 parent 1a6abb3 commit acafc08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export const Placeholders = {
1616
} as const;
1717

1818
export const Mappings = {
19-
FileName: '${1:${TM_FILENAME_BASE}}',
19+
// https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables
20+
FileName: '${1:${TM_FILENAME_BASE}}', // $1 第一个光标位置,${TM_FILENAME_BASE} $1位置的placeholder
2021
FirstTab: '${1:first}',
2122
SecondTab: '${2:second}',
2223
ThirdTab: '${3:third}',

0 commit comments

Comments
 (0)