Theia API Documentation v1.65.0
    Preparing search index...

    Describes what to do with the indentation when pressing Enter.

    Index

    Enumeration Members

    Enumeration Members

    Indent: 1

    Insert new line and indent once (relative to the previous line's indentation).

    IndentOutdent: 2

    Insert two new lines:

    • the first one indented which will hold the cursor
    • the second one at the same indentation level
    None: 0

    Insert new line and copy the previous line's indentation.

    Outdent: 3

    Insert new line and outdent once (relative to the previous line's indentation).