Skip to content

Indentation gets screwy with raw string literals

When hitting enter after a line that includes a raw string literal, it incorrectly indents to the outer parentheses:

image

Note: When there's no outer parentheses it's fine:

image

Let me know if this is an upstream problem, but I assumed it's unrelated to clang-format since after formatting it with clang format, it corrects the error:

image

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information