-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command 'C_Cpp.ConfigurationEdit' not found. #1240
Comments
I have a fix for this. Until the fix comes out, you can replace line 152 in that client.js file from this: |
Just wanted to confirm the fix indeed worked fine, and alleviated all of my issues! |
@bobbrow Your solutions works, Thanks, |
@bobbrow the fix you've suggested has fixed it for me |
This should be fixed with version 0.14.3 |
This issue happens also if u try to edit |
Log in VSCode dev tools:
I found that the issue had been reported and fixed on windows platform (#384) , but it should still exist in MAC OS.
[ms-vscode.cpptools] Cannot read property 'length' of undefined: TypeError: Cannot read property 'length' of undefined
at DefaultClient.createLanguageClient (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/LanguageServer/client.js:152:46)
at new DefaultClient (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/LanguageServer/client.js:92:35)
at Object.createClient (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/LanguageServer/client.js:71:12)
at new ClientCollection (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/LanguageServer/clientCollection.js:19:42)
at Object.activate (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/LanguageServer/extension.js:41:15)
at util.readFileText.then.catch.then (/Users/kz/.vscode/extensions/ms-vscode.cpptools-0.14.2/out/src/main.js:119:28)
at
e.onUnexpectedError @ workbench.main.js:sourcemap:10
(anonymous) @ workbench.main.js:sourcemap:10
e.onUnexpectedError @ workbench.main.js:sourcemap:9
o @ workbench.main.js:sourcemap:9
e.$onUnexpectedError @ workbench.main.js:sourcemap:9
e.invoke @ workbench.main.js:sourcemap:9
e._invokeHandler @ workbench.main.js:sourcemap:9
e._receiveOneMessage @ workbench.main.js:sourcemap:9
(anonymous) @ workbench.main.js:sourcemap:9
(anonymous) @ workbench.main.js:sourcemap:9
e.invoke @ workbench.main.js:sourcemap:9
e.fire @ workbench.main.js:sourcemap:9
(anonymous) @ workbench.main.js:sourcemap:9
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
workbench.main.js:sourcemap:9 command 'C_Cpp.ConfigurationEdit' not found
e.doShow @ workbench.main.js:sourcemap:9
e.show @ workbench.main.js:sourcemap:9
e.resume @ workbench.main.js:sourcemap:9
(anonymous) @ workbench.main.js:sourcemap:10
e.invoke @ workbench.main.js:sourcemap:9
e.fire @ workbench.main.js:sourcemap:9
(anonymous) @ workbench.main.js:sourcemap:9
The text was updated successfully, but these errors were encountered: