PC Review


Reply
Thread Tools Rate Thread

Copy just what you see and not the full expanded view from the code window, to clipboard?

 
 
garyusenet@myway.com
Guest
Posts: n/a
 
      19th Dec 2006
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.

How do i copy just the collapsed portion as it looks in the IDE before
I copy it?

Thankyou,

Gary-

 
Reply With Quote
 
 
 
 
rossum
Guest
Posts: n/a
 
      19th Dec 2006
On 19 Dec 2006 03:45:17 -0800, (E-Mail Removed) wrote:

>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.
>
>How do i copy just the collapsed portion as it looks in the IDE before
>I copy it?
>
>Thankyou,
>
>Gary-

I suspect the only way would be to take the first and last lines of
the text in the clipboard and merge them together somehow to create
what you want.

rossum

 
Reply With Quote
 
garyusenet@myway.com
Guest
Posts: n/a
 
      19th Dec 2006
Wow I think this is really bad on MS's part.

I would think this would be a very basic requirement, but thanks for
letting me know I wasn't overlooking something simple.

rossum wrote:

> On 19 Dec 2006 03:45:17 -0800, (E-Mail Removed) wrote:
>
> >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.
> >
> >How do i copy just the collapsed portion as it looks in the IDE before
> >I copy it?
> >
> >Thankyou,
> >
> >Gary-

> I suspect the only way would be to take the first and last lines of
> the text in the clipboard and merge them together somehow to create
> what you want.
>
> rossum


 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      19th Dec 2006
Hi,


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.


--
Ignacio Machin
machin AT laceupsolutions com


 
Reply With Quote
 
Samuel R. Neff
Guest
Posts: n/a
 
      19th Dec 2006

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.com> wrote:

>Hi,
>
>
><(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> 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.


 
Reply With Quote
 
garyusenet@myway.com
Guest
Posts: n/a
 
      19th Dec 2006
Sam,

That's exactly the point of view I was looking at this at, which is why
I thought it was a pretty basic feature omitted from the IDE.

Thanks for making me still feel sane!

Gary-

Samuel R. Neff wrote:

> 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.com> wrote:
>
> >Hi,
> >
> >
> ><(E-Mail Removed)> wrote in message
> >news:(E-Mail Removed)...
> >> 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.


 
Reply With Quote
 
garyusenet@myway.com
Guest
Posts: n/a
 
      5th Jan 2007
Today I found a kind of workaround for this problem I posted some time
ago.

While printing I noted there is an option to 'hide collapsed regions',
couple that with a print to file, and CTRL V, - and you have a kind of
awkward way of copying just the expanded view into the clipboard!

Gary-

(E-Mail Removed) wrote:

> Sam,
>
> That's exactly the point of view I was looking at this at, which is why
> I thought it was a pretty basic feature omitted from the IDE.
>
> Thanks for making me still feel sane!
>
> Gary-
>
> Samuel R. Neff wrote:
>
> > 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.com> wrote:
> >
> > >Hi,
> > >
> > >
> > ><(E-Mail Removed)> wrote in message
> > >news:(E-Mail Removed)...
> > >> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What happens when the Clipboard is full and I try to copy? Dito Microsoft Word Document Management 3 16th Mar 2009 03:25 PM
Clipboard gets empty by itself, cleared clipboard, copy paste doesn't work, outlook clears clipboard, problems with clipboard - possible solution Jens Hoerburger Microsoft Outlook 0 24th Aug 2006 02:44 PM
unable to copy/paste in excel once clipboard becomes full sengtavanfatsura via OfficeKB.com Microsoft Excel New Users 2 22nd May 2006 09:45 PM
Unable to copy/paste in Excel once clipboard gets full Sean via OfficeKB.com Microsoft Excel Misc 0 26th Apr 2006 11:43 PM
Copy full pathname of file into clipboard Scott Bass Windows XP General 3 20th Jun 2005 06:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:23 AM.