Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to indent code on new google appscript interface?

Any guidance on how to indent / turn on auto indent on google appscript with shortcuts would be appreciated!

New Appscript interface

like image 415
Mishal Avatar asked Oct 15 '25 02:10

Mishal


1 Answers

What I am using when indenting manually is Tab and Shift + Tab on single or multiple lines.

  • Tab for shifting it to the right.
  • Shift + Tab for shifting it to the left.

After {, when pressing Enter, it should auto indent itself to the right on the next line.

For Auto Formatting, press Ctrl + Shift + I to format the whole file.

Or right click in the editor then you can see the option below.

Right Click Options:

right click

Before:

before

After:

after

Fore more information, please see this Guide to the new interface.

like image 120
NightEye Avatar answered Oct 18 '25 03:10

NightEye



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!