[[Describe this app and list installation sources]]
Languages
- Create a new Blazor project
Configure IDE
Change the following settings through Feature Search (Ctrl + Q) or though the menu.
Enable hot reload on file save:
- Open Debugging > .NET / C++ Hot Reload
- Apply Hot Reload on File Save: true
Enable format on save:
- Text Editor > Code Cleanup > Run Code Cleanup profile on Save: true
Auto save on focus change:
- Environment > Documents > Automatically save files when Visual Studio is in the background: true
Use VS Code key bindings:
- Open Environment > Keyboard > Change hotkeys and keyboard shortcuts
- Apply the following additional keyboard mapping scheme: Visual Studio Code
Skip start window and directly open solution:
- Environment > General > On startup, open: Most recent solution
Hide number of references above classes, properties
- Open Text Editor > All Languages CodeLens > Turn CodeLens on or off
- Enable CodeLens: false
Keep opening braces on the same line:
- Open Text Editor > C# > Code Style > Formatting > New Lines > New line formatting option for braces
- New line options for braces: Set all to false
- New line options for keywords: Set all to false
Don’t automatically close HTML tags
- Open Text Editor > HTML > Advanced
- Auto insert closing tag: false
- Use legacy Razor editor for ASP.NET Core (requires restart): true
- Restart
Open Environment > Keyboard > Change hotkeys and keyboard shortcuts
Adopt system color theme:
- Install Auto Theme Switcher - Visual Studio Marketplace
- Open Auto Theme Switcher for Win 10 > General
- Light Theme: Light
- Dark Theme: Dark
- Open Environment > General > Change environment color themes
- Color Theme: anything but system
Name | Thumbnail | Modportal links | Categories | Description |
---|---|---|---|---|
Roslynator 2022 | View in marketplace | - | - | |
Shrink Empty Lines 2022 | View in marketplace | - | - | |
Solution Error Visualizer 2022 | View in marketplace | - | - |
Sources:
Related:
Tags: ASP.NET Core Blazor