Vscode-cpptools: Formatting fails so bad.

Created on 8 Aug 2020  路  8Comments  路  Source: microsoft/vscode-cpptools

Type: LanguageService

Describe the bug

  • OS and Version: Ubuntu 18.04 LTS
  • VS Code Version: 1.47.3
  • C/C++ Extension Version: 0.30.0-insiders
  • Other extensions you installed (and if the issue persists after disabling them): CMake, CMake Tool, Python, SQL Server(mssql)
  • Does this issue involve using SSH remote to run the extension on a remote machine?: No.

Text of code in C/C++ is missing and literals are separated by spaces all in a wrong way. Please refer to screenplay in below.

Steps to reproduce

  1. Go to text editor.
  2. Press "Ctrl+Shift+I" to trigger formatting.
  3. Scroll down to the tail.
  4. See error.

Expected behavior



Logs

Insert logs here.

Screenshots

Bug Screenplay

Additional context

Code Formatting Language Service duplicate

Most helpful comment

apparently rolling back to the latest 0.29 and changing the Update Channel to default instead of insiders kinda sorts it out for now, until they actually fix it I guess!

  • installing specific version:
    installing specific version

  • channel change:
    channel change

All 8 comments

I have this problem too!!

I have this problem too!!

Now I'm not the only one. Let's wait for them to fix it.

+1 here!

apparently rolling back to the latest 0.29 and changing the Update Channel to default instead of insiders kinda sorts it out for now, until they actually fix it I guess!

  • installing specific version:
    installing specific version

  • channel change:
    channel change

Thanks @alanbueno here solved the problem using version 0.29 for now.

Thanks @alanbueno !

Was this page helpful?
0 / 5 - 0 ratings