JavaParser-AST-Inspector icon indicating copy to clipboard operation
JavaParser-AST-Inspector copied to clipboard

Using JavaParser (https://github.com/JavaParser/JavaParser), browse and navigate the Abstract Syntax Tree (AST) based on the code in your editor.

Results 41 JavaParser-AST-Inspector issues
Sort by recently updated
recently updated
newest added

Currently the highlighting remains even when the parse is restarted or reset. This probably shouldn't be the case.

e.g. at the moment it is yellow with a red outline -- make it different?

At the moment it is looking a little bare! There are some screenshots in the releases pages - perhaps these can be incuded? We should probably also include some instructions...

documentation

https://github.com/MysterAitch/JavaParser-AST-Inspector/runs/597874765?check_suite_focus=true https://pipelines.actions.githubusercontent.com/xDrJHNn97dfMNznZgbNSm0KA3ARgiHI6jQn05sOzj0eE8RtAJn/_apis/pipelines/1/runs/61/signedlogcontent/7?urlExpires=2020-04-18T14%3A05%3A34.7872696Z&urlSigningMethod=HMACV1&urlSignature=qXhyU1A8AbzVc%2FdVXbWYPKhVSG5dP6b3Zoast6EA8Sc%3D ``` 2020-04-18T13:52:12.8330200Z ##[group]Run echo "The verifier log file [verification_result.log] contents : " ; 2020-04-18T13:52:12.8330577Z echo "The verifier log file [verification_result.log] contents : " ; 2020-04-18T13:52:12.8330836Z cat verification_result.log 2020-04-18T13:52:12.9011110Z...

At minimum flag that the text has changed, thus the parsed AST and ranges (and highlighting) may no longer apply.

Plan: Be able to jump to the source code based on the selected node in the AST display Possibly do the reverse also?

Currently it picks up the project's roots from IntelliJ and includes those when parsing. Plan: Make use of this to do symbol resolution / parsing of rest of project (fuzzy...)

Flag up any discrepancies / variations between JP and the IntelliJ PSI methods https://www.jetbrains.org/intellij/sdk/docs/basics/psi_cookbook.html Examples: - compare the jp's `getDeclaredMethods()` versus what the PSI indicates it should be