Langium - v4.0.0
    Preparing search index...

    Interface FormattingActionOptions

    interface FormattingActionOptions {
        allowLess?: boolean;
        allowMore?: boolean;
        priority?: number;
    }
    Index

    Properties

    allowLess?: boolean

    Determines whether this formatting allows less spaces/lines than expected. For example, if Formatting.oneSpace is used, but no spaces exist between the elements, no formatting is applied.

    allowMore?: boolean

    Determines whether this formatting allows more spaces/lines than expected. For example, if Formatting.newLine is used, but 2 empty lines already exist between the elements, no formatting is applied.

    priority?: number

    The priority of this formatting. Formattings with a higher priority override those with lower priority. 0 by default.