How do I make Visual Studio auto generate braces for a function block?

后端 未结 5 1785
挽巷
挽巷 2021-01-11 15:19

I could swear I\'ve seen people typing function headers and then hitting some key combination to auto-create function braces and insert the cursor between them like so:

5条回答
  •  余生分开走
    2021-01-11 15:42

    It can be achieved by using code snippets, some are already built in (try typing "svm" and hitting TAB-TAB)..

    There's a wealth of info on the net on creating these:

    Jeff did a post himself here

    Have a google! I use them LOTS! :D

提交回复
热议问题