Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Line ends by comment character(s)

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

tortoisesvn
Discussion topic

Back to topic list

Re: Line ends by comment character(s)

Author steveking
Full name Stefan Küng
Date 2016-07-11 13:09:14 PDT
Message On 11.07.2016 12:43, Hubert Sack wrote:
> I've a lot of source code for a PCS. There the "real" end-of-line is
> the ; character, the rest of the line is comment. Some tools of mine
> places reference information in such comments - some of them are
> references to the linenumber. In the current version of TortoiseMerge
> there ist no option to set an "end-of-line" character (or a grep
> expression - this would be an extremly powerful option) to able to
> ignore differences in comments (like differences in whitespaces now)
> So I suggest to add an option "ignoring differences in comments"
> _and_ a string (or a grep expression), how this comment "starts"
> e.g. // for c++ -- for VHDL ; for assembler (and this would be true
> for my use, too)

There's a filter feature available, where you can set a regex and a
replace string. Just replace all comments with an empty string and they
will be ignored.

Stefan


--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest interface to (Sub)version control
    /_/ \_\ http://tortoisesvn.net

« Previous message in topic | 2 of 3 | Next message in topic »

Messages

Show all messages in topic

Line ends by comment character(s) hs40470 Hubert Sack 2016-07-11 03:43:01 PDT
     Re: Line ends by comment character(s) steveking Stefan Küng 2016-07-11 13:09:14 PDT
         RE: Re: Line ends by comment character(s) hs40470 Hubert Sack 2016-07-11 13:49:56 PDT
Messages per page: