Format on save creates gibberish #3796
Labels
bug
duplicate
Language Service
more info needed
The issue report is not actionable in its current state
macOS 10.14.15
VSCode 1.35.1 (also seen on previous versions)
C/C++ version: 0.23.1 (also seen on previous versions)
Other extensions -
alesiong.clang-tidy-linter
austin.code-gnu-global
CADENAS.vscode-glsllint
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
dbaeumer.vscode-eslint
eamodio.gitlens
eg2.vscode-npm-script
esbenp.prettier-vscode
firsttris.vscode-jest-runner
formulahendry.docker-explorer
ms-vscode.cpptools
msjsdiag.debugger-for-chrome
oderwat.indent-rainbow
PeterJausovec.vscode-docker
psioniq.psi-header
sburg.vscode-javascript-booster
sdras.night-owl
slevesque.shader
smulyono.reveal
VisualStudioExptTeam.vscodeintellicode
Happens also when other cpp extensions are disabled.
VScode auto-formats on save using clang-format, and adds garbage to the code file - random characters and words. This happens repeatedly - saving the file multiple times in a row without doing anything in-between still adds garbage on every save.
demonstration video - https://youtu.be/zxPHINAk9Tw
This is an occasional issue, so I don't know how to repro it. removing the ipch folder doesn't help. There are no special logs in the Output window.
The text was updated successfully, but these errors were encountered: