| Author |
Message |
|
|
|
Post subject: Quick-Add of Date, Time and User?
Posted: Feb 26, 2004 - 06:56 PM
|
|

Joined: Feb 26, 2004
Posts: 6
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 28, 2004 - 01:04 PM
|
|

Joined: Feb 04, 2004
Posts: 21
Location: London
|
|
| Are you thinking of a pop up with various inserts like date, time, user name etc? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 28, 2004 - 01:25 PM
|
|

Joined: Feb 26, 2004
Posts: 6
|
|
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:
| Code: | ==========================
Channing Walton
13:12 2/28/2004 MST
==========================
|
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...  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 29, 2004 - 01:40 PM
|
|

Joined: Feb 04, 2004
Posts: 21
Location: London
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 29, 2004 - 01:53 PM
|
|

Joined: Feb 04, 2004
Posts: 21
Location: London
|
|
|
|
|
 |
|
|
| |