By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,569 Members | 1,630 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,569 IT Pros & Developers. It's quick & easy.

VB code editor irritation

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
* "Tom Dacon" <To**@t-dacons.com> scripsit:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
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

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2p************@uni-berlin.de...
* "Tom Dacon" <To**@t-dacons.com> scripsit:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

P: n/a
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
Nov 21 '05 #4

P: n/a
* "Tom Dacon" <To**@t-dacons.com> scripsit:
Add me to the list of people who think this should be changed.


I have opened a bug report on this issue:

<URL:http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK14602>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #5

P: n/a
* "Cor Ligthert" <no**********@planet.nl> scripsit:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #6

P: n/a
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
Nov 21 '05 #7

P: n/a
* "Cor Ligthert" <no**********@planet.nl> scripsit:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #8

P: n/a
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
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.

--

Nov 21 '05 #9

P: n/a
Cor,

* "Cor Ligthert" <no**********@planet.nl> scripsit:
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?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #10

P: n/a
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.

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:O6**************@TK2MSFTNGP10.phx.gbl...
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

Nov 21 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.