Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
This page is no longer in use. To suggest an idea, please visit Browse and Suggest.

Script (and expression) code folding

simonaubert
Partner - Specialist II
Partner - Specialist II

Script (and expression) code folding

Hello all,

 

A missing feature in script (and also expression) editor : code folding.

https://en.wikipedia.org/wiki/Code_folding

"

Code folding is a feature of some text editors, source code editors, and IDEs that allows the user to selectively hide and display – "fold" – sections of a currently edited file as a part of routine edit operations. This allows the user to manage large amounts of text while viewing only those subsections of the text that are specifically relevant at any given time.

Identification of folds can be automatic, most often based on the syntax of the computer language in question, indentation, or manual, either based on an in-band marker (saved as part of the source code) or specified out-of-band, only within the editor.

Many editors provide disclosure widgets for code folding in a sidebar, next to line numbers, indicated for example by a triangle that points sideways (if collapsed) or down (if expanded), or by a [-] box for collapsible (expanded) text, and a [+] box for expandable (collapsed) text. This feature is commonly used by some computer programmers to manage source code files, and is also frequently used in data comparison, to only view the changed text."

code foldingcode folding

 

Best regards,

Simon

Bi Consultant (Dataviz & Dataprep) @ Business & Decision
9 Comments
vadim_pozdnyakov
Partner - Contributor II
Partner - Contributor II

Must have! That is why I develop large scripts in VSCode or Sublime Text, and not in Qlik.

Patric_Nordstrom
Employee
Employee

Thank you for your feedback on ways to improve our product. While this is something we understand would be useful, it's not on the short-term roadmap. Please continue to show your support for this idea.

Thanks,

Patric

Note that the script editor is based on CodeMirror which offers a lot options

https://qlikviewcookbook.com/2018/07/theming-the-qlik-sense-script-editor/

 

Status changed to: Open - Collecting Feedback
AlexOmetis
Partner Ambassador
Partner Ambassador

Another way to theme the editor is using something like the Stylus plugin rather than having to click a bookmarklet to get it to apply. My colleague wrote up how to do that here: Qlik Sense's Dark Themed Data Load Editor - Ometis

p_verkooijen
Partner - Specialist II
Partner - Specialist II

@AlexOmetis wanted to test the dracula theme.

However the style https://userstyles.org/styles/162405/dracula-theme-qlik-sense-data-load-editor seems unavailable. I get a 504 Gateway Time-out

AlexOmetis
Partner Ambassador
Partner Ambassador

Yes, UserStyles seems to be having a few issues. It did eventually work for me but it's super slow. I'll see if we can get it hosted somewhere more accessible but still dynamic for updates. But in the meantime we've put a static copy here that you can download and then import into Stylus.

p_verkooijen
Partner - Specialist II
Partner - Specialist II

Thnx.

Ultimately used the getstyles from within the extension. This bring you to https://33kk.github.io/uso-archive/. When you can search for Qlik to import the style

simonaubert
Partner - Specialist II
Partner - Specialist II

Hello @Patric_Nordstrom 

Thanks for your answer. I didn't know this trick (but to be honest, I haven't search).I will see what I can get from it. But at least, I know some persons at the office that will appreciate the ability to set a dark theme  🙂

Best regards,

Simon

Meghann_MacDonald

From now on, please track this idea from the Ideation portal. 

Link to new idea

Meghann

NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.

Ideation
Explorer II
Explorer II
 
Status changed to: Closed - Archived