c++resharperresharper-c++

ReSharper C++ 1.1 not working with auto key word


I'm using ReShaper C++ 1.1. If I use auto to create an vector I do not get any code completion. Below is the code:

auto main() -> int
{
    // no code completion
    auto result = vector<string>{};
    // if I do this I get code completion
    vector<string> list = vector<string>{};
    auto word = string{};
}

Is this a bug in ReSharper C++ 1.1?


Solution

  • It was a bug (https://youtrack.jetbrains.com/issue/RSCPP-15192), but we've already fixed it.