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.
FOR HAND2NOTE DEVELOPERS
Editor shortcuts, C# refactorings, and review tools.
Last updated
Hide Visual Studio’s menu, toolbar, document tabs, and auto-hide tool window tabs. Press the same shortcut again to bring them back.
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.
Generate constructor parameters and assignments from the class’s properties.
Insert parameter names into an empty call and start typing the first value.
Add the serialization attribute and numbered tags to the type’s data members.
Press Tab after an opening brace inside a string to add the $ prefix.
Switch between a Razor component and its stylesheet.
Jump between a C# source file and its companion .Functions.cs file.
Open Extensions → Hand2Note → Open Text Shortcuts and add an entry such as >>ie=IEnumerable<%cursor>. Changes save automatically.
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.
Type a closing character that’s already there to move past it without duplicating it.
Add the remaining parameter names without changing the arguments you’ve entered.
Replace a single-statement method body with an expression using =>.
Add missing cases for enum values or concrete types.
Start a Razor component with a root element and an @code block.
Create the CSS rule for a class in your markup or jump to it if it already exists.
Start a method name on a new line at the same indent in files with a file-scoped namespace.
Dim parameter names at call sites so the values stand out.
Open the project’s _Imports.razor file from the editor.
Move the caret to the next closing or previous opening character.
Press the shortcut or choose Extensions → Hand2Note → Restart Visual Studio.