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

Re: Log auto-completion

From: Clemens Anhuth <clemens_at_froglogic.com>
Date: Thu, 07 May 2009 10:12:59 +0200

webpost_at_tigris.org wrote:
> We have defined a set of rules to be used while describing the commit message. These rules imply the use of particular Keywords which have the following representation: "[Dev]", "[Delivered]", "[ToBeReleased]" and so on...
>
> While Tortoise SVN allows to perform autocompletion of the message by analysing the names of the files that are to be commited. Is it possible to make Tortoise SVN perform the same type of autocompletion with our defined keywords?
> For example : When a user starts typing the characters "[T" the keyword "[ToBeReleased" shall be displayed.
>
> This would help the whole team to have identical structure of log messages.
>

Hello Thomas,

maybe you can introduce AutoHotkey, which can not only solve that
particular requirement of yours:

http://www.autohotkey.com/docs/Hotstrings.htm

You can generate small *.exe files from AutoHotkey scripts, should that
be desired.

A script for your case would look like this:

#SingleInstance force
:k-1*:[t::[ToBeReleased]

Another interesting use is incorporating whatever is in the clipboard:

:k-1*:ssout::
    SendInput, System.out.println( ": " {+} );{Left
9}%clipboard%{End}{Left 3}%clipboard%{End}
return

In clipboard:

  myVarX

When triggered via "ssout":

  System.out.println( "myVarX: " + myVarX );

(Other uses include showing a reminder every 15 minute to update my To
Do list, starting Windows Explorer and various other programs on
keyboard shortcuts (Windows Explorer can do this too, but sucks at it),
grabbing what's selected or what's in the clipboard to fire up the web
browser (in case of URLs) or google (in case of text) with that with a
single key combination, automatically closing nag/ad screens.)

With best regards

Clemens Anhuth

-- 
www.froglogic.com - Squish - Multi-Platform GUI Testing
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2091663
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-07 10:19:55 CEST

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.