-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fix
Milestone
Description
Environment
-
OS and Version:
NAME="Red Hat Enterprise Linux"
VERSION="9.6 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.6"
PLATFORM_ID="platform:el9" -
VS Code Version: 1.111.0
-
C/C++ Extension Version: 1.30.5
-
If using SSH remote, specify OS of remote machine:
Bug Summary and Steps to Reproduce
Bug Summary:
Extension Fails to Activate if .editorconfig exists anywhere between workspace and root as a directory - if it doesnt exist as a file.
Steps to reproduce:
- Create a workspace
- make sure no .editorconfig file exists in between root and workspace and create it as a directory
- Activate extension
- See error
would be preferable for the .editorconfig folder to be ignored and emit a warning
Configuration and Logs
2026-03-10 10:19:22.129 [error] Activating extension ms-vscode.cpptools failed due to an error:
2026-03-10 10:19:22.129 [error] Error: EISDIR: illegal operation on a directory, read
at Object.readFileSync (node:fs:440:20)
at getEditorConfig (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:63558:42)
at getEditorConfigSettings (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:63595:32)
at findConfigFile (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:23880:89)
at CppSettings.useVcFormat (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:23918:17)
at DefaultClient.updateActiveDocumentTextOptions (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:69273:26)
at new DefaultClient (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:67851:14)
at Object.createClient (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:67442:12)
at /tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:115411:44
at Array.forEach (<anonymous>)
at new ClientCollection (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:115410:47)
at Object.activate (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:11352:23)
at activate (/tmp/.vscode-server/extensions/ms-vscode.cpptools-1.30.5-linux-x64/dist/src/main.js:120762:30)
at async zv._activate (file:///tmp/.vscode-server/cli/servers/Stable-ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/server/out/vs/workbench/api/node/extensionHostProcess.js:494:15965)
at async zv._waitForDepsThenActivate (file:///tmp/.vscode-server/cli/servers/Stable-ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/server/out/vs/workbench/api/node/extensionHostProcess.js:494:15907)
at async zv._initialize (file:///tmp/.vscode-server/cli/servers/Stable-ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/server/out/vs/workbench/api/node/extensionHostProcess.js:494:15274)Other Extensions
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fix
Type
Projects
Status
Done