A journal for sharing all things software development related
Editor config, text formatting and naming styles in Visual Studio 2019
Wed, 10 Jul 2019 14:14 UTC by garethbrown
You can manage naming styles using settings under:
Tools > Options > Text Editor > C# > Code Style
Once you have set up code formatting and naming styles as required, you can export them to an editor.config file which you can keep in your solution directory so that the same settings are loaded wherever the solution is loaded. Editor config files are not Visual Stdio specific so should be portable to other IDEs.
Manage naming styles:
Create new naming styles (e.g. 'lower case underscore' _lowerCaseUnderScore'):
Export as editor.config file:
The information on this site is provided “AS IS” and without warranties of any kind either express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.
Email garethbrown: email@example.com