Auto import doesn't work for me
Answered
I have a short C++ file opened in Clion and a function using vector. The vector header file hasn't been included yet and Clion shows errors. I move the cursor on a such error case and press alt+enter but no suggestion to auto include vector. What's the correct way to let Clion include <vector> for me in this case?

Please sign in to leave a comment.
Hello!
It's a bug, unfortunately - https://youtrack.jetbrains.com/issue/CPP-6880. Feel free to comment or upvote the issue. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
If you type std::vector, CLion will suggest a proper import option.