-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider fullwidth characters when rendering tabs #22832
Comments
Font rendering is handled by Electron/Chromium. If you'd like to get a wide char rendered with the width of 2 chars, I can recommend trying different fonts. e.g. Inconsolata. |
No matter what font used, this problem still exist. The reason they didn't align is not the font, is about the element layout of the editor, you can see the example text will work correctly in other browsers or editors. |
👍 I understand now what you refer to, I thought it was about the width of the CJK characters, but it's about the width of tabs following CJK chars. |
In vscode, one fullwidth character take one col, so the code is not aligned when import some from the other editors.
Steps to Reproduce:
Examle text
in vscode
in vs
The character count is not equal with the column count
The text was updated successfully, but these errors were encountered: