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

Re: Feature request - configurable intellisense prompts

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-06-05 19:40:52 CEST

Peter Mounce wrote:
> 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.

Since this is for the commit dialog, I'd rather have that file stored
directly in the property itself. I guess you already know that I don't
like any repository (or other remote) access in the commit dialog :)

> The XML file could look like:
>
> <promptLists escapeValue="$">
> <prompts trigger="state:">
> <prompt>Open</prompt>
> <prompt>InProgress</prompt>
> <prompt>InVerification</prompt>
> <prompt>Closed</prompt>
> </prompts>

That's not too complicated (apart from being in XML - maybe some clean
config-file like syntax would do the job too).

> <prompts trigger="time:">
> <prompt>$hh$h:mm</prompt>
> <prompt>$mm$m</prompt>
> <prompt>$h.m spent$:h.m remaining</prompt>
> </prompts>
> </prompts>

This however might be a little bit more complicated.

> 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.

Sorry, but I don't understand how this should work.
I guess you want to have the autocompletion feature show
"Open"
"InProgress"
"InVerification"
"Closed"
as soon as the user types 'state:'.

But what should be done exactly when the user types 'time:' ?
And what would pressing the escapeValue char do?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jun 5 19:41:12 2007

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