-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
Type: LanguageService
Describe the bug
Version: 1.49.0 (user setup)
Commit: e790b931385d72cf5669fcefc51cdf65990efa5d
Date: 2020-09-10T13:22:08.892Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Extension Version: v0.30.0-insiders4
Syntax check is very slow, maybe need 2~4 or more seconds but only a hello world project. UnLike javascript syntax check can complete within 1 second.
Steps to reproduce
- disable all extension except vscode-cpptools
- create a file
test.cppand paste the following code:
#include <iostream>
using namespace std;
int main()
{
int arr[] = { 1, 2, 3, 4};
cout << "hello world" << endl;
return 0;
}- remove the semicolon after
endl. - syntax check error will show after 2~4 second.
- insert semicolon after
endl, you will see error disappear after even more seconds.
Expected behavior
Syntax check quick as VS and Clion within 1 second.