Results 1 to 23 of 23

Thread: Intellisense isn't working

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Intellisense isn't working

    Why would intellisense suddenly stop working? In other words, is this something that can be configurated and could for some reason be erased?

    Just one hour ago it was working. I closed the project I was working on, walked out of the office, came back,, started the IDE and IS was gone!
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  2. #2
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: Intellisense isn't working

    Have a look in Options\Editor\CodeSettings. Seems a bit odd that they should just change like that though. A registry problem maybe??

  3. #3
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    Re: Intellisense isn't working

    krtx

    As a long-shot -- did you try a cold reboot of your computer (ie,
    a complete restart)?


    Spoo

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

    Re: Intellisense isn't working

    Is Intellisense for everything off? Try hitting Ctrl+SpaceBar. What happens?

    Edit
    Few other suggestions...

    1) Use RegMon to see if you can figure out which files VB6's Intellisense is accessing. Then try renaming then to different names so the VB6 intellisense mechanism might re-create them and see if that fixes anything
    2) If everything fails, re-install VB6
    Last edited by Siddharth Rout; Jun 26th, 2009 at 10:36 AM.
    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

  5. #5

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Intellisense isn't working

    Quote Originally Posted by Spoo View Post
    krtx

    As a long-shot -- did you try a cold reboot of your computer (ie,
    a complete restart)?


    Spoo
    I did.

    As for the other replies, I'll have to wait till monday for I'm no longer sitting in front of the office computer.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  6. #6
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    Re: Intellisense isn't working

    krtx

    OK.. I take it that the reboot did not restore IntelliSense.
    Sorry to hear.. hopefully Milk and Kool are on to something
    more useful.

    Spoo

  7. #7
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Intellisense isn't working

    If you start a new project does intellisense work for it? Does the project you are working on now run without errors? A lot of times when intellisense stops working it is because of a programming error.

  8. #8

  9. #9
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: Intellisense isn't working

    I've had the issue several times on multiple computers, and the cause has always been what MarkT described (often caused by a typo, and sometimes by moving a routine/variable to a different code file).

    To see if that is the case, simply start the project with full compile (Ctrl-F5).

  10. #10
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Re: Intellisense isn't working

    Yep. The IDE can't make heads nor tails out of your code if you have a compilation error in the General section of a module, and so Intellisense stops working.

  11. #11

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Intellisense isn't working

    Quote Originally Posted by Milk View Post
    Have a look in Options\Editor\CodeSettings. Seems a bit odd that they should just change like that though. A registry problem maybe??
    I don't know what to look for... at any rate, it's working today.
    Attached Images Attached Images  
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  12. #12

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Intellisense isn't working

    Definitely I can't get it to fail today so I'll be back as soon as it happens again.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  13. #13
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: Intellisense isn't working

    It might be a good idea for you to check that box next to Require Variable Declaration...


    Glad it is working for you today...
    Option Explicit should not be an Option!

  14. #14

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Intellisense isn't working

    Quote Originally Posted by vb5prgrmr View Post
    It might be a good idea for you to check that box next to Require Variable Declaration...


    Glad it is working for you today...
    I always remember to include a 'Option Explicit' statement, but I agree it's a good idea, thanks.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

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

    Re: Intellisense isn't working

    The best way to check if it is working or not is to press the shortcut key that I suggested in the post above

    Ctrl+SpaceBar
    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

  16. #16
    New Member
    Join Date
    Aug 2010
    Posts
    14

    Re: Intellisense isn't working

    I had a similar, puzzling problem and I thought it was because the building had a power outage. Turns out I had two functions with the same name. Once I tried compiling and fixed that error, intellisense came back.

  17. #17
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: Intellisense isn't working

    I have ran into this issue before myself. I forget what the exact problem was but it was code related. I think I had pasted something from another project that caused an issue. Possibly a duplicate function name as pointed out above, can't be sure but it was definitely something I did and it worked fine again once I fixed the code.

  18. #18
    Lively Member
    Join Date
    Aug 2011
    Posts
    105

    Re: Intellisense isn't working

    Quote Originally Posted by DataMiser View Post
    I have ran into this issue before myself. I forget what the exact problem was but it was code related. I think I had pasted something from another project that caused an issue. Possibly a duplicate function name as pointed out above, can't be sure but it was definitely something I did and it worked fine again once I fixed the code.
    http://support.microsoft.com/kb/813809/en

  19. #19
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    9,853

    Re: Intellisense isn't working

    Yes, I've had similar problems with Intellisense going haywire. Usually, restarting VB6 resets everything. However, even then, sometimes the UpperLower case is off. It's not a major problem for me, but I wish there was some kind of a tool or addin that would list all the variables, procedures, and objects that Intellisense was tracking. I've just recently started snooping into how Intellisense works, having just "lived" with its idiosyncrasies up to now, but I'm just procrastinating a bit and thought I'd look into it. If anyone knows of how to "snoop" into the guts of the Intellisense system, links would be much appreciated.

    Regards,
    Elroy

  20. #20
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: Intellisense isn't working

    Quote Originally Posted by public View Post
    Not sure why you quoted my post to post this link. It definitely is not related in any way to the issue that I ran into as I was not using anything .Net related.

  21. #21
    New Member
    Join Date
    Mar 2015
    Posts
    8

    Re: Intellisense isn't working

    Suggested Solution :

    ( I am using MS Access 2013 , ignore compact and repair step ) I noticed you have the problem inside the visual basic 6 , anyway just try out my suggested solution it might work with it too .

    I came a cross this problem recently and the fix was very easy , here is what i did :

    Compact and repair , then I looked into the Form Module that i want to reference it in my vba editor , and I found out that there is a typing mistake in (Option Compare ) declaration instated of having this line typed like this ( Option Compare Database ) it was ( Option Compare LogicForm ) . I used find and replace tool , which caused this typing problem.

    Bottom line : Look for typing mistake error inside the module you are trying to reference it in your code .

    Note : The intellisense was working fine when referencing to other form except that Form in which i found the typing mistake in its module .

    I hope this will help you getting rid of this intellisense problem .
    Last edited by capsule; Apr 23rd, 2015 at 07:43 AM.

  22. #22
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    5,651

    Re: Intellisense isn't working

    Well this is an old thread, but no one has really mentioned a general solution: when there's an error that will prevent the program from even starting, Intellisense stops working. Run the project, and the error will immediately be shown.

  23. #23
    Member
    Join Date
    Oct 2014
    Posts
    42

    Re: Intellisense isn't working

    Quote Originally Posted by fafalone View Post
    Well this is an old thread, but no one has really mentioned a general solution: when there's an error that will prevent the program from even starting, Intellisense stops working. Run the project, and the error will immediately be shown.
    This thread ain't getting any younger!
    Yes just to confirm that this solution works, just had this issue, intellisense just disappeared in a sub I was writing.
    The cause was declaring a parameter like below
    The IDE didn't complain but intellisense disappeared for the rest of the sub.
    As fafalone says, a compile flagged it right away. Intellisense then returned.

    Code:
    Public Sub Blah(ByVal i as Index)

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