Show as JSON on the logs works not good for lists as least
Issue #1505
new
When click right mouse button on some JSON string that represent array on the logs then open bracket missed on the parsed result
Steps to reproduce:
- put next code to the anonymous apex
System.debug(
JSON.serialize([SELECT Id FROM Contact LIMIT 1])
);
2. Execute it, click right mouse button on the DEBUG output and select “Show as JSON” menu item;
Comments (3)
-
repo owner -
repo owner - changed component to Log Analyzer
-
repo owner - edited description
- removed version
- Log in to comment
Interesting. I didn't even know that was a feature. VERY cool! I'll see if there's anything I can do about this, but since Show as JSON is a core IDE feature, unless they've provided some plugin SDK extension point to detect the boundaries of the JSON in the current text, there may not be much I can do about it aside from filing a bug with JetBrains themselves.