FOR HAND2NOTE DEVELOPERS

Hand2Note for Visual Studio

Editor shortcuts, C# refactorings, and review tools.

Download VSIX
What’s new in 1.74 →

Last updated

Features

Zen Mode HOT Ctrl+H, Z

Hide Visual Studio’s menu, toolbar, document tabs, and auto-hide tool window tabs. Press the same shortcut again to bring them back.

The same Visual Studio editor in Zen Mode, with the menu, toolbar, and document tabs hidden. Zen Mode on

Review agent changes HOT

Open review Ctrl+FNext / previous diff F7 / Shift+F7
Visual Studio showing the Files Under Review tree, inline additions and removals, and Keep and Undo commands.

This is not a Git diff. Keep Visual Studio and the solution open while the agent works. Agents call read_file, edit_file, write_file, and remove_file through Visual Studio’s named pipe. The extension handles these calls inside Visual Studio and tracks edits as they happen.

Constructor from properties HOT ctorp + Tab

Generate constructor parameters and assignments from the class’s properties.

Insert named arguments HOT Backtick after (

Insert parameter names into an empty call and start typing the first value.

Mark as Binary Serializable HOT Ctrl+H, B

Add the serialization attribute and numbered tags to the type’s data members.

Switch to an interpolated string HOT { + Tab

Press Tab after an opening brace inside a string to add the $ prefix.

Go to .razor.css file HOT

Switch between a Razor component and its stylesheet.

Go to .Functions.cs file HOT

Jump between a C# source file and its companion .Functions.cs file.

Custom text shortcuts HOT

1. Set up a shortcut Ctrl+H, S

Open Extensions → Hand2Note → Open Text Shortcuts and add an entry such as >>ie=IEnumerable<%cursor>. Changes save automatically.

Visual Studio Text Shortcuts window showing custom entries, including ie=IEnumerable with a caret marker between the angle brackets.

2. Expand it in the editor Tab

Type ie and press Tab. Visual Studio inserts IEnumerable<> and places the caret between the brackets, where %cursor was.

Use >> on its own line to separate shortcuts.

Step over closing characters ) then ;

Type a closing character that’s already there to move past it without duplicating it.

Append missing named arguments Backtick before )

Add the remaining parameter names without changing the arguments you’ve entered.

Convert to Expression Body Ctrl+H, E

Replace a single-statement method body with an expression using =>.

Fill Out Switch Ctrl+H, W

Add missing cases for enum values or concrete types.

Insert .razor File Template Ctrl+H, T

Start a Razor component with a root element and an @code block.

Insert Class Into .razor.css Ctrl+H, C

Create the CSS rule for a class in your markup or jump to it if it already exists.

Keep method-name indentation Enter

Start a method name on a new line at the same indent in files with a file-scoped namespace.

Highlight named arguments

Dim parameter names at call sites so the values stand out.

Go to _Imports.razor

Open the project’s _Imports.razor file from the editor.

Jump to a closing or opening character Ctrl+H, ] / [

Move the caret to the next closing or previous opening character.

Restart Visual Studio Ctrl+R, R

Press the shortcut or choose Extensions → Hand2Note → Restart Visual Studio.