A Visual Studio editor extension that shrinks lines of C, C++ and C# code that contain only curly braces.
###Requirements Visual Studio 2010. 2012 should also work, but is untested.
Download, then double-click/activate the VSIX file in Explorer.
Once installed, the effect is enabled immediately. Note: lines containing only };
are also shrunk, e.g. object initializers.
By default, the lines are shrunk to 0.3x the standard size. If this isn't satisfactory, you can edit the 'BraceLineScale.txt' file in the extension's install directory - it contains just the scale factor as a decimal. Changes will be applied the next time Visual Studio is started.
- If line numbers are visible, they look a bit messy for the shrunken lines.
- The same goes for breakpoints on those lines
- As the lines are shrunken, selecting them is tricker.
In VS, open the Extension Manager, select Little Braces, then click uninstall. A restart of VS is required.
This is a very simple extension. There's just a single 69-line source file. It uses a LineTransformSource.
Eclipse Public License v1.0. See license text for details.