You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bring good old full width punctuations back #242138
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.97.2.25045
OS Version: kernel 6.13.3, glibc 2.41
Steps to Reproduce:
Type some full width punctuation characters such as ,。;、
See the strange behavior as attached in the image
Traditionally, full-width punctuation characters used to be as wide as Unified CJK ideographs. A recent update broke the consistency. Now their widths are not context-independent.
This must be caused by some underlying Blink/Electron CSS typesetting features. Let me know how should I tweak my fontconfig (and possibly other stuff) if vscode itself cannot afford an option to bring good old full width punctuation back.
The rendering of the font in the code editor is driven by Chromium. Are you able to reproduce this behavior in Chrome too?
Yeah thanks for your attention. I did some search and tested around.
The good news is that the behavior is controlled by text-spacing-trim. The result I want is text-spacing-trim: space-all; and the current behavior in vscode is text-spacing-trim: normal;. I think this issue doesn't need any active fix from the dev team, so we can safely close it for the original purpose.
The bad news is that best practice for adding custom CSS to vscode is hard to find and I don't fully understand the tricks on this matter. Do you happen to have some advice?
This issue has been closed as it has been labeled with info-needed and has not received the additional information that was requested from the issue author. It has been labeled as info-needed for 7 days.
Activity
alexdima commentedon Nov 15, 2025
The rendering of the font in the code editor is driven by Chromium. Are you able to reproduce this behavior in Chrome too?
neruthes commentedon Nov 15, 2025
Yeah thanks for your attention. I did some search and tested around.
The good news is that the behavior is controlled by
text-spacing-trim. The result I want istext-spacing-trim: space-all;and the current behavior in vscode istext-spacing-trim: normal;. I think this issue doesn't need any active fix from the dev team, so we can safely close it for the original purpose.The bad news is that best practice for adding custom CSS to vscode is hard to find and I don't fully understand the tricks on this matter. Do you happen to have some advice?
alexdima commentedon Nov 15, 2025
We can add an editor setting, like
editor.fontTextSpacingwhich could, behind the scenes, control this CSS property. PR welcomevs-code-engineering commentedon Nov 23, 2025
This issue has been closed as it has been labeled with
info-neededand has not received the additional information that was requested from the issue author. It has been labeled asinfo-neededfor 7 days.alexdima commentedon Mar 5, 2026
To verify: