I can't find any documentation that shows how to get ANTLR support in Visual Studio 2022. It seems like the ANTLR extension developers haven't kept up with the changes made to the Visual Studio API object model: ANTLR VSIX is only compatible with Visual Studio 2019, and ANTLR Language Support won't work with anything newer than Visual Studio 2017.
How can I work with ANTLR grammars and build parsers in .NET 6.0 with Visual Studio 2022?
Antlr4BuildTasks
installed is a step forward as I was previously manually building my grammar, then checking in the resulting*.cs
files. Now, at least I can directly add my grammar to my project andAntlr4BuldTasks
build it automatically. – Boddie