469,889 Members | 1,412 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

select column of data in ide

cj
This is only an example not an actual project.

Say I have 200 lines of code like this:

Dim reqType As String = wuReq.Substring(8, 3)
Dim reqCust As String = wuReq.Substring(11, 23)
Dim reqSend As String = wuReq.Substring(34, 40)
Dim reqPhon As String = wuReq.Substring(74, 17)
Dim reqMtcn As String = wuReq.Substring(91, 16)
Dim reqPaym As String = wuReq.Substring(107, 13)
Dim reqTran As String = wuReq.Substring(120, 24)
..
..
..
Dim reqAgen As String = wuReq.Substring(144, 9)
Dim reqClin As String = wuReq.Substring(153, 25)

Perhaps my boss wants me to email him a list of the variables. Names
only. I want to select a block of text but not all of each line.

In many programming related text editors you could right click on the
beginning of the first variable and pull down to the last line and then
over end of that variable name, press copy, then I'm free to paste them
into an email. (Of course I'm assuming the names are all the same
lenght). This ability has many other uses too.

I don't think this is possible in the VS ide but then I might be and I
just do not know how to do it. Can this be done? If so how?
Jan 11 '07 #1
2 1015
Perhaps my boss wants me to email him a list of the variables. Names
only. I want to select a block of text but not all of each line.

In many programming related text editors you could right click on the
beginning of the first variable and pull down to the last line and then
over end of that variable name, press copy, then I'm free to paste them
into an email. (Of course I'm assuming the names are all the same
lenght). This ability has many other uses too.

I don't think this is possible in the VS ide but then I might be and I
just do not know how to do it. Can this be done? If so how?
If you want to select a VERTICAL block of text, hold the ALT key while
selecting.

Jan 11 '07 #2
cj
yes, exactly. I didn't know the vs ide had that. Thanks!

lo*********@gmail.com wrote:
>Perhaps my boss wants me to email him a list of the variables. Names
only. I want to select a block of text but not all of each line.

In many programming related text editors you could right click on the
beginning of the first variable and pull down to the last line and then
over end of that variable name, press copy, then I'm free to paste them
into an email. (Of course I'm assuming the names are all the same
lenght). This ability has many other uses too.

I don't think this is possible in the VS ide but then I might be and I
just do not know how to do it. Can this be done? If so how?

If you want to select a VERTICAL block of text, hold the ALT key while
selecting.
Jan 11 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tcs | last post: by
2 posts views Thread by Chris Plowman | last post: by
33 posts views Thread by Peter | last post: by
4 posts views Thread by tshad | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.