agiilz/salesforce-ag-log-viewer — reverse-engineered prompt
Reverse engineered prompt
Build me a VS Code extension for Salesforce debug logs that feels much easier to use than the default experience. I want a sidebar panel in the Activity Bar that shows logs from my connected org, refreshes automatically, and lets me search or filter by user and operation. It should support showing only my logs or everyone’s logs, mark unread and downloading logs with simple visual indicators, and let me open, download, or clear logs from the org.
When I open a log, show a detailed viewer where I can search inside the log, quickly switch to only USER_DEBUG entries, and collapse or expand method blocks so big logs are easier to read. Please also include trace flag management so I can view and clear expired trace flags and set trace flags for specific users with a configurable expiration time.
Make it smooth with large logs, avoid unnecessary re downloads, and preserve the viewing state during refreshes. Add settings for auto refresh, refresh interval, current user only, trace flag expiration, and whether to show an output panel on startup. Look up current VS Code and Salesforce docs online if you need to.
Want more depth? Deep Reverse