X
background
Writing code is always accidentally cut into Chinese, especially in the code of the case to switch the situation ...
For example: "public static TimeZone currenttime ..."
public static timez[Here's the story, press SHIFT + Z to capitalize the z, maybe shift by more? IME on switch to Chinese] start appearing Chinese ...
Especially has the idea, the code knocks the point quickly, or writes the SQL statement time, anyway thought has not let shift switch in English ...
The first step,
I will set the Input Method-->> button-->> in English toggle: none [√]
However, this English is OK, I switch Chinese (write a note?) Can be laborious, you have to click on the Input Panel to switch between Chinese and English ...
If the Chinese and English switch can customize the shortcut key way also ok ah.
Step Two
At this time found an input method is not up to the expected effect, then change the idea, out of the input method settings, I do not have to switch on an input method in English Ah,
I can make two input method, a fixed for Chinese, a fixed for English, I directly switch input method is not OK ... Ha ha... I was stunned by my own wit (brain residue) ...
The system comes with the input method (and uninstall it?) just came in handy ... I used to think it was a hindrance.)
"Win + X"-->> set-->> time and language-->> region and language-->> preferred language-->> Chinese-->> options
Microsoft Pinyin-->> Option-->>
1, General-->> default mode-->> Select IME default mode-->> English
2, Key-->> in/English mode toggle: None
Step Three
[
{"Chinese (note)": "SG Input Method"},
{"English (Code)": "Microsoft Pinyin"}
]
There is a better way of the old iron, remember the message ha ... ^_^
X
Turn off shift in English switch English code/Chinese comments feel free to switch to write.