VB code editor irritation

T

Tom Dacon

One thing that drives me nuts about coding in VB.Net is the behavior of the
IDE when you split the code window in two by dragging down the separator at
the top of the vertical scroll bar. If you have regions defined in the
source file, splitting the window causes the regions to collapse. If you've
got a region open and are somewhere within it, and then decide to split the
window to look at something elsewhere in the file, pulling the code window
splitter down causes all regions to collapse in both subwindows and you lose
your place in the file. I can't find anything in the VB options that seems
to offer any control over this. Has anyone else been bothered enough by this
to find a solution?

I always tell people that I'm equally comfortable in VB.Net and C#, and I am
as far as writing code goes, but whenever I start a new project of my own I
almost always do it in C#, just because of this seemingly minor irritation.

Thanks for listening,
Tom Dacon
Dacon Software Consulting
 
H

Herfried K. Wagner [MVP]

* "Tom Dacon said:
One thing that drives me nuts about coding in VB.Net is the behavior of the
IDE when you split the code window in two by dragging down the separator at
the top of the vertical scroll bar. If you have regions defined in the
source file, splitting the window causes the regions to collapse. If you've
got a region open and are somewhere within it, and then decide to split the
window to look at something elsewhere in the file, pulling the code window
splitter down causes all regions to collapse in both subwindows and you lose
your place in the file. I can't find anything in the VB options that seems
to offer any control over this. Has anyone else been bothered enough by this
to find a solution?

This behavior still exists in VS 2005 for VB. I think this behavior is
not "by design" and I am planning to post a suggestion/bug report to
MSDN PFC if people here think that this should be changed.
 
T

Tom Dacon

Add me to the list of people who think this should be changed.

I organize my code into regions for constructors, data fields and constants,
public members, private members, and so forth. There's rarely any code in my
classes that's not enclosed in a region, so there's never a time I'd want
the code I'm working on hidden when I do something like splitting the
window.

Tom Dacon
Dacon Software Consulting
 
C

Cor Ligthert

Herfried,

Can you take in that message than as well the intelisence at the end of a
line, which completly covers the place you want to type.

Cor
 
H

Herfried K. Wagner [MVP]

* "Cor Ligthert said:
Can you take in that message than as well the intelisence at the end of a
line, which completly covers the place you want to type.

Mhm... Can you describe this behavior in more detail? If it's a bug
and the behavior still exists in VB 2005 Beta 1, I will post a bug
report/suggestion.
 
C

Cor Ligthert

Herfried,

It is easy to test, write somewhere in the right down corner of the IDE
messagebox.show( and you will see what happens.

(sometimes you have to move it a little bit more to left or right to see it)

Cor
 
H

Herfried K. Wagner [MVP]

* "Cor Ligthert said:
It is easy to test, write somewhere in the right down corner of the IDE
messagebox.show( and you will see what happens.

(sometimes you have to move it a little bit more to left or right to see it)

Mhm... I played around a little bit but I didn't see anything that was
wrong. The intellisense window is shown above the place where the typed
text goes.
 
C

Cor Ligthert

Herfried,

I said move a little bit. and with messagebox.text very much however with
soem room to the right, with me it was upon the to type text. When you than
bring it to the left using the scroll bar it goes ofcourse

(Or maybe can the intelisense in the German language be done with just a few
words)

:)

Cor
 
H

Herfried K. Wagner [MVP]

Cor,

* "Cor Ligthert said:
I said move a little bit. and with messagebox.text very much however with
soem room to the right, with me it was upon the to type text. When you than
bring it to the left using the scroll bar it goes ofcourse

Can you email me a screenshot?
 
T

Terry Olsen

I have a similar problem. I've experienced what Cor is talking about though
I can't seem to reproduce it when I try. Next time it happens to me I'll
get a screenshot.

I also have a problem with the intellisense covering the code of the line or
two above where I'm typing. I need to look at that code to remember a
variable name or whatever to type in the line I'm working on. Oftentimes I
have to click away from where I'm typing to get the intellisense to
disappear so I can continue work.

It would be nice if the intellisense was displayed in a dockable toolwindow
or some other area that didn't cover up the code i'm trying to look at.
 

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