Note: This extension is currently in Pre-release.
MAUI XAML Toolkit is a VS Code extension designed to streamline XAML development for .NET MAUI. It brings productivity features similar to widget manipulation in Flutter, such as wrapping and refactoring.
Features
- Wrap with Container: Easily wrap selected XAML elements with layout containers like
StackLayout,Grid,ScrollView,Border,Frame, etc. - Remove Parent: Quickly unwrap a XAML element by removing its direct parent container.
- Move Elements: Effortlessly reorder XAML elements within their parent container using "Move Up" and "Move Down" commands.
Usage
- Open a
.xamlfile. - Place your cursor on a XAML element.
- Click the lightbulb icon (Code Action) or press
Ctrl + .(orCmd + .on macOS) to see available refactoring options.
Requirements
This extension requires a .NET MAUI project environment.
Known Issues
- The parser is currently in development. Please report any parsing issues on the project repository.
Release Notes
0.0.1
- Initial release with core refactoring features: Wrap, Remove Parent, and Move Up/Down.
Enjoy your MAUI XAML development!