[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Feature request - configurable intellisense prompts

From: Peter Mounce <pmounce_at_narrowstep.com>
Date: 2007-06-05 13:26:16 CEST

Hi all

We use a tool called TargetProcess for our issue tracking and project management,
that uses TSVN's bugtraq integration. It works by scanning svn-logs for
tokens it understands. It would be really cool if there were a way for TortoiseSVN
to help the developers know what tokens are valid.

I thought maybe there could be a new property, like tsvn:promptExtensionsUrl
or similar, that holds the URL to an XML file that defines specific things
that can appear in the auto-complete list.

The XML file could look like:

<promptLists escapeValue="$">
        <prompts trigger="state:">
                <prompt>Open</prompt>
                <prompt>InProgress</prompt>
                <prompt>InVerification</prompt>
                <prompt>Closed</prompt>
        </prompts>
        <prompts trigger="time:">
                <prompt>$hh$h:mm</prompt>
                <prompt>$mm$m</prompt>
                <prompt>$h.m spent$:h.m remaining</prompt>
        </prompts>
</prompts>

For example.

That example would tell TortoiseSVN to look for the user typing "state:"
and "time:", and if found, would then offer the 4, and 3, options respectively.
 Here, the prompts are to aid the user in knowing the pattern that TargetProcess
expects its state-names to be in, and its time records.

The use of the dollar-sign is meant to highlight cursor position (if just
one dollar sign is present in the prompt), or selection highlight (if two
dollars are present, the text between the two should be highlighted). The
escapeValue attribute defines which character (or string) should be used.

The example here is specific to TargetProcess. However, I'm sure it could
be used for other tools and purposes; I'm sure different people have different
processes that are standardised. It seems like it could be used for those,
too.

Does this sound like a useful thing to anyone else? I mean, I know _I_ would
really like to see it...

Regards
Peter Mounce

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jun 5 13:26:59 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.