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. 7 1577
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
"Clive Dixon" <clived at digita dot comwrote in message
news:ON**************@TK2MSFTNGP05.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.
Try typing [DefaultValue(null)].
"Chris Dunaway" <du******@gmail.comwrote in message
news:24**********************************@k36g2000 pri.googlegroups.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
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.spamwrote in message
news:uW**************@TK2MSFTNGP05.phx.gbl...
"Clive Dixon" <clived at digita dot comwrote in message
news:ON**************@TK2MSFTNGP05.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.
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
On Nov 14, 2:45 am, "Clive Dixon" <clived at digita dot comwrote:
Try typing [DefaultValue(null)].
"Chris Dunaway" <dunaw...@gmail.comwrote in message
news:24**********************************@k36g2000 pri.googlegroups.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
"Clive Dixon" <clived at digita dot comwrote in message
news:el**************@TK2MSFTNGP06.phx.gbl...
Try typing [DefaultValue(null)].
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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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 ?...
|
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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |