Skip to content

Tab Indents within Multiline String Literals #55

@kghenderson

Description

@kghenderson

I completely understand that CUE follows Go and uses tabs for indentation.
My issue is that I have injected code blocks within multi-line string literals in cue where tabs are disallowed.
I tried adding my own 'code style' and 'line indent provider' to my custom nested language plugin, but IntelliJ seems to always be using the file type / parent language for this setting. Also tried EditorConfig with overrides on, but this didn't work either.

I'm thinking my only hack is to use a Hidden/Private Key in the user-visible cue file that then has tabs replaced in the Public key that gets exported, but it would be nice if we had an option to use separate indentation within strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions