|
-
Mar 10th, 2010, 01:23 PM
#1
Thread Starter
Member
Intellisense problem...
Hi i am having problem with the intellisense.

In the above image i have created a boolean variable and when i try to assign value why does is shows all the members instead of false and true.

Again when i try to set the height the intellisense pops up again.
-
Mar 10th, 2010, 01:31 PM
#2
Re: Intellisense problem...
I don't know why, but I can tell you that nothing is wrong. Intellisense doesn't quite work that way.
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Mar 10th, 2010, 04:32 PM
#3
Re: Intellisense problem...
I don't remember the exact menu but it's like Tools~~>Import and Export Settings...
Select Reset all settings.
Check now...
If it is still not working then check this link out...
http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 10th, 2010, 08:13 PM
#4
Re: Intellisense problem...
That's how Intellisense does and always has worked. They don't limit you to just True and False because you might have some other variable you want top use or some long expression involving several method calls and property accesses. The same goes for the Height: you might want to use some expression that could involve anything at all.
-
Mar 10th, 2010, 09:25 PM
#5
Hyperactive Member
Re: Intellisense problem...
 Originally Posted by jmcilhinney
That's how Intellisense does and always has worked. They don't limit you to just True and False because you might have some other variable you want top use or some long expression involving several method calls and property accesses. The same goes for the Height: you might want to use some expression that could involve anything at all.
yes this is believed to be true, however i just did a test on my computer and got this

which is interesting, of course if i press "CTRL+Space" at this point, the full intellisense will appear
-
Mar 10th, 2010, 09:40 PM
#6
Re: Intellisense problem...
 Originally Posted by Philly0494
yes this is believed to be true, however i just did a test on my computer and got this
which is interesting, of course if i press "CTRL+Space" at this point, the full intellisense will appear
If I'm not mistaken, you are using VS 2010. Booleans now behave like enumerations in that regard, but in previous versions they didn't. Intellisense has been improved in various ways in VS 2010.
-
Mar 10th, 2010, 11:13 PM
#7
Thread Starter
Member
Re: Intellisense problem...
 Originally Posted by jmcilhinney
That's how Intellisense does and always has worked. They don't limit you to just True and False because you might have some other variable you want top use or some long expression involving several method calls and property accesses. The same goes for the Height: you might want to use some expression that could involve anything at all.
Is there any way to make the intellisense behave like VS 2005.
-
Mar 10th, 2010, 11:25 PM
#8
Re: Intellisense problem...
 Originally Posted by thatsasif
Is there any way to make the intellisense behave like VS 2005.
Hmmm... interesting. It's been some time since I used VS 2005 and I either didn't know or had forgotten that it did behave that way. In answer to your question, I would think so but I don't know exactly how. That said, does it really matter? It's only going to save you one key press half of the time anyway. In VS 2005 you can accept the value False by hitting the Tab key or True by pressing T and Tab. In VS 2008 you can accept True the same way and False by pressing F and Tab. How many key strokes will that save you in the long run? A rather insignificant number I think. It also means that you'll require an extra key stroke if you want to use Intellisense for anything but literal values, so that would probably even things out. Maybe that's why they made the change, or maybe it just comes down to IDE settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|