Turn off shift in English switch English code/Chinese comments feel free to switch to write.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.