DJanczewski
Topic Author
Posts: 5
Joined: 30 Apr 2026, 08:48

XAML styler settings so it formats XAML files to look like Noesis Studio output

10 Nov 2026, 12:13

Hey, I'm running into an issue where we are moving from editing Noesis XAML files by hand in Visual Studio code, to edit them in Noesis Studio. What are styling rules embedded in the Noesis Studio app? I would love to make sure that handwritten XAML has the same format as the one edited with Noesis Studio to reduce submit merge noise between designers using Visual Code styler and designers using Studio.
 
User avatar
jsantos
Site Admin
Posts: 4843
Joined: 20 Jan 2012, 17:18
Contact:

Re: XAML styler settings so it formats XAML files to look like Noesis Studio output

11 Nov 2026, 21:08

Hi!

Unfortunately, we don't have a good solution for this yet. Noesis Studio currently uses its own XAML formatting rules, and these aren't configurable.

For example, Studio generally puts all attributes on the same line (except for namespace declarations on the root element), which can definitely cause unnecessary diffs when working with different editors.

We've discussed a couple of possible improvements internally: allowing a custom post-processing step for XAML files saved by Studio, or exposing formatting options in the `.studio` project. However, neither of these has been implemented yet.

It would be great if you could open a ticket for this so we can discuss the requirements and possible approaches. As a starting point, we can document the formatting rules Studio currently applies and identify which ones would be useful to make configurable.

Thanks for bringing this up!
 
DJanczewski
Topic Author
Posts: 5
Joined: 30 Apr 2026, 08:48

Re: XAML styler settings so it formats XAML files to look like Noesis Studio output

18 Nov 2026, 14:20

Documenting formatting rules for studio would be great first step, as then we could configure xaml styler so it aligns the handwritten files in the same way.

Although the best would be exposing styling rules for Noesis Studio, as I find styler format (new-line sign between more than 2 properties mainly) much more readable.

Thanks for the answer, I'll raise a ticket!

Ticket for missing styling documentation:
https://www.noesisengine.com/bugs/view.php?id=5338

Ticket for exposing styling rules to configuration by Noesis Studio App
https://www.noesisengine.com/bugs/view.php?id=5339
 
User avatar
jsantos
Site Admin
Posts: 4843
Joined: 20 Jan 2012, 17:18
Contact:

Re: XAML styler settings so it formats XAML files to look like Noesis Studio output

20 Nov 2026, 12:42

Thank you! Let's continue the discussion in those tickets.

Who is online

Users browsing this forum: No registered users and 3 guests