[ANN] MiniWiki plugin, v0.3

Added: is now active in java comments and javadoc areas.
Fixed: on "java.lang.String" used to open the decompiled
class, and not the attached code.

17 comments

planned:
- create files and anchors by intention
- smarter anchors in java --> id or method
- path macros (ex: $project$)
- add protocols (ex: http://xxx -> open the browser)
-... and more

0

hi alain,

thanks for this cool plugin ... i always wanted something like this.

cheers

cK

0

Hi Alain,

installed your plugin in Irida, but can't figure out
how it works.
Is it for Irida and/or Pallada?

should it work e.g. in .txt file that contains html
like this:
]]>

do I have to place just cursor within the path,
or is it required to select the full path?
ctrl-click will not work, will it?

Thanks,
M.

0

../../res/slogo2f.jpg

well ok, this is .jpg, but if it is a text link,
it should work?

M.

0

Michael

>Hi Alain,
>
>installed your plugin in Irida, but can't figure out
>how it works.

>
I wrote a nice little doc, and you didn't read it! Shame on you :)
http://www.intellij.org/twiki/bin/view/Main/MiniWikiPlugin

Alain

0

Pressing "Ctrl" + Clicking works nice.

But could u please add some underlining for those "link" when having pressed "ctrl" and moving the mouse over it?

0

Johannes

>Pressing "Ctrl" + Clicking works nice.
>But could u please add some underlining for those "link" when having pressed "ctrl" and moving the mouse over it?

>

Do you mean underlining, in the current editor, all the active links?
For many reasons, I don't think that's feasible/practical.

I plan to add a "Boing"** on Ctrl-B a non-link, but that's all.
I keep an open mind though, as I agree there is no wiki without visual
links.
Why do you think I called it "Mini"wiki ? :)


Alain

    • The one from the "Daily Source Code". If you have it in mp3, please

share.

0

Well,

I do not mean a permanent unerlining.
Just underline a single "link" in the case of
- ctrl is pressed
- and the mouse is over the link

The same behaviour is implemented when navigating between Java classes...

0

Johannes

>I do not mean a permanent unerlining.
>Just underline a single "link" in the case of
>- ctrl is pressed
>- and the mouse is over the link
>
>The same behaviour is implemented when navigating between Java classes...

>

I hadn't noticed this behaviour, because I didn't create it: it's IDEA's
very own.
It's funny but I have just - this afternoon - added a similar feature
for non-java classes links, except that it's triggered by Ctrl-Q, like
QuickJavaDoc.
I call it QuickWikiDoc. Give it a look in the next version (probably
tomorrow).


I'll add the "hover" thing in my todo list.

Alain

0

is it possible to see the sources of this plugin ? thanks

0

Pietro,

>is it possible to see the sources of this plugin ? thanks

>

As I wrote when I published the version v0.1, I'll post the source when
the DevKit plugin works on MacOS X.

Some simple, but useful plugins are ideal to learn how to write a
plugin. Packaging them in a DevKit project, would make it easier for
beginners to learn the fine trade : 1/download, 2/build and run.

Alain

0

Some simple, but useful plugins are ideal to learn how to write a
plugin. Packaging them in a DevKit project, would make it easier for
beginners to learn the fine trade : 1/download, 2/build and run.


A noble goal and an excellent idea. In combination with some improved plugin development documentation (I like your Openapi Almanac suggestion), this could stimulate plugin developement a lot.

Looking forward to it,
Bas

0

looking forward to it, thanks a lot

0

Hi Alain,

If you control click on a package name in the project navigator you get this exception:

java.lang.NullPointerException

at com.ravet.ideaplugins.miniWiki.WikiGotoActionAbstract.psiFile(WikiGotoActionAbstract.java:63)

at com.ravet.ideaplugins.miniWiki.WikiGotoAction.actionPerformed(WikiGotoAction.java:59)

at com.intellij.openapi.e.a.f.a(f.java:22)

at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:63)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:152)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0

Chris

>If you control click on a package name in the project navigator you get this exception:
>

>

I couldn't reproduce it (on Mac OS X).
Could you please check with the new version v04).?

Alain

0

Same behavior with 0.4

Ctrl-click on package node in Project navigator:



Ctrl-click on java class in Project navigator:



0

Chris Sherratt wrote:

>java.lang.NullPointerException
>

>
Thanks for the info.

fixed in v0.5

Alain

0

Please sign in to leave a comment.