const String index_html_string PROGMEM = R"rawliteral( cause Ctrl-T feature to no longer work. #11497
Labels
Component: IDE
The Arduino IDE
Type: Bug
Type: Duplicate
Another item already exists for this topic
Upstream notified
Related to a software component maintained by someone else. They have been notified of it
I am using the latest nightly build 1.8.14 2021/05/07 12:33
Near the top of my code, I have a global const defined as follows:
`const String index_html_string PROGMEM = R"rawliteral(
)rawliteral";`defined in that way, my sketch compiles and runs just fine. However, in the IDE the Ctrl-T feature to autoindent my code no longer works.
I have found that if I put quotes around the literal as follows:
`const String index_html_string PROGMEM = R"rawliteral("
")rawliteral";`the sketch compile fine, and the Ctrl-T feature works again, but the program does not run fine as the opening and closing quotes then become included as part of the string itself.
The text was updated successfully, but these errors were encountered: