VB代码编辑器恼怒 [英] VB code editor irritation

查看:73
本文介绍了VB代码编辑器恼怒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一件事让我对使用VB.Net进行编码感到困惑,那就是当您通过向下拖动分隔符将代码窗口分成两部分时,

IDE的行为

垂直滚动条的顶部。如果您在

源文件中定义了区域,则拆分窗口会导致区域崩溃。如果你已经打开一个区域并且在其中的某个区域,然后决定拆分

窗口以查看文件中其他地方的内容,请拉代码窗口

拆分器导致所有区域在两个子窗口中都崩溃,并且您在文件中丢失了

。我在VB选项中找不到任何似乎

来提供任何控制权。有没有其他人被这个

打扰找到解决方案?


我总是告诉别人我对VB.Net和C#同样感到舒服,就编写代码而言,我是

,但每当我开始自己的新项目时我都会在C#中完成它,因为这似乎是因为这个轻微的烦恼。


感谢收听,

Tom Dacon

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

推荐答案

*" Tom Dacon" <为了** @ t-dacons.com> scripsit:
* "Tom Dacon" <To**@t-dacons.com> scripsit:
有一件事让我对使用VB.Net进行编码感到困惑,那就是当您通过向下拖动分隔符将代码窗口分成两部分时,
IDE的行为。
垂直滚动条的顶部。如果您在
源文件中定义了区域,则拆分窗口会导致区域崩溃。如果你已经打开一个区域并且在其中某个区域,然后决定拆分
窗口以查看文件中的其他位置,拉动代码窗口
拆分器导致所有地区都会在两个子窗口中崩溃,你会丢失文件中的位置。我在VB选项中找不到任何似乎可以对此提供任何控制的内容。有没有其他人一直困扰这个
找到解决方案?
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?




这个行为在VS 2005 for VB中仍然存在。我认为这种行为是

而不是按设计并且我打算发布一个建议/错误报告给

MSDN PFC,如果这里的人认为应该改变它。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http:/ /dotnet.mvps.org/dotnet/faqs/>



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/>


将我添加到认为应该更改的人员列表中。


我将代码组织到构造函数,数据字段和常量的区域中,

公共成员,私有成员等等。我的

课程中很少有任何代码没有包含在某个地区,所以从来没有时间我会想要

代码当我做分拆

的窗口时,我正在隐藏。


Tom Dacon

Dacon Software Consulting


" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

news:2p ************ @ uni-berlin.de ...
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" <为了** @ t-dacons.com> scripsit:
* "Tom Dacon" <To**@t-dacons.com> scripsit:
有一件事让我对使用VB.Net进行编码感到困惑,那就是当您通过向下拖动分隔符将代码窗口分成两部分时,
IDE的行为<
在垂直滚动条的顶部。如果您在
源文件中定义了区域,则拆分窗口会导致区域崩溃。如果你已经打开一个区域并且在其中的某个区域,然后决定分割
窗口以查看文件中其他位置的内容,请拉动代码
窗口
拆分器导致所有区域都在子窗口中崩溃,您将失去
您在文件中的位置。我无法在VB选项中找到任何可以提供任何控制权的内容。
这个
要找到解决方案还有其他人吗?
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?



这个行为在VS 2005 for VB中仍然存在。我认为这种行为不是按设计的。如果这里的人认为应该更改,我打算向MSDN PFC发布一个建议/错误报告。

- MS Herfried K. Wagner MVP< URL:http://dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>



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/>


Herfried,


你可以接受这个消息,而不是在

结束时的智慧线,它完全覆盖你想要输入的地方。


Cor
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


这篇关于VB代码编辑器恼怒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