How to unlock "external source" files?

All the files I open that are not part of my current solution are all locked. Is there an option in ReSharper to remove that feature?
I'm using ReSharper 5.1 and VS.Net 2008.
Thanks.

5 comments
Comment actions Permalink

Hello Benjamin,

I believe ReSharper should not lock the files that are not part of the current
solution. Do I understand correctly that the files are unlocked if ReSharper
is suspended under Tools | Options | ReSharper | General? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

All the files I open that are not part of my current solution are all
locked. Is there an option in ReSharper to remove that feature?

I'm using ReSharper 5.1 and VS.Net 2008.

Thanks.

---
Original message URL:
http://devnet.jetbrains.net/message/5278171#5278171



0
Comment actions Permalink

I just tried opening a file not in the solution by pressing F12 (by the way I love the fact that ReSharper opens the real file, contrary to VS.Net that would simply open a "fake" file from "metadata" with just the signatures of the members of the class) and it opens the right file, but locked.
Then I tried simply opening another file, locked too.

I then suspended ReSharper and did the same 2 operations: 1st one gives me the metadata, 2nd one opens the file *not* locked.

So indeed it looks like ReSharper locks the files for some reasons (I would like in both cases the files not to be locked).

Thanks Andrey.

0
Comment actions Permalink

Andrey, Benjamin,

Do I understand correctly that by Locked you mean not locked on disk, but
having a Lock icon on the tab and being not able to edit it?

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


BT> I just tried opening a file not in the solution by pressing F12 (by
BT> the way I love the fact that ReSharper opens the real file, contrary
BT> to VS.Net that would simply open a "fake" file from "metadata" with
BT> just the signatures of the members of the class) and it opens the
BT> right file, but locked.
BT>
BT> Then I tried simply opening another file, locked too.
BT>
BT> I then suspended ReSharper and did the same 2 operations: 1st one
BT> gives me the metadata, 2nd one opens the file not locked.
BT>
BT> So indeed it looks like ReSharper locks the files for some reasons
BT> (I would like in both cases the files not to be locked).
BT>
BT> Thanks Andrey.
BT>
BT> ---
BT> Original message URL:
BT> http://devnet.jetbrains.net/message/5278221#5278221


0
Comment actions Permalink

Exactly Ilya, the files are readonly in VS.Net (with a lock icon on the tab), sorry for not being really clear about it.

0
Comment actions Permalink

Also by simply suspending and resuming ReSharper the small lock on the corresponding tabs disappears and reappears (in my previous test I 1st started or resumed ReSharper and only then I opened the files).

0

Please sign in to leave a comment.