473,903 Members | 4,521 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Infuriating VS2005 Intellisense behaviour

Sometimes when I'm typing the literal 'null', Intellisense decides to
automatically change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether? It's
driving me totally mad.
Nov 13 '08 #1
7 1606
On Nov 13, 7:17 am, "Clive Dixon" <clived at digita dot comwrote:
Sometimes when I'm typing the literal 'null', Intellisense decides to
automatically change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether? It's
driving me totally mad.
Are you typing it with a capital N? I'm using VC# 2005 and if I begin
typing null (lowercase n), the first option that intellisense
highlights is null. It only select Nullable if I type a capital N.

Could you give an example of a scenario where you experience this
problem?

Chris
Nov 13 '08 #2
"Clive Dixon" <clived at digita dot comwrote in message
news:ON******** ******@TK2MSFTN GP05.phx.gbl...
Sometimes when I'm typing the literal 'null', Intellisense decides to
automatically change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether? It's
driving me totally mad.
Intellisense will pre-select the most recent entry that matches the
characters you're typing. It seems like you've typed (or more specifically,
completed) "Nullable" more recently than you've completed "null." However,
once you type something that matches exactly, Intellisense will select that
instead, so if you type the entire word "null" (all four characters of it)
then you shouldn't have a problem. This bites me most on "Properties ,"
because I have a tendency to type "prop" before trying to autocomplete, so
unless I start it with a capital P I tend to get the prop snippet.

And as that last sentence suggests, Intellisense is fast and loose with
lower-case letters, assuming you just aren't bothering to hit the Shift key,
but if you type a captial letter it assumes (usually rightly) that you're
explicitly looking for a word that starts with a capital.
Nov 13 '08 #3
Try typing [DefaultValue(nu ll)].

"Chris Dunaway" <du******@gmail .comwrote in message
news:24******** *************** ***********@k36 g2000pri.google groups.com...
On Nov 13, 7:17 am, "Clive Dixon" <clived at digita dot comwrote:
>Sometimes when I'm typing the literal 'null', Intellisense decides to
automaticall y change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether?
It's
driving me totally mad.

Are you typing it with a capital N? I'm using VC# 2005 and if I begin
typing null (lowercase n), the first option that intellisense
highlights is null. It only select Nullable if I type a capital N.

Could you give an example of a scenario where you experience this
problem?

Chris

Nov 14 '08 #4
Jeff,

Not the case. I haven't been using Nullable and I'm not typing capitals.
See my response to Chris's response. Even if I type the entire 'null' in
lower case, Intellisense converts it to Nullable. It's infuriating.

"Jeff Johnson" <i.***@enough.s pamwrote in message
news:uW******** ******@TK2MSFTN GP05.phx.gbl...
"Clive Dixon" <clived at digita dot comwrote in message
news:ON******** ******@TK2MSFTN GP05.phx.gbl...
>Sometimes when I'm typing the literal 'null', Intellisense decides to
automaticall y change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether?
It's driving me totally mad.

Intellisense will pre-select the most recent entry that matches the
characters you're typing. It seems like you've typed (or more
specifically, completed) "Nullable" more recently than you've completed
"null." However, once you type something that matches exactly,
Intellisense will select that instead, so if you type the entire word
"null" (all four characters of it) then you shouldn't have a problem. This
bites me most on "Properties ," because I have a tendency to type "prop"
before trying to autocomplete, so unless I start it with a capital P I
tend to get the prop snippet.

And as that last sentence suggests, Intellisense is fast and loose with
lower-case letters, assuming you just aren't bothering to hit the Shift
key, but if you type a captial letter it assumes (usually rightly) that
you're explicitly looking for a word that starts with a capital.

Nov 14 '08 #5
On Fri, 14 Nov 2008 00:47:10 -0800, Clive Dixon <clived at digita dot
<"com>"wrote :
Jeff,

Not the case. I haven't been using Nullable and I'm not typing capitals.
See my response to Chris's response. Even if I type the entire 'null' in
lower case, Intellisense converts it to Nullable. It's infuriating.
Some suggestions:

-- Turn off the auto-complete-on-space, and possibly other similar
options, in the IDE preferences
-- Submit a bug report to Microsoft at http://connect.microsoft.com/.
They can't fix it if no one mentions the problem to them
-- Try a different perspective. I probably spend more of my life
infuriated than I really ought to, and even I don't find typing hassles
significant enough to get that kind of rise out of me. :)

Pete
Nov 14 '08 #6
On Nov 14, 2:45 am, "Clive Dixon" <clived at digita dot comwrote:
Try typing [DefaultValue(nu ll)].

"Chris Dunaway" <dunaw...@gmail .comwrote in message

