RE: Enhancement Request: Custom regex filters in TortoiseMerge
From: Eric Hirst <Eric.Hirst_at_noetix.com>
Date: Thu, 7 Apr 2011 09:11:16 -0700
Thanks Stefan -- I voted on the code comments feature request.
In practice, I haven't seen much need to exclude code comments. They are easy enough to review manually. But I have seen a lot of cases (refactoring especially) where I've had to turn whitespace and line feed settings on and off during comparison sessions. If custom filters were available, I'd be adding and removing those a lot as well. So I'd lobby for some sort of unified interface for whitespace options, code comments, and custom ignore filters.
If multi-line regex filters for /* */ comments can be made to work, there might be nice opportunities to write other custom multi-line filters to cover common refactoring scenarios. For example, breaking up a long C# argument list into multiple lines. I don't know if anyone has come up with a good solution for this in other tools or not. There are some subtleties here -- reviewers might want to see all changes but also have automated cues to indicate what's cosmetic and what isn't.
User interface could be a simple text editor window (disable/enable filters by commenting/uncommenting lines of text), or something fancier with checkboxes, etc. A full implementation would also support customized defaults based on both file type (to cover the code comment use case) and file location ("I want to filter out tool-generated datetime patterns from XML files in directory \foo...")
-Eric
-----Original Message-----
On 01.04.2011 02:44, Eric Hirst wrote:
See here:
Stefan
-- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest Interface to (Sub)Version Control /_/ \_\ http://tortoisesvn.net ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2716263 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org]. ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2717722 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].Received on 2011-04-07 18:11:26 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.