admin管理员组

文章数量:1395897

While I use Visual Studio IDE snippets, one of the features of Ultisnips and Hypersnips which I miss is the following:

a snippet can be designated with flag iA and that means that the snippet will expand inword automatically (without <tab> key for snippet acceptance).

So, the following snippet:

snippet US "insert underscore" iA
_
endsnippet

will insert _ whenever it encounters US even if it is within a word and not just at the beginning of a line.

So, NameUSOfUSVariable when typed will automatically when typed translate into Name_Of_Variable

Is something like this possible in Visual Studio IDE natively or via some extension?

XPost: /

本文标签: visual studioEquivalent of Ultisnips (Vim) and Hypersnips (VSCode) extensionsStack Overflow