Colton Phillips
Colton Phillips

Reputation: 237

Syntax checking for Visual Studio 2008

Is it possible? For instance, if I type

std::cout << "cool"

without the semicolon are there any vis studio plugins which will catch that (the way eclipse does) or similar syntactical errors and show me the error visually?

Upvotes: 0

Views: 454

Answers (2)

Steve Townsend
Steve Townsend

Reputation: 54178

FYI, Visual Studio 2010 does this by default. The offending code is underlined, and when you hover over it, the IDE tells you what's wrong. eg. for the following:

int _tmain(int argc, _TCHAR* argv[])
{
    std::cout << "cool"
}

I get the closing brace underlined and the message is "Error: expected a ;"

Upvotes: 0

Constantinius
Constantinius

Reputation: 35089

You can try VisualAssistX, which enables a more sophisticated intellitype system than the standard VC.

Upvotes: 3

Related Questions