-
Notifications
You must be signed in to change notification settings - Fork 142
Code Formatting Using Visual Studio
Darice L Guittet edited this page Oct 9, 2020
·
2 revisions
In order to make sure SAM's code has a consistent format, we ask contributors to use automatic code formatting. wxWidgets comes with a .editorconfig file that we use within the SAM, SSC, LK, and Wex repositories. In order to set up this file for the SAM project:
- Copy .editorconfig from wxWidgets to the same folder as your umbrella CMake file
- Ensure the "Follow project coding conventions" box is checked in Visual Studio
- Reload the project as needed.
If you are editing an older file and want to bring it up to conventions all at once, use Edit > Advanced > Format Document.