emis_developer_manual
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| emis_developer_manual [2026/01/02 20:47] – ghachey | emis_developer_manual [2026/04/08 07:08] (current) – [[Optional] Various Visual Studio Configuration] ghachey | ||
|---|---|---|---|
| Line 283: | Line 283: | ||
| === Tab vs Spaces Setup === | === Tab vs Spaces Setup === | ||
| - | In VS you can set the handling of tabs for each file type. VS will expand the tab to the number | + | Spaces are now to be used instead |
| - | + | ||
| - | The original developers of this project agree to Use Keep Tabs option as shown below for all file types. To do this go into** Tools - Options - Text Editor** settings. | + | |
| - | + | ||
| - | This needs to be set for each file type. Developers of Pacific EMIS has agreed on: | + | |
| * C#: 4 spaces | * C#: 4 spaces | ||
| * Everything else (CSS/ | * Everything else (CSS/ | ||
| - | Below is example | + | This configuration |
| - | {{ : | + | CSS you can turn off the hierarchical indentation. |
| - | + | ||
| - | CSS would be the same as Javascript except | + | |
| {{ : | {{ : | ||
| - | |||
| - | And then C#. | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | In SourceTree, the built-in diff viewer always expands tabs as 4 spaces. It works best for seeing what “real” differences are between versions to use the option Ignore Whitespace as shown below. Although the change in white space will not be displayed, it will still be regarded by git as a change to the file. | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | Also note these options in Visual Studio under **Edit - Advanced**: | ||
| - | |||
| - | * **Tabify Selected Lines** - converts leading spaces to tabs. Respects the tab size setting in **Tools - Options** when making this conversion. It is recommended to run this on files before submitting a commit. | ||
| - | * **View White Space** - toggle display spaces and tabs (CTRL-E,S) | ||
| ==== Troubleshooting Visual Studio Build/Run Errors ==== | ==== Troubleshooting Visual Studio Build/Run Errors ==== | ||
emis_developer_manual.txt · Last modified: 2026/04/08 07:08 by ghachey
