473,947 Members | 18,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2416
"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******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP14.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******** ******@TK2MSFTN GP10.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
9645
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 **kwargs dictionary, just to keep the code cleaner, I'd like to bind them automatically I was adviced against doing it by adding stuff to locals such as:
6
10255
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 that I reference this button in VBA code, the Visual Basic Editor capitalizes the P changing btnAlbumUp.SetFocus to
5
2385
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 make up the finished part. The sub-parts can also be made up of sub-parts and those sub-parts can also be made up of sub-parts etc etc. All parts are contained within the same table and I have a seperate table
9
3392
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 information I want, based on keywords mentioned in the needed paper. Since I don't feel like inventing hot water, I thought I'd ask you people a few questions. I was planning on making tables with a many-to-many relationship for papers and...
0
10162
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11566
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11153
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11343
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9886
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7428
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6113
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4944
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3541
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.