news:24******** *************** ***********@k36 g2000pri.google groups.com...
On Nov 13, 7:17 am, "Clive Dixon" <clived at digita dot comwrote:
Sometimes when I'm typing the literal 'null', Intellisense decides to
automatically change it to 'Nullable'. Is there any way anyone knows of
stopping it doing this, apart from disabling Intellisense altogether?
It's
driving me totally mad.
Are you typing it with a capital N? I'm using VC# 2005 and if I begin
typing null (lowercase n), the first option that intellisense
highlights is null. It only select Nullable if I type a capital N.
Could you give an example of a scenario where you experience this
problem?
Chris
I still just get null, doesn't change it for me.

Chris
Nov 14 '08 #7
"Clive Dixon" <clived at digita dot comwrote in message
news:el******** ******@TK2MSFTN GP06.phx.gbl...
Try typing [DefaultValue(nu ll)].
Okay, it appears this is a fringe case. Since the parameters for attributes
must be literals, constants, etc., apparently the IDE filters out other
things like keywords in the Intellisense list. It wasn't simply that
Nullable was selected, but that "null" wasn't in that list at all (for me).
Now I also have CodeRush installed, so I don't know if that's affecting
anything, but I really doubt it.

Not to be condescending, but are you aware that you can type "n-u-l-l" and
then hit Esc to prevent autocompletion?

And I have to wonder: isn't null the default if you don't specify a default?
Nov 14 '08 #8

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

Similar topics

9
1586
by: Thomas Christensen | last post by:
If anyone can provide an explanation and/or workaround for this bug in IE I would be really grateful. Is this a known bug?: ******CODE******* <html> <script type="text/javascript"> function mf(){return function(){alert('succes!')}} </script> <body>
2
1197
by: Lloyd Dupont | last post by:
How to disable the intellisense / file parsing in VS2005 (beta 2)? As soon as my header get over a few hundreds lines modifying them becames a pain, VS.NET keeps frozing... (presumably to parse the header). This is insufferable! -- There are 10 kinds of people in this world. Those who understand binary and those who don't.
11
1495
by: CMM | last post by:
I am so disappointed in VS2005. The "little things" wrong with it are just mind-boggling. Boy, I'll be so mad if I have to wait a year for the ".1" release that fixes all the bugs in this obvious beta product. This (received today) is just one of the many examples of why ASP.NET 2.0 was totally not ready for prime time. http://www.kbalertz.com/Feedback_911717.aspx The "workaround" they cite isn't a workaround AT ALL. They're actually...
3
5980
by: hayworth | last post by:
I had some code to build the name of a file: ' Build the name of the XML config file. g_strFiles.strConfig = My.Computer.FileSystem.CombinePath(Application.StartupPath, "\Settings\Config main.xml") This worked fine in Visual Studio 2003. But now that I updated to VS2005, it no longer works. The Application.StartupPath apparently seems OK in the editor (no syntax errors and I'm able to select StartupPath from the Intellisense pop up...
1
2707
by: Martin Robins | last post by:
I have created an inherited control based upon the GridView control, however when I use this control within the VS2005 ASP.net form designer I can no longer access the intellisense for the base control (technically it is now in a new namespace instead of the original "asp"). I know I can create my own intellisense XML for the new properties that I have added, but is there a way to tell VS that the other properties should be taken from...
0
1018
by: Alan Silver | last post by:
Hello, I have been working on a site in VS2005, and have noticed that the autocomplete has stopped working for asp controls. If I type... <a in an .aspx file, then I get a list of possible XHTML elements in the intellisense dropdown, but none of the ASP.NET server controls (which are normally listed, starting with asp:).
5
3028
by: Gumby | last post by:
Hi there! A "special" project team in our department has decided to purchase XMLSpy. We standardize on VS2005 as our IDE and up to now everyone has used the XML parser in VS2005. Are there advantages to using XMLSpy over VS2005? Apparently there are "integration diagrams" that VS2005 does not have natively. Does someone have a link or a MVP have some comparison I could have? Warmly Adrian
3
1367
by: teo | last post by:
Hallo, I have vs2005. I'm not a able to find a way to create and manage FRAMEs for a simple .html page in the VS2005 IDE (any toolbox, wizard, property window...). Am I missing something ? (I have even difficulties also to find a section about html frames concepts
20
2909
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to go with VS2005 and I am trying to convince to buy VS2008. Can somebody provide links to compare 2 products in terms of how stable they are. I do not need VS2008 new features, I need to prove to my management that VS2008 is a stable product. TIA
0
9999
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
9847
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11282
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
10500
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9684
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
5894
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
4726
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
2
4308
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3324
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.