Skip to main content

Geertjan Wielenga: Code Folding via NetBeans, JJTree, and PowerJava

Code Folding via NetBeans, JJTree, and PowerJava: Once you have a ParserResult, as described yesterday, you also need to have access to some kind of AST node, i.e., not only tokens. Tokens let you distinguish between individual characters in a document, but that's not enough if you want to create code folding for your editor. Below you see code folding for PowerJava, which is...

Community: NetBeans