Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Arrghhghghghg! Intellisense is broken AGAIN

Arrghhghghghg! Intellisense is broken AGAIN

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiohelpdesign
21 Posts 10 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Matt Gerrans

    Is this a problem that only happens with VB projects? If so, that would be yet another reason to upgrade to C#. Just in case you can't think up enough reasons already. ;) I've worked on a pretty big C# .NET application for a couple years now and not see such a problem. Anyway, if the linked suggestion does fix it, I'd suggest the enhancement to have a script or macro that repairs the icenses.licx automatically, rather than always doing it manually. Oh -- and anther thing. I don't know what you mean by "big project" but if you mean that you have a solution that contains a ton of projects in it, I have come to believe that it is much better to have many little solutions that each build one project (or one assembly, as it were) and a "main" solution which builds the main project only has reference to other built assemblies, not projects. (Also, I have scripts to updat a shared library directory with the projects and everything is referenced from there). This makes for drastically faster load and compile times and ends up being cleaner over all. The only thing you don't get as a result is the code comments in the tool tips for elements of objects from the referenced assemblies. Matt Gerrans

    M Offline
    M Offline
    Member 96
    wrote on last edited by
    #8

    Matt Gerrans wrote: Is this a problem that only happens with VB projects? If so, that would be yet another reason to upgrade to C#. Just in case you can't think up enough reasons already. I've worked on a pretty big C# .NET application for a couple years now and not see such a problem. Nahh! That's hogwash Matt. I have a very large project and it contains both VB.NET projects and C# projects. It's not possible sometimes to choose your development language for various reasons. I belive a serious developer that considers programming a profession and not just a job looks at development languages just like a carpenter looks at the various tools in their tool box. It's like saying to a carpenter "You should always use a keyhole saw because they are smaller than a cross cut saw". It's just a matter of the right tools for the job. Personally I reach for c# first almost every time in my tool box but that's not always the case for every job. I've had this problem in many c# projects of any substantial size that contained no vb.net. I don't know how common this is, but in our case we have a business object framework consisting of four separate projects, our business object library consisting of one project and right now the windows UI project. During the course of a day I'm very regularly editing and making changes in the UI and the business object library and sometimes in the framework itself. I know what you are saying, but it's really not practical for many people because of the nature of the work or the environment we work in. (I'm working with one other developer on this project and we don't have the luxury of a team of people spending eon's designing the business objects to be absolutely perfect at first go).

    1 Reply Last reply
    0
    • L Lost User

      We also had Infragistics in our project when it happened... so I guess we have a guilty party!

      M Offline
      M Offline
      Member 96
      wrote on last edited by
      #9

      I *really* want this to be the fix if it is I'm going to dance around the office with joy, I'll let you know :fingers crossed:

      1 Reply Last reply
      0
      • L Lost User

        I don't know if the problem also occurs with C#. However, it's not a frequent problem. It only -RARELY- happens if you use 3rd party components. We had the problem once in over 3 years of .NET development. No need for a macro. And... to finish, I'm frankly getting sick and tired of being told to drop VB.NET for C#. This is getting very annoying. I can code C# just as well as VB, but I just feel more confortable in VB. I like the editor better, and optional parameters are so useful, apart from the syntax that I'm more used to. I don't see why I should force myself to code in a language that I don't like as much, especially since the features are EXACTLY THE SAME. My 2 cents...

        M Offline
        M Offline
        Member 96
        wrote on last edited by
        #10

        C a r l wrote: I don't know if the problem also occurs with C#. It does, that's what I'm working in now. C a r l wrote: I don't see why I should force myself to code in a language that I don't like as much, especially since the features are EXACTLY THE SAME. Yeah, I agree, although for me it's C# that I'm more comfortable with, but it's just a matter of the right tool for the job I think. If I had to I could use Cobol, C, C+, Assembler, Perl, VB.NET, VB for applications, SQL, c# etc etc on and on. I'm tired of this snobbishness as well. I will say though that I think anything .net for business apps is unquestionably the way to go.

        1 Reply Last reply
        0
        • L Lost User

          Is this making your day? Clickety[^]

          M Offline
          M Offline
          Member 96
          wrote on last edited by
          #11

          Unfortunately that didn't solve the problem. Intellisense just broke again about two minutes ago and I double checked the license files but found no change from when I removed the blank line at the end earlier. Well it was worth a shot, thanks for the suggestion. I think I'm going to give that VisualAssist add-in a try and see if it works any better. Cheers!

          1 Reply Last reply
          0
          • M Member 96

            ..for the 10 hundred millionth time in Visual studio .net 2003. I have a HUGE project I'm working on with a solution containing 15 different projects, some in VB.NET some in C# etc. One level is a business object framework, the next level is the business objects themselves, now I'm in the UI and I really, really, really *NEED* the intellisense / autocomplete to be working because I can't remember the exact spelling of every frigging property of the 250 or so business objects in the solution. ARRRGHHGHGHGHGHGH! I've bloody had it. I'm sick of rebuilding all and going for coffee just to fix the stupid intellisense, I'm sick of having to shut down and restart the whole project and wait the minute or so for it to load...just to fix the intellisense. It's killing my productivity. I've researched this problem about a million times on the net and there is no solution listed anywhere for it that actually *FIXES* the problem for once and for all. Microsoft recommends all sorts of stupid things that simply fix it for ten seconds or so until it breaks again. How in the world is it there hasn't been a single...not one update for VS.NET 2003 since the day it was released? (Or am I missing something drastically here?) Does this work any better on vs.net 2k5 or is it just as broken in large projects? Does that Visual Assist thing handle huge projects? Anyone using it?

            T Offline
            T Offline
            Tom Archer
            wrote on last edited by
            #12

            You don't even want to *think* about using 2005 if you're having problems with 2003. They've even managed to break (change?) tabbing through windows in that version! Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

            S 1 Reply Last reply
            0
            • M Member 96

              ..for the 10 hundred millionth time in Visual studio .net 2003. I have a HUGE project I'm working on with a solution containing 15 different projects, some in VB.NET some in C# etc. One level is a business object framework, the next level is the business objects themselves, now I'm in the UI and I really, really, really *NEED* the intellisense / autocomplete to be working because I can't remember the exact spelling of every frigging property of the 250 or so business objects in the solution. ARRRGHHGHGHGHGHGH! I've bloody had it. I'm sick of rebuilding all and going for coffee just to fix the stupid intellisense, I'm sick of having to shut down and restart the whole project and wait the minute or so for it to load...just to fix the intellisense. It's killing my productivity. I've researched this problem about a million times on the net and there is no solution listed anywhere for it that actually *FIXES* the problem for once and for all. Microsoft recommends all sorts of stupid things that simply fix it for ten seconds or so until it breaks again. How in the world is it there hasn't been a single...not one update for VS.NET 2003 since the day it was released? (Or am I missing something drastically here?) Does this work any better on vs.net 2k5 or is it just as broken in large projects? Does that Visual Assist thing handle huge projects? Anyone using it?

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #13

              what else to say? [edit]missed your last sentence, sorry. Yes, we are using it in a fewhundredKLoc project (VC6), and it's doing great. Try it, you'll love it. Their latest Release claims to do a better job at guessing (when you type only a part, or only the "initials" of a camel case word etc), and either I am hooked to some drug their marketing department uses, or maybe it simply does. I miss some options, stuff I'd like to switch on/off individually, but OTOH I am VERY happy that it isn't a "configuration nightmare".


              I never really know a killer from a savior
              boost your code || Fold With Us! || sighist | doxygen

              M 1 Reply Last reply
              0
              • P peterchen

                what else to say? [edit]missed your last sentence, sorry. Yes, we are using it in a fewhundredKLoc project (VC6), and it's doing great. Try it, you'll love it. Their latest Release claims to do a better job at guessing (when you type only a part, or only the "initials" of a camel case word etc), and either I am hooked to some drug their marketing department uses, or maybe it simply does. I miss some options, stuff I'd like to switch on/off individually, but OTOH I am VERY happy that it isn't a "configuration nightmare".


                I never really know a killer from a savior
                boost your code || Fold With Us! || sighist | doxygen

                M Offline
                M Offline
                Member 96
                wrote on last edited by
                #14

                Sadly I tried Visual Assist and within a few minutes the *exact* same problems were cropping up with *their* intellisense. It's very bizarre when the exact same thing is happening with a completely different product. There is an "Get content from default intellisense" option which I ensured was turned off at all times. I can only guess that they are actually using the built in intellisense database or doing things in such a similar manner to Microsoft that whatever is weird about my project is breaking their intellisense as well. On the bright side they do a better job of presenting options and the templats look cool. At one point I was after a method called "IsUnassigned" only I typed "Un" by accident because I thought it was called "unassigned", but it still presented me with "IsUnassigned" in the popup box which is pretty cool when you think about it. In desperation I've tried stripping things out of my solution file and turning off automatic builds for all but the UI project in the solution that I'm currently working in and it hasn't broken again since but it's only been a few hours. I guess the end result is that I don't need Visual Assist if it doesn't resolve the original problem, but I'll play with it for a month and see if I can't live without it after that. Cheers and thanks for answering.

                G 1 Reply Last reply
                0
                • M Member 96

                  ..for the 10 hundred millionth time in Visual studio .net 2003. I have a HUGE project I'm working on with a solution containing 15 different projects, some in VB.NET some in C# etc. One level is a business object framework, the next level is the business objects themselves, now I'm in the UI and I really, really, really *NEED* the intellisense / autocomplete to be working because I can't remember the exact spelling of every frigging property of the 250 or so business objects in the solution. ARRRGHHGHGHGHGHGH! I've bloody had it. I'm sick of rebuilding all and going for coffee just to fix the stupid intellisense, I'm sick of having to shut down and restart the whole project and wait the minute or so for it to load...just to fix the intellisense. It's killing my productivity. I've researched this problem about a million times on the net and there is no solution listed anywhere for it that actually *FIXES* the problem for once and for all. Microsoft recommends all sorts of stupid things that simply fix it for ten seconds or so until it breaks again. How in the world is it there hasn't been a single...not one update for VS.NET 2003 since the day it was released? (Or am I missing something drastically here?) Does this work any better on vs.net 2k5 or is it just as broken in large projects? Does that Visual Assist thing handle huge projects? Anyone using it?

                  H Offline
                  H Offline
                  Henrik Husted
                  wrote on last edited by
                  #15

                  I've had the same problems, very frustrating. In the end I gave up on using VS as my main editor and now uses sourceinsight[^] as my main editor. That works! And a lot faster too. --- There are 10 types of people in the world, those who understand binary and those who don't.

                  1 Reply Last reply
                  0
                  • T Tom Archer

                    You don't even want to *think* about using 2005 if you're having problems with 2003. They've even managed to break (change?) tabbing through windows in that version! Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                    S Offline
                    S Offline
                    Stuart Dootson
                    wrote on last edited by
                    #16

                    Tom - you can change the key binding for Ctrl+Tab to be a proper window switcher - bind it to Window.NextDocumentWindow - it seems to be bound to Window.PreviousDocumentWindowNav by default,which is why it pops up the window with all the window icons in it. HTH Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

                    1 Reply Last reply
                    0
                    • M Member 96

                      Sadly I tried Visual Assist and within a few minutes the *exact* same problems were cropping up with *their* intellisense. It's very bizarre when the exact same thing is happening with a completely different product. There is an "Get content from default intellisense" option which I ensured was turned off at all times. I can only guess that they are actually using the built in intellisense database or doing things in such a similar manner to Microsoft that whatever is weird about my project is breaking their intellisense as well. On the bright side they do a better job of presenting options and the templats look cool. At one point I was after a method called "IsUnassigned" only I typed "Un" by accident because I thought it was called "unassigned", but it still presented me with "IsUnassigned" in the popup box which is pretty cool when you think about it. In desperation I've tried stripping things out of my solution file and turning off automatic builds for all but the UI project in the solution that I'm currently working in and it hasn't broken again since but it's only been a few hours. I guess the end result is that I don't need Visual Assist if it doesn't resolve the original problem, but I'll play with it for a month and see if I can't live without it after that. Cheers and thanks for answering.

                      G Offline
                      G Offline
                      generic_user_id
                      wrote on last edited by
                      #17

                      Have you tried deleting the project's ncb file? That may fix it.

                      M 1 Reply Last reply
                      0
                      • M Member 96

                        ..for the 10 hundred millionth time in Visual studio .net 2003. I have a HUGE project I'm working on with a solution containing 15 different projects, some in VB.NET some in C# etc. One level is a business object framework, the next level is the business objects themselves, now I'm in the UI and I really, really, really *NEED* the intellisense / autocomplete to be working because I can't remember the exact spelling of every frigging property of the 250 or so business objects in the solution. ARRRGHHGHGHGHGHGH! I've bloody had it. I'm sick of rebuilding all and going for coffee just to fix the stupid intellisense, I'm sick of having to shut down and restart the whole project and wait the minute or so for it to load...just to fix the intellisense. It's killing my productivity. I've researched this problem about a million times on the net and there is no solution listed anywhere for it that actually *FIXES* the problem for once and for all. Microsoft recommends all sorts of stupid things that simply fix it for ten seconds or so until it breaks again. How in the world is it there hasn't been a single...not one update for VS.NET 2003 since the day it was released? (Or am I missing something drastically here?) Does this work any better on vs.net 2k5 or is it just as broken in large projects? Does that Visual Assist thing handle huge projects? Anyone using it?

                        S Offline
                        S Offline
                        SimonS
                        wrote on last edited by
                        #18

                        I feel your pain. During one of our many calls to PSS we were told to delete the corrupt csprojdata files. Might be worth a look. It didn't work for us and we lose about 1 hour a week on average because of lost intellesense on small to big projects (some with 3rd party controls, others not) Cheers, Simon sig ::
                        "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
                        article :: animation mechanics in SVG blog:: brokenkeyboards
                        "Most of us are programmers, but a few use VB", Christian Graus

                        M 1 Reply Last reply
                        0
                        • G generic_user_id

                          Have you tried deleting the project's ncb file? That may fix it.

                          M Offline
                          M Offline
                          Member 96
                          wrote on last edited by
                          #19

                          I used to do that in visual studio 6 with c++ when it's intellisense database would break (now that I think about it this has been a pretty long standing problem), however in vs.net2003 with c# and VB.Net there isn't an ncb file to delete.

                          1 Reply Last reply
                          0
                          • S SimonS

                            I feel your pain. During one of our many calls to PSS we were told to delete the corrupt csprojdata files. Might be worth a look. It didn't work for us and we lose about 1 hour a week on average because of lost intellesense on small to big projects (some with 3rd party controls, others not) Cheers, Simon sig ::
                            "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
                            article :: animation mechanics in SVG blog:: brokenkeyboards
                            "Most of us are programmers, but a few use VB", Christian Graus

                            M Offline
                            M Offline
                            Member 96
                            wrote on last edited by
                            #20

                            Yeah, it's incredibly time consuming when it breaks for all sorts of reasons. The intellisense / autocomplete is just an out and out necessity these days the way everything is built on layers of objects. Between rebuilding to fix it, or closing and opening it or having to refer to the object browser to find the names of the things I can't remember it *easily* consumes an hour maybe two a week.

                            S 1 Reply Last reply
                            0
                            • M Member 96

                              Yeah, it's incredibly time consuming when it breaks for all sorts of reasons. The intellisense / autocomplete is just an out and out necessity these days the way everything is built on layers of objects. Between rebuilding to fix it, or closing and opening it or having to refer to the object browser to find the names of the things I can't remember it *easily* consumes an hour maybe two a week.

                              S Offline
                              S Offline
                              SimonS
                              wrote on last edited by
                              #21

                              We made the fatal error of using VSS for our source control, so the process of closing-down-vs-and-deleting-bin/objs can take up to 5 minutes a time. Times that a few times a day. X| I just wish there were viable alternatives. Been looking closely at Delphi2005. No definite opinion on it yet, but I want to like it. Very much. Cheers, Simon sig ::
                              "Don't try to be like Jackie. There is only one Jackie.... Study computers instead.", Jackie Chan on career choices.
                              article :: animation mechanics in SVG blog:: brokenkeyboards
                              "Most of us are programmers, but a few use VB", Christian Graus

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups