How does auto-indentation work in the Editor?

Introduction

Basically you just use the Tab key to indent code, you can indent the current line, or select a block of code and indent it all at once.

Issue [top]

How to use auto-indentation work in the Translator Editor.

Solution [top]

Say you type in a function like this:

Then to get the auto-indentation to kick in just press the Tab key at any point on the line, then the editor moves the end block so that it matches the start of the function:

Or you can press Tab key to indent a selected block of code:

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.