vscode-antlr4 icon indicating copy to clipboard operation
vscode-antlr4 copied to clipboard

Can't make visualization work (railroad diagram and Antlr view)

Open hl037 opened this issue 3 years ago • 3 comments
trafficstars

Hi, I installed the extension yesterday, but I can't make it work...

Here what I get :

image

There is some indicator in the antlr view that my tell some work is done in the background, but after 10 minutes, nothing new. (and this grammar really not that long...

The call graph seems to work though.

Any tip ?

hl037 avatar Aug 07 '22 07:08 hl037

Try setting the caret into a rule text. Does this show the RRD for this rule?

mike-lischke avatar Aug 09 '22 04:08 mike-lischke

Actually, it was on the body rule (but the screenshot does not show it because of the blinking)

hl037 avatar Aug 09 '22 09:08 hl037

I also have this issue.

DeLuxe-1337 avatar Aug 21 '22 01:08 DeLuxe-1337

Same problem. Any news?

UPD: Fixed the problem by changing the name of the file to test.g4 and updating the first line of code to accommodate the change: grammar test;. So I think the problem is with filenames.

izmalk avatar Mar 20 '23 16:03 izmalk

A new release (2.4.0) was just published, which now works with the latest ANTLR4 version.

mike-lischke avatar Oct 01 '23 17:10 mike-lischke