Rearranger usage example
Rearranger usage example
I added <lang.rearranger language="Haxe" implementationClass="com.intellij.plugins.haxe.ide.rearranger.HaxeRearrangerModel" /> to plugin descriptor
I made a class which implements com.intellij.psi.codeStyle.arrangement.Rearranger like it's described in docs.
https://github.com/JetBrains/intellij-community/blob/master/java/java-impl/src/com/intellij/psi/codeStyle/arrangement/JavaRearranger.java
This one looks complicated, maybe there are instructions somewhere?
Best regards,
Boyan
Please sign in to leave a comment.
Only javadoc in Rearranger interface.
Second implementation example is com.intellij.xml.arrangement.XmlRearranger.
Thanks. How to add JavaDoc for OpenAPI? It there is a Document path/URL for it?
Clone IntelliJ IDEA Community Edition repo (git clone https://github.com/JetBrains/intellij-community) anywhere on the computer (it takes some time), open Sources tab of the Plugin SDK (Project Structure dialog) and add path to the cloned repo root. After some scanning IDE will find all src folders - accept them. You'll be able to navigate to source and preview docs.
Thanks