Viewing one routine at a time vs. all routines with dividing lines

J

Just_a_fan

After a decade with VB6, viewing each routine by itself, I got used to
seeing only one routine at a time. The advantage is that you cannot
accidentally scroll out of the routine.

VB6 allowed both views, either all at once or routine-by-routine. I
cannot find a way to view routine-by-routine in 2008.

Is that possible?

Yeah, I might get used to this way but pine for the familiar (and
sometimes fjords)...

Mike
 
H

Herfried K. Wagner [MVP]

After a decade with VB6, viewing each routine by itself, I got used to
seeing only one routine at a time. The advantage is that you cannot
accidentally scroll out of the routine.

VB6 allowed both views, either all at once or routine-by-routine. I
cannot find a way to view routine-by-routine in 2008.

Is that possible?

Unfortunately no.
 
G

Guest

(e-mail address removed) wrote in 4ax.com:
After a decade with VB6, viewing each routine by itself, I got used to
seeing only one routine at a time. The advantage is that you cannot
accidentally scroll out of the routine.

VB6 allowed both views, either all at once or routine-by-routine. I
cannot find a way to view routine-by-routine in 2008.

Is that possible?

You could use partial classes to do this, but in general, I don't think
this is an option in VS.NET 2005/2008.

Just remember, you'll not building a single routine anymore, but rather
an object which consists of multiple properties and methods.
 
B

Bill McCarthy

The closest you can get is to use outlining. CTRL M + CTRL O collapses all,
then you toggle the method you are working on with CTRL M +CTRL +M (also
available form the Edit menu)

Collapsing code and leaving only the blocks you are working on expanded can
be really useful. Compared to single procedure view, you can see at once
what methods you are working on.

$0.02
 
R

RobinS

After a decade with VB6, viewing each routine by itself, I got used to
seeing only one routine at a time. The advantage is that you cannot
accidentally scroll out of the routine.

VB6 allowed both views, either all at once or routine-by-routine. I
cannot find a way to view routine-by-routine in 2008.

Is that possible?

Yeah, I might get used to this way but pine for the familiar (and
sometimes fjords)...

Just be careful about pining for the fjords. You know where that got the
parrot.

RobinS.
 
J

Just_a_fan

Finally, someone got the reference.

And, now, it's time for the penguin on top of your television set to
explode.

But, seriously, folks...

It does not matter if I am writing a collection of routines, a class, a
module or whatever, there is a major design flaw in the way VS9 presents
the code in the source window. Just plain usability testing should have
let them know almost immediately that as soon as you get a dozen or so
routines in a form or module that is becomes exponentially more
difficult to find what you want if there is no ordering to the chaos.
You have to keep the entire structure of the form/module/class/whatever
in your brain. Where EVERY variable is!

Sometimes, this thing will not even find variables in code that is
collapsed and I really do have to have it memorized. That's very bad
news for me. I expect the computer to remember and I don't have to!
Now, like back in the days of cards, I have to know it all. Search
fails, routines in random order ... What next???? Invisible statements
that you have to remember are there???

One cannot make it like it used to be (optionally) in VB6 where it is
routine by routine AND it is not even sorted alphabetically so when
looking for routines, one has to scan up and down until you stumble
across it.

This is a major step BACKWARDS, M$!!

Who could have possibly thought that having a random presentation of
routines is a good thing???

Not ordered, cannot select them one at a time, able to easily scroll
right out of a routine (if more than one adjacent are open)... I
started collapsing them at every opportunity and then find started
failing.

No, this is not an advance of the state of the art. I only hope that
someone notices, other than me, who is closer to the code and they make
it orderly once again, next time. I feel it was really blown this time
around. Don't know about 2003 and 2005. Never used them. If this is
the third iteration of this random presentation, then we are sunk! I
hope not!!

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top