Making Wanxiang-pinyin Capable of Inputting Full-width Punctuations in VSCode

input method
rime
wanxiang
VSCode
diary
Author

Guest_1013

Published

2026-06-08

Problem

When I was using wanxiang pinyin to write a Chinese CV in VSCode, I found that even in Chinese mode, only half-width punctuations are typable. I still remembered that I have asked the author of wanxiang pinyin about this issue, and he said that I can change this behavior in the config files. So I looked it up.

Finding a Solution

A Wrong One

At first I directly searched for VSCode in the config files, and only found this one seems to be it:

# ./squirrel.yaml
com.microsoft.VSCode:
    ascii_mode: true

So I decided to change it to false, and added an additional pair:

# ./squirrel.yaml
com.microsoft.VSCode:
    ascii_mode: false
    ascii_punct: false

but it didn’t work after redistributing.

The Correct One

So I decided to instead search for ascii_punct, and finally found these:

# ./weasel.yaml
Code.exe:
    ascii_mode: true
    ascii_punct: true
# ./build/weasel.yaml
Code.exe:
    ascii_mode: true
    ascii_punct: true

After changing them all to false, now it works.