最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio - Equivalent of Ultisnips (Vim) and Hypersnips (VSCode) extensions? - Stack Overflow

programmeradmin2浏览0评论

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: /

发布评论

评论列表(0)

  1. 暂无评论