select column of data in ide

  • Thread starter Thread starter cj
  • Start date Start date
C

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?
 
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.
 
Back
Top