MSVC bitch

Ok, I understand that C++ is hard to parse and so a C++ IDE can’t be as slick as, say, IntelliJ. (Yes, IntelliJ is the gold standard for language-specific programming editors. If you’re coding in java with any other IDE, you are hurting your own productivity.)

That having been said, there are some very obvious stupid things that MSVC does with its code completion that it shouldn’t. For example:

class Foo()
{
    protected:
        void setInternalState(float a, float b, float c);
    public:
        void setIterations(int i);
};

int main()
{
    Foo bar;
    bar.
}

when I type bar. and hit the completion key (Ctrl-J is the default IntelliSense ‘show members’), you should only show me .setIterations. that’s all. You’re smart enough to walk the class and tell me all the members but you’re not smart enough to realize I’m not in a context where private or protected access is allowed? Ugh. Puh-lease. I hate having to walk through an object’s internal state to find the one or two methods I need.

This entry was posted in tech. Bookmark the permalink.

One Response to MSVC bitch

  1. Danny Howard says:

    I feel ya man. I think my car broke down I had to walk through some shady areas that one time.

    Yep.