1
Vote

New Code Item window does not show up depending on the selected lines of code of a cpp file

description

Hi.

Depending on the selected lines of code in a cpp file, the code item window may not show up when selecting to create a "New Code Item".

I've noticed this specifically when the first line of code is the function declaration, includes the first opening curly brace of the function, but without its closing curly brace.

For example,
BOOL Program::InitInstance()
{
Thank you.

comments

icnocop wrote Nov 22, 2013 at 12:14 AM

A work-around is to include the line before the function declaration, or to include the closing curly brace for example.