Code editing collapse all function

I have several apps which I've made that are over 5000 lines of code... there are a few hundred methods... is it at all possible to be able to (collapse all) in the editor? this would make it so much easier to navigate to the ones I need.

Is this groovy?

IntelliJ ?

Yes it’s groovy. I’m referring to the built in editor in hubitat.

I use notepad++ for editing and copy to hubitat when I want to save and test. Lost too much due to accidental page refresh or browser crashing when I was on smartthings. Plus its easier to archive code on github this way.

1 Like

Also, FYI for those not familiar with notepad++, you can extend this application to recognize the groovy language. You can use Google to find the instructions and the language definition files.

Is it available on a Mac?

Looks like windows only, but here's a recent article looking at mac alternatives

Visual Studio Code also has a groovy plugin, and it is available for MAC/Windows/Linux. No idea how good the groovy plugin is, though. I have it installed, but haven't used it much.

I use Sublime Text. Its a little strange how it handles add on capabilities but I find it more comfortable to interface with. I am on Windows but I see there is a MAC versions mentioned on the website.

Then there is Adam Text editor. I could never get comfortable with it but it has a good following and a MAC version.

John