Program to rename C/C++ symbols (variables/functions)

From: OvErboRed (publicNO_at_SPAMoverbored.net)
Date: 04/30/04


Date: Fri, 30 Apr 2004 07:54:46 +0000 (UTC)

Is there a program that can help me safely rename a variable, function,
constant, macro, etc. in either C or C++? Simple search-and-replace doesn't
work, because you need something that understands the semantics, scoping
rules, and so forth. I guess I'm looking for something like cscope, but
with replacement functionality. (Even better: is there such a tool that is
vim-friendly?) Thanks in advance for any pointers.



Relevant Pages

  • Program to rename C/C++ symbols (variables/functions)
    ... Is there a program that can help me safely rename a variable, function, ... constant, macro, etc. in either C or C++? ... Simple search-and-replace doesn't ... Thanks in advance for any pointers. ...
    (comp.lang.cpp)
  • Search-and-replace macro never works
    ... I'm trying to do a search-and-replace of my name in a certain style. ... So, when recording the macro, I do a search-and-replace, enter my name ... and it gets rid of them. ... However, when I play the macro, it does nothing. ...
    (microsoft.public.word.docmanagement)
  • Re: Search-and-replace macro never works
    ... The following macro will do what you want: ... I'm trying to do a search-and-replace of my name in a certain style. ... So, when recording the macro, I do a search-and-replace, enter my name ... and it gets rid of them. ...
    (microsoft.public.word.docmanagement)