Skip to content

Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: TypeError: ret.replace is not a function #9302

Description

@jmpsmash

Bug type: Language Service

Describe the bug

  • OS and Version: Windows 10
  • VS Code Version: 1.67.1
  • C/C++ Extension Version: 1.9.8
  • Other extensions you installed (and if the issue persists after disabling them):
  • If using SSH remote, specify OS of remote machine:
  • A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).

When starting VSCode with C++ source, the following pops up:

Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: TypeError: ret.replace is not a function

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Code sample and logs

  • Code sample

  • Configurations in c_cpp_properties.json

  • Logs from running C/C++: Log Diagnostics from the VS Code command palette

  • Logs from the language server logging

Screenshots

Additional context

Metadata

Metadata

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.verifiedBug has been reproduced

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions