Skip to content

[Bug]: Power BI Desktop Deviation: EOF newlines #25

@SamuelT-Beslogic

Description

@SamuelT-Beslogic

Version

1.6.3

Description

Unconfigurable formatting deviation from Power BI Desktop.
Power BI Desktop will format .tmdl files with 2 End Of file newlines.
This extension will format .tmdl files with 2 End Of file newlines.

Arguably this extension's formatting is better, and this should be improved in PBI Desktop, but I'm not sure where to go to raise an issue there.
Also I feel it's unlikely for PBI Desktop to quickly resolve this, so having the extension at least be able to match its styling through a configuration option would be desirable.

Steps to Reproduce

  1. Do any semantic model modification in Power BI Desktop
  2. See it adds 2 newlines at the end of .tmdl files
  3. Format the same file using this extension in VSCode
  4. See it removes

Expected Behavior

Power BI desktop and this extension should format .tmdl files the same way.

Actual Behavior

Power BI desktop and this extension don't format .tmdl files the same way.

Additional Context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions