TabularEditor / TabularEditor3

Bug reports, feature requests, discussion and documentation for Tabular Editor 3 (commercial version).
65 stars 7 forks source link

Formatting Discrepancies between DAXFormatter.com service and internal formatter #956

Open edhans opened 1 year ago

edhans commented 1 year ago

Describe the issue I use the Short Line preference for both the service and the built in formatter, and there are a number of places the built in formatter puts extra breaks, especially before operators, that I think are unnecessary and IMHO make the code harder to read. See the two images. The top image is from the internal formatter, the bottom from the service.

Overall:

image image

Which version are you currently using? Tabular 3.9 Enterprise

Power BI Service and Desktop

My DAX Editor preferences, only checking or unchecking the "Use daxformatter.com" box between the taking of those images.

image
DBojsen commented 1 year ago

Hi @edhans

Added a bug to the backlog so we can get a better match with daxformatter.com. Again, thanks for reporting.

Best Regards

David - Tabular Editor 3 Support