Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1534: Refactor hangs VS2005 with read-only files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pbrown
Senior Member

USA
44 Posts

Posted - Sep 11 2006 :  5:17:42 PM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
Yes, easily reproduced, and a known issue.

case=2153

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 16 2006 :  10:06:17 AM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000