[antlr-interest] Highlighting syntax errors
sharwell at pixelminegames.com
Wed Jan 21 06:52:49 PST 2009
All Visual Studio language service features run on separate threads from the main UI thread. I have several posts on my blog (http://blog.280z28.org/) talking about ANTLR/Visual Studio integration for language services. If you are interested, I could probably add articles on the following:
· Ensuring your language service doesn’t slow down the IDE (like Eclipse does, for example)
· Highlighting errors in the IDE. This is supported in the Managed Babel framework and is relatively easy to add to an ANTLR language service. All of my language services, including the ones for nFringe, support this feature.
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Indhu Bharathi
Sent: Wednesday, January 21, 2009 6:00 AM
Subject: [antlr-interest] Highlighting syntax errors
When I parse an input in ANTLRWorks IDE, I can see which portion of the input has errors using the 'input' window in the debugger. Syntax error (handled by automatic error recovery) will be highlighted in red. While this is a very useful feature, I cannot parse a very big file (approx 1 mb) inside the IDE as that would be very slow. Is there a way to do this "error highlighting" outside the IDE using the error handling techniques? I looked into chapter 10. But didn't get any hint.
Advanced thanks for any pointers :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest