just wanted to let you guys know I released a beta version of my first-ever IntelliJ IDEA plugin.
I put it on sourceforge for now until I get to a 1.0 release (which I will then upload to the plugin repository).
It's a plugin for generating javadoc for getters, setters, overriding methods and default constructors and it is template-based.
You can find information on the plugin at http://ideadoc.sourceforge.net
There are still some rough edges I would like to fix and I'm hoping someone could help me out:
- I added the ideadoc action into IDEA's Generate-menu. I noticed that the Generate menu with my
new action shows up even when pressing ALT+Insert outside Java-files (in XML files for example)
How can I make that action visible only when the other java generate-actions are visible (like 'generate getter')?
- Since the OpenAPI doesn't give access to the fileTemplates yet, I used the trick described here:
So then I can read the templates. I have to replace the predefined variables myself then if I'm
not mistaken. I did that for $ and $ as well, but I used a fixed locale now.
Is there any way to get to the current Date- and Time-formatter IntelliJ uses?
- I tested the fileTemplate location-trick on MAC OS X (10.3.9) as well, but it doesn't work for
writing new fileTemplates and since I'm a complete Mac newbie I was hoping someone would be
able to provide me with a solution that works on the Mac.
It seems that on the Mac, IntelliJ IDEA is a .app file, which is some sort of archive.
So I cannot write new templates to it. What is the best way to read and write fileTemplates on the Mac?