Code formatting inside raw string
已回答
Here's an example:
std::str json = R"|(
{
"object1": {
"field": "value"
},
"object2" : [ "value", "value"]
)|";
Is there any possibility to enable code indentation/formatting inside such block?
请先登录再写评论。
Unfortunately, it hasn't been implemented in CLion yet. Feel free to create a feature request in our tracker: https://youtrack.jetbrains.com/issues/CPP.