microsoft / microsoft/vscode-cpptools
Very slow performance when using Remote - WSL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: LanguageService
Describe the bug
- OS and Version: Windows_NT 10.0.18363
- VS Code Version: 1.45.1
- C/C++ Extension Version: 0.28.1
I tried downgrading to previous versions but the issue still persists. - Does this issue involve using SSH remote to run the extension on a remote machine?: Yes
Description:
Code intellisense as well as auto formatting are very slow for very simple C++ files when using the Remote - WSL extension for C++ development on WSL.

uname -r output:
4.4.0-18362-Microsoft
This issue isn't there when developing on Windows.
Steps to reproduce
Create a hello world C++ file and allow formatting on save from VScode.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the issue with a hello-world C++ file, format-on-save, and the Remote-WSL setup described in the report, then compare IntelliSense and auto-formatting with Windows. Done means the simple file no longer shows the reported slowness in Remote-WSL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, vscode
- Domain
- performance, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100