Skip to content

[Bug] Auto formatting does not work if there is an 'R "===== (' in the sketch? #10946

Description

@rtek1000

Hi,

Auto formatting (Ctrl+T) does not work if there are:

const char webSite1[] PROGMEM = R"=====(
"abc"
)=====";

But Auto formatting works if there is no line break:

const char webSite1[] PROGMEM = R"=====("abc")=====";

In both cases the compilation is successful.

Arduino IDE 1.8.13 (Linux)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDEType: BugUpstream notifiedRelated to a software component maintained by someone else. They have been notified of it

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions