Hide Hungarian notation from your source code.
Applies to C/C++ and C# code.
This extension allows you to toggle the display of Hungarian notation in your source code. This may come in handy to make code that uses this notation more readable.
Note that the extension only changes the display of the code, it does not alter the code itself. For that purpose, Visual Studio already offers ample refactoring support.
The extension has the following built-in prefixes, that should cover most variants of the notation.
Each of the above prefixes has an implied additional prefix with a pointer modifier, e.g.
An option to configure the prefixes is planned for a future version.
A prefix is considered as such, if:
The extension is implemented using the Visual Studio Outlining feature, collapsing the detected notation prefixes and replacing them with empty text. This results in vertical bars, which are IMO still more readable than the ellipsis.
An option to configure the replaced text with somehing other than empty text is planned for a future version.
In the editor context menu, choose Show/Hide Hungarian Notation.
The feature is mapped to the
In Visual Studio, it is represented by the
Known Issues / Limitations
Please use the Github project page to file any bugs or feature requests.
Portions of the code that deal with Collapsible internals are heavily inspired by the Unobtrusive Code project. This is attributed in the corresponding source files.