Auto Complete links in tiddlers

49 views
Skip to first unread message

AviMar

unread,
Feb 15, 2008, 3:52:06 AM2/15/08
to TiddlyWiki
There is a great plugin for auto completing while you type tags, but
is there one for when you write normal [[ links in a tiddler? The case
sensitivity makes it a bit more annoying.
Thanks!

FND

unread,
Feb 15, 2008, 4:07:55 AM2/15/08
to Tiddl...@googlegroups.com
> There is a great plugin for auto completing while you type tags, but
> is there one for when you write normal [[ links in a tiddler?

Try AutoWeavePlugin:
http://weave.tiddlyspot.com/#AutoWeavePlugin

Also see this recent thread:
http://tinyurl.com/39n7zv
(http://groups.google.com/group/TiddlyWiki/browse_thread/thread/fcbc4121d866ac1c/)


-- F.

AviMar

unread,
Feb 15, 2008, 4:42:06 AM2/15/08
to TiddlyWiki
Ah so that will auto link non-wiki words if they exist elsewhere - but
its case sensitive. Couldn't really understand when I first saw it..
But I am more looking for bracketing something I ''don't'' know the
full name for. search makes it easy, but it's an extra step. I
wouldn't mind an alternate bracketing to tell it to look it up.
perhaps a macro? <<srch "some term">>

-Avi
> (http://groups.google.com/group/TiddlyWiki/browse_thread/thread/fcbc41...)
>
> -- F.

FND

unread,
Feb 16, 2008, 2:39:47 PM2/16/08
to Tiddl...@googlegroups.com
> I am more looking for bracketing something I ''don't'' know the
> full name for. [...] I wouldn't mind an alternate bracketing to

> tell it to look it up.

So while editing, you want to enter a term (from the respective
tiddler's title or body) and get a list of suggestions?
I'm not aware of any such plugin - but it's not a bad idea, so I gave it
a try myself:
http://fnd.lewcid.org/svn/TiddlyWiki/plugins/AutoCompletePlugin.js
Note that this is a very early and experimental version. As of now, you
can only search from the beginning of a tiddler title or tag name.
It would be rather simple to adjust this to allow searching within
tiddlers, but I'm not sure when I'll get around implementing that.


-- F.

Eric Shulman

unread,
Feb 16, 2008, 4:09:45 PM2/16/08
to TiddlyWiki
> But I am more looking for bracketing something I ''don't'' know the
> full name for. search makes it easy, but it's an extra step. I

http://www.TiddlyTools.com/#GotoPlugin

performs a key-by-key 'search' of tiddler titles, and can insert the
result directly into the tiddler text field:

Try adding the following to the toolbar section of your
[[EditTemplate]

<span class='toolbar' macro='gotoTiddler insert'"></span>

Although the interaction is not directly 'inline' in the tiddler
editor, the gotoTiddler input field performs an incremental (key-by-
key), case-insensitive, search, including partial matches occuring
*anywhere* in the tiddler titles, and displays a droplist of possible
matches. Select a title from the list (or enter enough input for a
unique match, and then press enter). This inserts (or replaces the
current selection) with the chosen title.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

AviMar

unread,
Feb 17, 2008, 6:36:36 AM2/17/08
to TiddlyWiki
It gave me an error - ah, I do have vs 2.1? I think, so maybe its new
changes..
1. Error while executing macro <<edit>>:
2. TypeError: e has no properties

FND

unread,
Feb 17, 2008, 6:48:57 AM2/17/08
to Tiddl...@googlegroups.com
> It gave me an error - ah, I do have vs 2.1?

You're right - the plugin relies on a simple core change that's only
been introduced recently*.
So I'm afraid I had to increase the CoreVersion requirement to v2.3.


-- F.


* cf. http://trac.tiddlywiki.org/changeset/2771

AviMar

unread,
Feb 17, 2008, 6:55:50 AM2/17/08
to TiddlyWiki
Wow, pretty nifty!

I just couldn't see how to make in on the same line as the div for the
header - when i made that a span it stopped auto-hiding itself. Ah
well, my poor html skills.

(I love this drop-in for functionality thing!)

-Avi
Reply all
Reply to author
Forward
0 new messages