Skip to content

IntelliSense completion fails to give results in many cases -- after return/public and before a comment (works in VS) #12412

Closed
@sean-mcmanus

Description

@sean-mcmanus

Use code

class foo { public: int jjj;};
int main()
{
    auto iii = foo{};
    return
        // no completion on this line, e.g. no main or iii suggestions
        iii
        // no completion on this line, e.g. no main or iii suggestions
        .jjj;
}

Invoke completion via Ctrl+Space on the indicated lines. There are no results from cpptools, but there should be -- it works in VS. Reproed with 1.20.5/1.21.0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions