Steve Southwell (Progress) asked a question.
I found a minor issue yesterday when trying out Claude Code extension in VS Code using OpenEdge AI Assistant. Basically, if Claude Code does happen to get some syntax wrong, it lacks the integration with VS Code to retrieve the errors and warnings from the "PROBLEMS" tab that VS Code uses to show errors.
When I'm using AI to help write code, I like it to check that there are no errors before it thinks it's done.
As a workaround, I created this "diagnostics_mirror" VS Code extension that basically watches the diagnostics and mirrors them into files that Claude Code is able to read.
Once you install the plugin, you can tell Claude to use it:
- Please create a memory that diagnostics from the VS Code IDE are available in the .ai/problems/ folder: .ai/problems/current-file.json — diagnostics for the currently open file and .ai/problems/all-problems.json — diagnostics across the entire workspace. Check these files when the user asks "what does diagnostics say?" or asks about errors/warnings in the IDE. Whenever you edit code, you should save the file, wait at least one second to allow it to be built, then check the diagnostics to ensure it compiled correctly with no errors or warnings.
If you're using Claude Code, give it a try and let me know how it works for you.
Nice idea. I'm documenting ANT scripts in Claude.md
That way Claude can compile modified or all files (depending on scope) or wipe all r-code for large changes.
I typically use Claude outside of the IDE. That leaves the IDE for me to analyze code for the next tasks while Claude is working. I leat Claude typically work on whole tickets start to finish, reading the ticket, creating the feature branch, implementing, unit testing, PR, documentation.
And
The language server will be accessible from agents: https://code.visualstudio.com/api/extension-guides/ai/tools
Follow this issue for progress: https://github.com/vscode-abl/vscode-abl/issues/539
It will be possible to tell agents to use the "check syntax" entrypoint to make sure generated code is valid in the context of the current project rather than expecting the LS to do the work within one second.
I've been looking at extensions that expose VSCode functionality, like the aggregated problems/warnings, through an MCP server so agents can query these.
Some possibly interesting finds:
Untested so I can't vouch for these, but might be worth looking at...