Results 1 to 8 of 8

Thread: Intellisense problem...

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2004
    Posts
    38

    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.
    <===>Asif Maknojia<===>

  2. #2
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    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

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    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

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Hyperactive Member Philly0494's Avatar
    Join Date
    Apr 2008
    Posts
    485

    Re: Intellisense problem...

    Quote Originally Posted by jmcilhinney View Post
    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

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Intellisense problem...

    Quote Originally Posted by Philly0494 View Post
    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Member
    Join Date
    Jul 2004
    Posts
    38

    Re: Intellisense problem...

    Quote Originally Posted by jmcilhinney View Post
    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.
    <===>Asif Maknojia<===>

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Intellisense problem...

    Quote Originally Posted by thatsasif View Post
    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width