Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [TSVN] Autocompletion list in the commit dialog

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

[TSVN] Autocompletion list in the commit dialog

Author SteveKing <steveking at gmx dot ch>
Full name SteveKing <steveking at gmx dot ch>
Date 2005-02-13 03:02:38 PST
Message Hi guys,

As of revision 2659, TSVN now can parse all the files listed and checked
in the commit dialog for words to use in the autocompletion list. This
is a very handy feature when writing log messages since it helps you
refer to changed methods, class names, ...
The parsing of the files is done with regexes (that's why I needed a
regex lib, not just for the bugtracking integration). And here's where
you can help!

We need many good regex strings to parse as many filetypes as possible.
Currently, I have only a basic regex implemented for .h and .cpp files,
but there are many more files out there we can parse.

So here's how you can help:
- find a filetype/programming language you know well
- decide what of a typical file of that type you'd want in the
autocompletion list. Usually, you'd want method/function names, class
names, interface names. But maybe not variable names since then the
autocompletion list could get just too big!
- write a regex to parse for those strings
- test your regex on as many files you can find
- improve the regex and test again.
- test the whole thing with TSVN directly
- send us your regex string with the filetype you want it to apply to,
and maybe some testfiles too.

To help you with this task, there's a little tool to test your regex
strings on files located here:
http://tortoisesvn.t​igris.org/files/docu​ments/406/20668/RegE​xpTest.exe
Just enter your regex string and drag the files you want to test it with
over the dialog. The parsed strings will be listed at the bottom of the
dialog.

The autolist.txt file which TSVN uses to find out which regex to apply
to which filetype is located in the TSVN installation /bin folder. And
of course in our sourcetree:
https://svn.collab.n​et/repos/tortoisesvn​/trunk/src/TortoiseS​VNSetup/autolist.txt​

Stefan

--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest Interface to (Sub)Version Control
    /_/ \_\ http://tortoisesvn.tigris.org

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@tort​oisesvn.tigris.org
For additional commands, e-mail: dev-help at tortoisesvn dot tigris dot org

« Previous message in topic | 1 of 61 | Next message in topic »

Messages

Show all messages in topic

[TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-13 03:02:38 PST
     RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-13 09:33:39 PST
         Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-13 09:55:51 PST
             RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-13 10:13:45 PST
     [TSVN] Re: Autocompletion list in the commit dialog Simon Large <slarge at blazepoint dot co dot uk> Simon Large <slarge at blazepoint dot co dot uk> 2005-02-14 04:23:01 PST
         Re: [TSVN] Re: Autocompletion list in the commit dialog raimue Rainer Müller 2005-02-14 09:30:32 PST
     Re: [TSVN] Autocompletion list in the commit dialog Douglas Stonham <dstonham at pennysaverusa dot net> Douglas Stonham <dstonham at pennysaverusa dot net> 2005-02-16 09:52:09 PST
         Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 10:26:16 PST
             Re: [TSVN] Autocompletion list in the commit dialog Douglas Stonham <dstonham at pennysaverusa dot net> Douglas Stonham <dstonham at pennysaverusa dot net> 2005-02-16 10:38:54 PST
                 Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 11:19:42 PST
                     RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 11:49:19 PST
                         Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 12:08:37 PST
                             RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 12:14:53 PST
                                 Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 12:21:56 PST
                                     RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 12:25:04 PST
                                         Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 12:36:47 PST
                                             RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 12:55:41 PST
                                                 Re: [TSVN] Autocompletion list in the commit dialog SteveKing <steveking at gmx dot ch> SteveKing <steveking at gmx dot ch> 2005-02-16 13:10:08 PST
                                                     Re: [TSVN] Autocompletion list in the commit dialog Douglas Stonham <dstonham at pennysaverusa dot net> Douglas Stonham <dstonham at pennysaverusa dot net> 2005-02-16 13:14:08 PST
                                                         RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 13:23:32 PST
                                                             Re: [TSVN] Autocompletion list in the commit dialog Toby Johnson <toby at etjohnson dot us> Toby Johnson <toby at etjohnson dot us> 2005-02-16 14:31:07 PST
                                                                 RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 14:34:28 PST
                                                                     Re: [TSVN] Autocompletion list in the commit dialog Toby Johnson <toby at etjohnson dot us> Toby Johnson <toby at etjohnson dot us> 2005-02-16 14:44:17 PST
                                                                 Re: [TSVN] Autocompletion list in the commit dialog Douglas Stonham <dstonham at pennysaverusa dot net> Douglas Stonham <dstonham at pennysaverusa dot net> 2005-02-16 14:54:19 PST
                                                                     RE: [TSVN] Autocompletion list in the commit dialog ejsmith Eric J. Smith 2005-02-16 14:57:35 PST
Page: of 3 « Previous | Next »
Messages per page: