Coding patterns change over the years and most common are Pascal Case and Camel Case.
What are these patterns? The simple way: PascalCase means the first char should be capitalized, while camelCase means the first char should be lowercased.

This tool is a simple visual studio extension and can help you to deal with this type of patterns.
It converts a selected text between snake_case, camelCase and PascalCase.
About snake case (or snake_case) this patterns is the practice of writing compound words or phrases in which the elements are separated with one underscore character (_) and no spaces.
Download it and start to install this tool with a double click.
Under Visual Studio you can use from menu file I.D.E. EditAdvancesConvert Case or use the keys:
Ctrl + Shift + K or Ctrl + Shift + C.
The keys not worked with Visual Studio 2017 just from the menu.
Another problem with this tool: you need to select just the word to make a change.
If you want to change word cases and order the conversion pattern, set this option from ToolsOptionsCase Converter.
If you select a block of source code the entire source text will be changed. However, it’s the only tool I’ve ever found to solve this problem.
I’ve never worked with visual studio extension. I do not know the security issues that can arise when implementing such a tool in your I.D.E.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.