https://bugs.kde.org/show_bug.cgi?id=359948

Alexander Potashev <aspotas...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1

--- Comment #2 from Alexander Potashev <aspotas...@gmail.com> ---
It depends on the order of #define and #ifndef.

1. I confirms it works in your scenario:
#define FOO
#ifndef FOO

2. When I first do #ifndef FOO and try to right-click on "#define FOO" to
rename and perform the renaming, KDevelop renames only the identifier in the
"#define FOO" line.

3. When I write the same code (#ifndef FOO, then #define FOO) and right-click
on the #ifndef FOO line, there is not "Rename [...]" item in the context menu
at all.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to