Thread: Visual C++ intellisense

  1. #16
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    I'm on the fence when it comes to intellisense. It teaches people to stop typing at dot and wait for a friendly menu, but I can see why it would be more "neat" than keeping a reference open while you work. If you're like Sharke and it gets in the way more than not, it's probably better to turn it off and let yourself focus better on what you're doing.

  2. #17
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Intellisense is basically autocompletion. Are we really arguing whether autocompletion is a useful time-saver? I make use of Explorer's autocompletion all the time, and tab completion in UNIX shells. Is that making me dumber-er? I hope not.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #18
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Intellisense is ok but it is usually incorrect or misleading or both. It is not much of a help with large objects since it takes longer to scroll down the list it provides than it does to just type the information in. It is nice when you are lazy and do not want to go back and look at the header but again it is not always correct. And if you have functions and members that start with similar characters it can be a real chore when Intellisense continually picks the wrong one. But I do like using Intellisense when it brings up the prototype of the function you are passing params to. That is very handy when you have an API sitting out there but don't want to continually consult the reference for it. This is especially helpful on things suchs as the Direct3D API, Windows API, MFC, OpenAL, and pretty much any third party API. A very bad thing about Intellisense is that templates are like kryptonite to it. Any templated object will just about kill Intellisense altogether. Boost is a prime example. If you use Boost pointers in your code you will find that Intellisense is completely baffled by it.

    I use Intellisense primarily as a quick reference and very rarely as an auto-completion utility.
    Last edited by VirtualAce; 05-18-2009 at 05:33 PM.

  4. #19
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Also remember that you can narrow the list by typing out sine characters of what you want.
    IntelliSense also helps in that it helps you remember the real name of the symbol you want to access.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM