[Qt-creator] Refactoring class name does not work correctly all the time

Timi Tuohenmaa timit at iki.fi
Mon Nov 9 09:28:29 CET 2009


Seems that my previous description is only part of the problem.
Renaming does sometimes cause duplications even when file is not
listed multiple times.


-Timi


2009/11/9 Timi Tuohenmaa <timit at iki.fi>:
> Hi,
>
> If SHA is that "From revision", then it is 0d1bdd0be2.
>
> Btw. I just tested with 2009-11-07 (SHA ee64379bdc) and renaming is
> still broken.
>
> Tried renaming private variable and then public function and it failed again.
>
> Now that I looked this issue again. It seems that when I choose the
> refactoring some files are occasionally found twice in search results
> before I actually do the refactoring. This somehow causes refactoring
> to be done in a way where new name is written twice instead of once.
> If I manually unmark those extra foundings then it renames functions
> correctly.
>
> I also noticed that after renaming function I can't immediately choose
> rename again for a same function (unless I save file first) as it
> finds nothing to rename (not even the line what I wanted to rename).
>
>
> -Timi
>
>
> Problem seems to occur quite randomly (and often)
>
> 2009/11/6  <roberto.raggi at nokia.com>:
>>
>> Hi Timi,
>>
>> On Nov 6, 2009, at 12:59 PM, ext Timi Tuohenmaa wrote:
>>
>>> Hi,
>>>
>>> Shouldn't this then be fixed in snapshot 2009-11-05?
>>
>> please can you post the SHA# of the snapshot? you can find it in the
>> about dialog.
>>
>>>
>>> It is still broken in that snapshot (and there is no snapshot for
>>> Windows for today). So either fix did not work or somehow it did not
>>> go to this build.
>>
>> Weird, I will look into it. Maybe we still have one case that we don't
>> handle.
>> By the way, do you have a way to reproduce the bug?
>>
>> ciao robe
>>
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>




More information about the Qt-creator-old mailing list