XamlStyler
XamlStyler copied to clipboard
Format Selection
It would be great if I could use this for selected blocks of XAML instead of the whole file. We have some custom stuff in our XAML and don't want the formatter to look at that. The VS formatter has support for format selection so it would be cool to have that for XamlStyler!
We think this would be a great addition, but there are some open questions around technical feasibility.
- Can we detect right-click on a specific node (e.g., to format element and children)?
- How do we handle edge cases where there is imperfect selection?
- Can we fuzzy match text selection?
This is a great feature request and I can't stress enough how much more viable this product would be if it was possible.
The reason is: Say you are a part of a larger team, and you have not started out with a clean XAML style. When you download this plugin you can start adding new features with a new XAML style, but when merging you would end up with changes of the whole file instead of that tiny bit in you XAML. Your team get's frustrated because it's not possible to see what you have actually added and what you have formatted :(
Hi, anyone know if this feature is in the roadmap ? I have the exact same use case, a large team that cannot format xaml in one step. it would be a killer feature for us.