Is this possible with Visual Studio snippets?

后端 未结 1 2013
礼貌的吻别
礼貌的吻别 2021-01-14 21:42

I use a modified form of TODO comment (SteveC_TODO) that allows me to group my own todos together in the task list.

Yesterday I thought it would be nice to modify th

相关标签:
1条回答
  • 2021-01-14 22:29

    I think you have to modify it to something like

    $accessability$ $returntype$ $method$($arguments$) 
    {
       //SteveC_TODO: implement $method$
       $end$throw new $Exception$("The method or operation is not implemented.");
    }
    

    You have to declare the literals accessability, returntype, method, arguments,...

    Have a look here for how to create codesnippets

    0 讨论(0)
提交回复
热议问题