BeastMode Tidy/Prettyprint Feature
With complex beast modes, I find that a very large amount of time is wasted across our agency trying go back and edit, fix, or simply remember exactly what specific parts of beast modes are doing. We add comments for Start/End when we're nesting formulas, however I feel that a feature severly missing from the tool is a Tidy/Prettyprint button that simply allows you to click it, and it will reformat the entire formula with indents and line breaks that allow you to view things much easier.
Examples of what i'm thinking:
- The Tidy button on jsfiddle.net, which applies formatting rules to all HTML, CSS, and JS written in a script.
- In Chrome developer tools, this exists as a simple Pretty Print button ({ }) on the Sources > script window.
This feature alone would save every person that has to write or interpret a beast mode a lot of hours and confusion as to why their formulas aren't working.
Comments
-
If I ever get befuddled with formatting, I drop it into Sublime to format and then bring it back. Same applies to dataflows. I would love to see improvements in Domo.
Aaron
MajorDomo @ Merit Medical
**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Thanks @AS! Very helpful. Have you found the best syntax to apply in Sublime to make it easy to read? Looks like JavaScript get's most of the way, but wanted to ask.
.....................................................................................................………….
ANDY BATTEN / red door interactive
Sr. Director, Data Analytics
.....................................................................................................………….0 -
Honestly I haven't tried anything other than SQL. Most of the time I use this method to line things up nicely and make sure I have my parentheses right.
Aaron
MajorDomo @ Merit Medical
**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- 10.8K All Categories
- 3 Private Company Board
- 1 APAC User Group
- 12 Welcome
- 39 Domo News
- 9.7K Using Domo
- 1.9K Dataflows
- 2.5K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 343 Workbench
- 260 Domo Best Practices
- 11 Domo Certification
- 465 Domo Developer
- 50 Domo Everywhere
- 106 Apps
- 717 New to Domo
- 85 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 27 お知らせ
- 64 Kowaza
- 299 仲間に相談
- 654 ひらめき共有