Hook into Java code formatter?
"thislooksfun" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello NetBeans community! I'm trying to write a plugin to add a couple more options to the Java code formatter. They basically work now, but they are applied on save, not on format. Is there a way to run my code after the built-in Java formatter runs? For example: If the user were to click on Code: Source > Format , I want the default formatter to run - as it does now - but then run my code afterwards. Is this possible to do in a plugin, or do I need to edit the base code? Thanks, -tlf P.S. I'm fairly sure this is the right place for this question, but if it's not please let me know.[/code]