Author |
Topic |
|
pbrown
Senior Member
USA
44 Posts |
Posted - Sep 11 2006 : 5:17:42 PM
|
My source code control system (Perforce) is configured to treat files not checked out for edit as read-only. In the Visual Studio options, I have disabled "Allow editing of Read-only Files" in the "Environment/Documents" section. (Don't remember if that's the default setting or not...)
I attempted a rename operation (VAssistX->Refactor->Rename) on 1534 where one of the affected files was not opened for edit. During the rename operation, VS2005 pops up a dialog box asking what I should do on that file. However, the dialog box does not accept any mouse or keyboard input, probably because the VAX rename operation is in progress. The VAX rename command doesn't complete, probably because VS2005 is waiting for input. The only way out is to terminate VS2005 completely using the task manager.
This doesn't repro if I enable editing of read-only files.
Hopefully, this is easily reproduced. |
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Sep 11 2006 : 11:08:45 PM
|
Yes, easily reproduced, and a known issue.
case=2153 |
Joe Pizzi |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 16 2006 : 10:06:17 AM
|
that is nasty. i have increased the urgency on this case.
for now the work around is to thrin this setting back on in the IDE's options, or to be very careful when using rename. you can use Find References on the variable or member function you are going to rename, before you rename it, to see if it is used in any files that you have not yet checked out.
this is not an ideal work around, but it may help. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|
|
|