Creating editable view of source in my plugin
I am writing a specialized javadoc editor plugin. I want my dialog to show the javadoc text for a given method, and allow the user to edit it the same was as if it was in the regular Java editor. One way to think about it is this: If I split the editor window vertically, I have two different windows on the same file. If I modify the file in one window, the changes are instantly visible in the other. I want a window on the javadoc that acts like that, with the code completion and quick code shortcuts.
I have thought about whether I can simply enhance the java editor itself in some way to get what I want, but I can't see it. Is there a way to do this?
Please sign in to leave a comment.
Hello Ken,
Please have a look at QuickEditAction in the IntelliLang plugin source code.
This is probably most similar to what you're trying to accomplish.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"