In large-scale C/C+projects, the GB2312 encoding format will affect intelligent perception #13028
Labels
bug
Feature: Colorization
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
regression
A bug that didn't exist in a previous release
world ready
An issue relating string character encodings, localization translations, etc.
Milestone
Environment
Bug Summary and Steps to Reproduce
I found that in my large C/C++project, all annotations containing Chinese (GB2312) can affect intelligent perception, and the color rendering of the code is also incorrect. At this time, my setting is "files. encoding": "gb2312"
After deleting "files. encoding": "gb2312" and "files. autoGuessEncoding": true, it looks a bit normal now, but the intelligent perception is still not good
For example, when jumping to a function, it can only jump to the. h file. However, when I modified the corresponding. c file to convert it to UTF-8 format, it worked properly
I am confused whether this is a problem with vscode or cpptools
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: