We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下面是all.snippets中的一个片段
snippet todo "TODO comment" bw `!p snip.rv=get_comment_format()[0]` ${2:TODO}: $0${3: <${4:`!v strftime('%d-%m-%y')`}${5:, `!v g:snips_author`}>} `!p snip.rv=get_comment_format()[2]` endsnippet
片段中比较重要的部分就是:!p snip.rv=get_comment_format()[0]
!p snip.rv=get_comment_format()[0]
该模板需要被分为两部分解析: get_comment_format,与[0]
get_comment_format
[0]
其中, get_comment_format用于获取当前源代码的注释方式, 需要在补全时方能知道
The text was updated successfully, but these errors were encountered:
No branches or pull requests
下面是all.snippets中的一个片段
片段中比较重要的部分就是:
!p snip.rv=get_comment_format()[0]
该模板需要被分为两部分解析:
get_comment_format
,与[0]
其中,
get_comment_format
用于获取当前源代码的注释方式, 需要在补全时方能知道The text was updated successfully, but these errors were encountered: