Stefan,
I sure hope you are doing this parsing asynchronously, because I can see
these regexs being very slow trying to parse through who knows how many
files and who knows how big each one of these text files are.
Eric J. Smith
> -----Original Message-----
> From: SteveKing [mailto:steveking@gmx.ch]
> Sent: Sunday, February 13, 2005 5:03 AM
> To: TortoiseSVN Dev
> Subject: [TSVN] Autocompletion list in the commit dialog
>
> 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.tigris.org/files/documents/406/20668/RegExpTest.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.net/repos/tortoisesvn/trunk/src/TortoiseSVNSetup/autoli
> st.txt
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Feb 13 18:36:55 2005