Captilizing a name in a ReSharper template

ぐ巨炮叔叔 提交于 2019-12-03 10:38:44

Ok I did it:

  1. When adding a template, on the right there's a part where you can choose a macro. Click on "Choose Macro" for uppercase_name.
  2. Go to the end of the list. There's a macro called "Value of another variable with the first character in upper case". Choose that.
  3. The part "another variable" will be in red in the macro selection part. Click on that.
  4. Choose name.

Enjoy!

P.S. I have ReSharper 7.1. This may not be applicable for earlier versions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!