how to detect lines of code with regex in VIM

Posted by nightingale2k1 on Stack Overflow See other posts from Stack Overflow or by nightingale2k1
Published on 2010-05-31T07:35:56Z Indexed on 2010/06/01 4:43 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

Hi,

I have so many println("") in my codes .. I know it is messy ... I want to put comment for each of the println("");

how to do that in VIM ? I mean I want to do that on multiple files.

Also if possible, can it detect whether the lines has // already or not ... if the lines has been commented .. I don't want to add new //

© Stack Overflow or respective owner

Related posts about regex

Related posts about linux