Making Wanxiang-pinyin Capable of Inputting Full-width Punctuations in VSCode
input method
rime
wanxiang
VSCode
diary
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: trueSo I decided to change it to false, and added an additional pair:
# ./squirrel.yaml
com.microsoft.VSCode:
ascii_mode: false
ascii_punct: falsebut 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: trueAfter changing them all to false, now it works.