microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.45k stars 1.53k forks source link

Intellisense doesn't work with ASCII username on windows e.g.: Zalán #1319

Closed JacksonFurrier closed 6 years ago

JacksonFurrier commented 6 years ago
sean-mcmanus commented 6 years ago

The errors are with the vector-of-bool.cmake-tools extension: https://github.com/vector-of-bool/vscode-cmake-tools/issues . Are you able to repro a problem with that extension disabled?

sean-mcmanus commented 6 years ago

I was able to repro the bug with just the cpptools extension. The other extension might have some different issue.

sean-mcmanus commented 6 years ago

In my repro, it's failing to create the browse database and entering an infinite loop as it tries to open non-existent files. A workaround should be to set the databaseFilename in c_cpp_properties.json to something like "${workspaceRoot}/.vscode/.browse.vc.db" (and then doing a Reload Window).

sean-mcmanus commented 6 years ago

Thanks a lot for reporting this. Our next update should have the fix (for cpptools, not cmake-tools).

JacksonFurrier commented 6 years ago

Excuse me for not responding my timezone is GMT+2. Great news, thank you!

sean-mcmanus commented 6 years ago

Fixed with 0.14.4.