Is it possible to stop editor from inserting blank lines between statements in script mode


When I go from script mode to manual mode and back, the editor and blank lines in between every statement. This makes the code hard to read. There are some lines of code that I want grouped together with no blank lines in between.

I have not found a setting that stops the tool from doing this. The code runs without the blank lines so why are they inserted.

I also found that it decides to randomly delete commented out code and delete classes that I created to perform functions like lazy loading pages.

It is similar to the “How to disable editor script from auto formatting”

This is annoying.



I recall in my early days I used to see this a lot. During that time (a very short period of time, I have to say), I was using both Manual view and Script view.

What did I change? No idea, but I did stop using Manual view and told Katalon to default to Script view. Maybe this does the trick?


And just in case, my Editors settings…


And if someone could explain how to copy all these settings between upgrades I’d appreciate it.


Thanks … I have the same editor settings … Multiple people touch the script and they all use manual since they aren’t programmers … switching to manual and to script causes auto formatting :frowning:

They need to add an option to disable auto formatting


There might be one, somewhere. But wading through that stuff is coma-inducing.

@devalex88 any ideas to prevent auto-formatting?


What about this (note: unchecked)


That option is only available for Java not Groovy :frowning:

That is exactly what I am looking for … It is disabled already in Java and not available for Groovy


Agreed. But some of the settings are inherited.

Just wondering… turn it on. Close Katalon.

Turn it off. Close Katalon

Try again.

Perhaps the default is in place and a toggle might give it a kick where the sun don’t shine.