473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Automatic capitalization of keywords

Tim
I just bought VS .Net, and am getting up to speed. One thing I can't find,
though, is how to get the editor to automatically capitalize keywords
(Public, As, Imports, etc.), the way the VB 6.0 editor did. Does anyone
know how to do this, or was this capability dropped in .NET? Thanks.

--
Tim
Nov 21 '05 #1
3 2397
"Tim" <st************@earthlink.net> schrieb:
I just bought VS .Net, and am getting up to speed. One thing I can't find,
though, is how to get the editor to automatically capitalize keywords
(Public, As, Imports, etc.), the way the VB 6.0 editor did. Does anyone
know how to do this, or was this capability dropped in .NET? Thanks.


This feature should be enabled automatically if you edit a ".vb" file that
is part of a VB.NET project. If it does not work, check "Tools" ->
"Options..." -> "Text editor" -> "Basic" -> "VB-specific" -> check all
options there.

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

Nov 21 '05 #2
Tim
Thanks. I finally discovered that the "Pretty listing (reformatting) of
code" option must be turned on, and that solves the problem. However, the
reason I initially turned it off is because when it is on, if you also have
the "Tabs"->"Keep tabs" option selected, the VB Editor cuts your "Indent
size" setting in half. So if your "Indent size" setting is 2 spaces, when
you leave a line of code, the VB Editor changes your tabs to have an "Indent
size" of only 1 space. You have to either select the "Tabs"->"Insert
spaces" option, or double your "Indent size" setting from what you actually
want. Oh well, thanks for the help on this one, anyway.

--
Tim

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
"Tim" <st************@earthlink.net> schrieb:
I just bought VS .Net, and am getting up to speed. One thing I can't
find, though, is how to get the editor to automatically capitalize
keywords (Public, As, Imports, etc.), the way the VB 6.0 editor did. Does
anyone know how to do this, or was this capability dropped in .NET?
Thanks.


This feature should be enabled automatically if you edit a ".vb" file that
is part of a VB.NET project. If it does not work, check "Tools" ->
"Options..." -> "Text editor" -> "Basic" -> "VB-specific" -> check all
options there.

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

Nov 21 '05 #3
Tim
OK, after a little more investigation, I discovered that if you also select
the "Tabs"->"Block" Indenting option, your tab spacing is not altered.
Thanks again for all the help.

--
Tim

"Tim" <st************@earthlink.net> wrote in message
news:ux**************@TK2MSFTNGP14.phx.gbl...
Thanks. I finally discovered that the "Pretty listing (reformatting) of
code" option must be turned on, and that solves the problem. However, the
reason I initially turned it off is because when it is on, if you also
have the "Tabs"->"Keep tabs" option selected, the VB Editor cuts your
"Indent size" setting in half. So if your "Indent size" setting is 2
spaces, when you leave a line of code, the VB Editor changes your tabs to
have an "Indent size" of only 1 space. You have to either select the
"Tabs"->"Insert spaces" option, or double your "Indent size" setting from
what you actually want. Oh well, thanks for the help on this one, anyway.

--
Tim

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
"Tim" <st************@earthlink.net> schrieb:
I just bought VS .Net, and am getting up to speed. One thing I can't
find, though, is how to get the editor to automatically capitalize
keywords (Public, As, Imports, etc.), the way the VB 6.0 editor did.
Does anyone know how to do this, or was this capability dropped in .NET?
Thanks.


This feature should be enabled automatically if you edit a ".vb" file
that is part of a VB.NET project. If it does not work, check "Tools" ->
"Options..." -> "Text editor" -> "Basic" -> "VB-specific" -> check all
options there.

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


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: lbolognini | last post by:
Hi all, I have a very long list of parameters coming from a web form to my method foo(self, **kwargs) I would like to avoid manually binding the variables to the values coming through the...
6
by: Corepaul | last post by:
I am new to Access 2000. My operating system is Windows 2000. In the early stage of development I noticed something weird. On my form, I have a Command Button named "btnAlbumUp". The first time...
5
by: Shane | last post by:
I wonder if someone has any ideas about the following. I am currently producing some reports for a manufacturing company who work with metal. A finished part can contain multiple sub-parts to...
9
by: Nenad Loncarevic | last post by:
I am a geologist, and over the years I've accumulated quite a number of proffesional papers on the subject, in various publications. I would like to make a database that would help me find the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.