{"id":1527,"date":"2017-01-06T18:45:24","date_gmt":"2017-01-06T23:45:24","guid":{"rendered":"http:\/\/codinggorilla.domemtech.com\/?p=1527"},"modified":"2017-01-14T19:20:41","modified_gmt":"2017-01-15T00:20:41","slug":"another-visual-studio-extension-for-antlr4-files","status":"publish","type":"post","link":"http:\/\/165.227.223.229\/index.php\/2017\/01\/06\/another-visual-studio-extension-for-antlr4-files\/","title":{"rendered":"Another Visual Studio Extension for Antlr4 Files: AntlrVSIX"},"content":{"rendered":"<p>There are several Visual Studio extensions for Antlr: <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=RamonFMendes.Antlr4Code\">Antlr4Code<\/a>, <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=SamHarwell.ANTLRLanguageSupport\">ANTLR Language Support<\/a>, <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ActiproSoftware.ActiproSyntaxEditorforWPF\">Actipro SyntaxEditor for WPF<\/a>, and <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=MadsKristensen.SyntaxHighlightingPack\">Syntax Highlighting Pack<\/a>. However, each has problems (works on Antlr3, has advertisements, does not offer a &#8220;go to definition&#8221; right-click context menu command, etc). So, over the last few days, I implemented a simple VS 2015\/2017 extension for Antlr4 grammars. You can find the sources on Github (<a href=\"https:\/\/github.com\/kaby76\/AntlrVSIX\">https:\/\/github.com\/kaby76\/AntlrVSIX<\/a>). The extension implements &#8220;go to definition&#8221; and &#8220;find all references&#8221; for grammar symbols. There are some restrictions, but it&#8217;s a start, works well, and is very simple code. Enjoy!<\/p>\n<p><em>(Edited Jan 14, 2017)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are several Visual Studio extensions for Antlr: Antlr4Code, ANTLR Language Support, Actipro SyntaxEditor for WPF, and Syntax Highlighting Pack. However, each has problems (works on Antlr3, has advertisements, does not offer a &#8220;go to definition&#8221; right-click context menu command, etc). So, over the last few days, I implemented a simple VS 2015\/2017 extension for &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/165.227.223.229\/index.php\/2017\/01\/06\/another-visual-studio-extension-for-antlr4-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Another Visual Studio Extension for Antlr4 Files: AntlrVSIX&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts\/1527"}],"collection":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/comments?post=1527"}],"version-history":[{"count":0,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/posts\/1527\/revisions"}],"wp:attachment":[{"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/media?parent=1527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/categories?post=1527"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/165.227.223.229\/index.php\/wp-json\/wp\/v2\/tags?post=1527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}