Allow users to set Power Query Editor tab size (indent) formatting
I noticed that the Power Query Online Editor doesn't apply consistent indent (tab size).
For some reason the code that was copied from desktop has TabSize=4, but if the power query is created in Online Editor then it uses TabSize=2.
There are a few editor settings in Visual Studio:
"Editor: Tab Size", "Editor: Insert Spaces", "Editor: Detect Indentation", "Editor: Indent size".
"Editor: Indent size" is overridden based on the file contents when "Editor: Detect Indentation" is on.
So this problem can be solved by switching off the settings:
Editor: Detect Indentation (controls whether "Editor: Tab Size" and "Editor: Insert Spaces" will be automatically detected when a file is opened based on the file contents.
But unfortunately, the formatting settings are not available in Power Query Online Editor at the moment.
It would be great to have some basic editor formatting settings to make the code look consistent across all dataflows.
1 Comment
- fbcideas_migusrNew MemberStatus added:New
Recent ideas
Feature Request: Add a Warning Prompt Before Deleting Tables That Contain Measures
Problem Statement: In Power BI, measures are linked to specific tables. When a developer deletes a table from the model view or report view, Power BI automatically deletes all measures assigned to ...Murtaza_Ghafoor2 hours agoSuper UserNew4Views1like0CommentsCustom visuals: allow same-tab navigation & reduce confirm-navigation friction for trusted links
Description: Custom visuals (e.g. Deneb) that trigger navigation via href currently have two limitations that create friction for legitimate, author-controlled use cases: Links always open in a ne...AlexSenEON4 hours agoNew MemberNew8Views0likes0CommentsSeparate Download and Publish Permissions for Power BI Workspaces
Idea / Feature Request Introduce more granular permissions in Power BI to independently control report download and report publishing permissions at the workspace level. Business Scenario We have ...ewarstdhyjugkhi5 hours agoMicrosoft EmployeeNew23Views8likes0CommentsSupport Fabric SQL Database with workspace-level inbound Private Link
Fabric SQL Database supports tenant-level Private Link but not workspace-level Private Link. Securing a small number of databases therefore requires enabling Private Link across the entire tenant, in...WorkFull226 hours agoAdvocate INew32Views1like1Comment