Replies: 3 comments 8 replies
-
I think an extension is responsible for this. Our extension does not add associations for file extensions. We only add associations for STL headers that have no extension and don't get associated with cpp. We do have a setting to turn off that behavior though. |
Beta Was this translation helpful? Give feedback.
-
It happened again. These lines got added to
From the modification date, that was 6 hours from now. Unfortunately I can't tell yet what I was doing at that exact moment. Maybe I should constantly record my desktop or write some script that monitors my |
Beta Was this translation helpful? Give feedback.
-
It happened again on my watch this time, I had a script monitoring the file, and this was added: "*.idl": "cpp" This was while I was... well, writing code, nothing really special I'm afraid :( I'm afraid I don't know how else I could monitor this with more precision. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure where to ask this, but recently my VSCode started to switch the language of many different file types to C++. XML files are now C++, JSON files are C++, even TXT... and they get filled with squiggles and get wrong highlighting etc. It's like VSCode no longer recognizes them as they should be and somehow decides to fallback on C++.
I have to manually switch them back to what they should be, but they eventually switch back to C++, if I restart VSCode for example.
Any idea what's going on?
Ok, I eventually found this at the end of my
settings.json
:I have no idea what put these here, but it wasn't me :| Maybe a buggy extension? The last change was from a few hours ago, I only have cpptools, cmake, git blame, meson, shader languages and zig
Beta Was this translation helpful? Give feedback.
All reactions