It's not a limitation of Notepad but of VS.NET. It's certainly
possible for VS.NET to have an option to copy text as shown instead of
as expanded. I'm sure it's even possible to write a macro or add-in
to achive this.
Other apps provide this type of functionality--in Excel you can hide a
row and then choose to either copy the whole range or copy the visible
rows. Same idea.
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking Mid/Sr. .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Tue, 19 Dec 2006 10:31:25 -0500, "Ignacio Machin \( .NET/ C# MVP
\)" <machin TA laceupsolutions.comwrote:
>Hi,
<ga********@myway.comwrote in message
news:11**********************@a3g2000cwd.googlegr oups.com...
>Hi I would like to know if it's possible to copy just the collapsed
view vissible from the IDE to the clipboard.
If i have collapsed code, and then highlight it and copy it - and then
paste this into notepad for example, the full expanded code listing is
pasted.
Of course, what do you expect to happens?
It's just like if you collapse a method and then copy & paste in the notepad
and you wanted to see it "collapse" , it will not going to happen.
It's only just because the IDE interprete what is written that it is capable
of doing such a magic.
Of course notepad has no idea about that.