Eclipse Wiki Editor - Quick-Add of Date, Time and User? fudster - Feb 26, 2004 - 06:56 PM Post subject: Quick-Add of Date, Time and User?
Hey Channing, just thought of another idea.
When you're sharing your Wiki via CVS, it might be nice if there was a quick way to insert a means of delimiting your new contribution to the wiki page, including an indication of who you are and when you did it.
What do you think?
__
_)ohn.
channingwalton - Feb 28, 2004 - 01:04 PM Post subject:
Are you thinking of a pop up with various inserts like date, time, user name etc?
fudster - Feb 28, 2004 - 01:25 PM Post subject:
Hmm... Well, I wasn't thinking of a dialog. Just an instant insert of a tagline of some kind, with information that could (hopefully) be derived on-the-fly. Sort of like Notepad does when you press F5. Let's see, something like:
Guess that sort of leaves it up to the poster how they want to use it, i.e. whether to use the tagline ahead of their post, afterward, or both. From a "Wiki standard" perspective, I'm not really sure how the plugin should prescribe that, as I'm fairly new to Wikis. What do you think?
I'm also new to Eclipse and plugin programming, so I'm not sure how the user or username could be derived. But I've seen it done elsewhere, in the JDT. Like the code templates that insert your class header or JavaDoc comment, complete with the date, time and your name (@author).
Yeah, if the Preferences dialog could present some sort of template like the Java templates, that would be ideal. But it's asking for quite a bit... channingwalton - Feb 29, 2004 - 01:40 PM Post subject:
I've been thinking about this and it sounds like it could be a new plugin that could add to any editor including the wiki editor. Your idea of templates led me to think that generic template support in eclipse could also be useful for other editors, although I'm not sure how it would be done
I'm tempted to raise a feature request for this.
Channing
channingwalton - Feb 29, 2004 - 01:53 PM Post subject:
There is already development under way to add generic templates to Eclipse which will probably help us. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=11020