When deleting a step, any adjacent comments are also deleted. I understand this is because comments are considered an attribute of a step, but there is absolutely no reason to delete comments along with steps. In the case where lines are commented out as a developer experiments, they can easily lose large amounts of code, so this should be considered a bug in need of fixing.
See https://community.powerbi.com/t5/Issues/Power-Query-deletes-comments/idc-p/2879821#M87474 for more info
3 Comments
- AnonymousNot applicable
It's annoying enough when the editor decides that your commented out code is in fact a comment on a step, and adds unrelated tooltips.
Perhaps the solution is to use the standard set by code documentation generators:
/* Normal comment */
/** Documentation comment */
This would let the developer choose to associate a comment with the next step, which would turn on behaviours such as the tooltip icon and removing it with the step.
- jefferydeckerNew Member
This is a critical suggestion for documentation purposes. The GUI also should not remove white space choices from another editor (such as Advance Query). Obviously, the GUI doesn't care about readability, but I need it to remember what I was working on yesterday. Thank you.
- fbcideas_migusrNew MemberStatus added:New
Recent ideas
Support Synonyms in Fabric Warehouse
Microsoft SQL Server has a very powerful feature by the way of "synonyms." It allows users and DBAs to do all sorts of powerful magic such as rewiring objects under the hood (e.g. run the code agains...matthias-bi7 minutes agoRegular VisitorNew1.3KViews18likes2CommentsExpose Refresh Warnings and Informational Messages via Notifications and API
When a Power BI semantic model refresh completes successfully, the status shows Completed, even when the refresh details contain warnings or informational messages that require attention. Please pro...Jashwanth_K2 hours agoMicrosoft EmployeeNew19Views6likes0CommentsInvoke Pipeline Task - Workspace Identity Authentication
Currently, the Fabric Data Factory Invoke Pipeline task uses the user's credentials who saved the pipeline to then authenticate to the Azure Data Factory to execute the ADF pipeline. When that user'...dzebrowitz6 hours agoAdvocate IPlanned1.8KViews61likes5CommentsFabric Pipeline should run as workspace identity
Currently, Microsoft Fabric pipelines run under the identity of the last user who modified them, which can cause disruptions when tenant administrators make changes to security policies, such as enab...pellitteris6 hours agoAdvocate IINew1.4KViews27likes3CommentsBring Back separating Power BI artifacts on a per web page basis
Previously, the ability to have different artifacts open on different web tabs was enabled. This was beneficial if you wanted to differentiate what environments you were in, working across three diff...zoe-dean8 hours agoNew MemberNew54Views8likes0Comments