Updated in 1.2.30:
Fix: Drastically reduced the size of the extension by removing references that were no longer used by current code
Fix: When the viewport size was increased, the adornments didn't increase with it.
Fix: Fixed a race condition around a disposed cancellation token.
Get The Visual Studio 2015 Edition here
Stay Frosty is an extension for Visual Studio to make navigating and identifying important parts of your code easier. It also enables additional customization of the Visual Studio text editor. All features can be tweaked and customized (it is, after all, a developer tool!)
Stay Frosty supports C# 6.0 in Visual Studio 2015 and does code parsing using Roslyn or NRefactory (Visual Studio 2013).
Code Borders
- Configurable Borders around:
- Methods
- Static Methods
- Constructors
- Method Signature Display up the left hand side of bordered methods who's signature has scrolled off screen. This feature can be enabled to display always.
- Signatures can be shrunk to a desired size and opacity can be set on each.
- Support for ReSharper color schemes (disabled by default, see options)
- Extremely accurate - Code is parsed with either NRefactory (for Visual Studio 2013) or Roslyn (Visual Studio 2015). This ensures that any valid C# method is recognized, including new C# 6.0 lambda methods.
- Performant - Code parsing is expensive so it's done only when necessary and while typing it gets out of your way.
Text Clarity
- Configure Font Rendering Style for the Text Editor (ClearType, Greyscale, Aliased, None)
- Add a Chiseled Effect to Code Text
- You can tweak every element of the effect to adjust to your liking
- Only works if Hardware Acceleration is enabled (A very lightweight PixelShader 2.0 shader effect is used which is capable of being rendered in software only, however, Visual Studio does not render it properly if hardware acceleration is disabled)
- Tweak the various things you can change in WPF that aren't exposed in the Visual Studio editor (like Text Sharp)
Customization
- Change the Text Editor Background (larger area than allowed usually)
- All colors for method backgrounds, borders and the like can have alpha set on them to blend them perfectly with your editor style
- Add an image to the background of the Text Editor
- Can be anchored to any corner
- Opacity can be adjusted to keep it from interfering with code
- Combined with the editor background override, a very simple image without transparency can be used with a matched background color.
Limitations / Other Considerations
- The Chisel/Bevel effect does not render properly if Hardware Acceleration is not enabled. Go to Tools|Options General to enable Hardware Acceleration on supported hardware.
- If ReSharper Color Identifiers is enabled but ReSharper is not installed, code highlighting of the Method Signature displayed on the left hand side of the border will default to "Identifiers" for most values. Disable this feature to have Stay Frosty use "User *" values
- Where available, Stay Frosty will use "User Classes", "User Interfaces", "User Enums" and other "User *" values for syntax highlighting. Normally this is used only in the class, interface, enum and other declarations, not in their usages. This causes the method signature on the left to look slightly different from the displayed item at the top. If you don't like the display, you can change the color for these values (if present), to the Identifier color and it will match what is displayed. The clarity provided by the additional coloring was worth the trade off.
Coming Soon
- Return statement highlighting to make code using the Boncer Pattern easier to follow.
- Property borders for properties that use the older get/set (will be disabled by default).
- Tweaks to the region display to make them less annoying (#IHateRegions until then)
- XML Documentation beautifying/decluttering - when XML Docs are not being edited, they'll be displayed in a minimal amount of space, highlighted without XML tags.
More information is available at: The Stay Frosty Homepage
Updated in 1.2.3:
Screen corruption could occur with the background graphic in some cases.
Options page opens on all platforms (previously didn't work on Windows 7 due to referencing a library only available on Windows 8 and above).
Version 1.1.55
Bug: Text effect wasn't applying to all code windows
Bug: Thread safety issue on a field was resolved
Perf: Effects are now only applied once and on setting reload
Bug: On text view close, sometimes the adornment manager wasn't being disposed of, resulting in a small memory leak.
Version 1.1.46
Bug: Fix for the settings application worked only one way. When turning it off, it would remain off despite being turned back on.
Version 1.1.45
Feature: "Enable Background Image" in options can be turned off to turn off background image display.
Bug: Some text options didn't apply to the current window after setting them in options.
Perf: Handling the text and image application logic a little more intelligently.