unable to replace string in source file if source file is not already checked out for editing


source file is part of TFS collection and is not already checked out for editing. if i try to replace a string in the file by moving it to a resource file ("Move to resource file"), i get a message that the file can't be modified. clicking cancel, making a simple change to the file, which results in VS automatically checking the file out, and retrying the move results in success.

would it be possible to automatically check the source file out?