debug-log-analyzer icon indicating copy to clipboard operation
debug-log-analyzer copied to clipboard

feat: highlight object type for soql query

Open lcottercertinia opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

The first thing I usually look for (when checking SOQL queries) is the object type. It can be a pain to spot in a big query.

Describe the solution you'd like

How about parsing out the object from the FROM clause and displaying it above the query?

Edit: I think it would be better to create a "SOQLViewer" component. We can have queries display as "SELECT Id,... FROM MyObject__c WHERE Somefield__c = value" Hover states / expand can show full content. I am thinking something similar to expanding object in the chrome debugger. Relates to: #253

lcottercertinia avatar May 09 '24 16:05 lcottercertinia