vscode-antlr4
vscode-antlr4 copied to clipboard
The Debug Parse Tree is Large. Can We hide the tokens?
![截屏2021-01-20 下午3 52 13](https://user-images.githubusercontent.com/5073511/105143926-78073800-5b37-11eb-8b49-09f70ac356dc.png)
Can we hide the unimportant node like T_30, T31, T_XXX? only show the token string "(", ")"
Thanks.
There's a control at the top of the graphic which allows to change the width of the token nodes. And you can collapse non-terminals (the nodes in white). Other than that there's nothing to customize the tree output.
Thanks a lot. Would you consider provide options that we can:
- Hide the unnamed tokens, like T30, T31
- Directly show the unnamed tokens, like "(", ")", ";"
The reason that shows these tokens directly, is that we can focus on the important part, like the named token and parse rule.