Skip to content

Latest commit

 

History

History
244 lines (149 loc) · 8.38 KB

IME-Test.md

File metadata and controls

244 lines (149 loc) · 8.38 KB

Input method smoke test. VS Code is powered by Monaco, a browser based code editor which supports IE 9/10/11, Edge, Chrome, Firefox, Safari and Opera, so when we make changes to the editor part, we should make sure it still works on all browsers Monaco support.

The golden standard is Word

Table of Contents


[Windows/Mac] Japanese

  • Add the Japanese input method

    • Windows: Settings > Time & Language > Region & language > Add a language > Japanese
    • Mac: Settings > Keyboard > Input Sources > Add a language > Japanese
  • Focus VS Code and switch OS input method to Japanese and choose Hiragana:

    • Windows: Windows Japanese statusbar
    • Mac: Choose Hiragana in the menu bar
  • Type the following words: sennsei or konnnichiha or mikann followed by the enter key. Here is how Word looks like doing this:

    • sennsei should result in "せんせい" or "先生"
    • konnnichiha should result in "こんにちは"
    • mikann should result in "みかん" or "蜜柑"

    Windows Japanese Word

  • After typing some Japanese words, try to type space or enter key a few times to see if the composition works correctly. Japanese Composition


[Windows] Korean

  • Add the Korean input method

    • Settings > Time & Language > Region & language > Add a language > Korean
  • Focus VS Code and switch OS input method to Korean and choose Hangul:

    Windows Korean statusbar

  • Type gksrmf and press space. Here is how Word looks like doing this (it should be "한글"):

    Windows Korean Word 1

  • Type dkssudgktpdy in a new file. Here is how Word looks like doing this:

    Windows Korean Word 2

  • Type dks, it should be read . Now backspace should result in , backspace again should result in


[Windows] Vietnamese with UniKey

  • Download and Run UniKey

  • Click the button with a down arrow:

    Windows Vietnamese UniKey Setup 1

  • Get the following settings:

    Windows Vietnamese UniKey Setup 2

  • Focus VS Code and click once UniKey's system tray entry (next to the date) to toggle on Vietnamese mode (get it to be a V):

    Windows Vietnamese UniKey StatusBar

  • Type Tooi => it should transform to => Tôi. Here is how Word looks like doing this:

    Windows Vietnamese UniKey Word


[Windows] Chinese

  • Add the Chinese (Simplified) input method

  • Settings > Time & Language > Region & language > Add a language > Chinese (Simplified)

  • Focus VS Code and switch OS input method to Chinese and choose Chinese mode and make sure the input method's name is Microsoft Pinyin:

    Windows Chinese Setup

  • Type . or , in full width form. They should be typed in immediately. Here is how Word looks like doing this:

    Windows Chinese Word

  • Type ni press Space and then hao and press Space. They should be typed in immediately. Here is how Word looks like doing this:

    Windows Chinese Word

  • Type hazni press Space. It should result into 哈祝你 or 汉子 or 哈子你. The result might differ due to different implementation of the algorithm the IME uses, just make sure it's the same as what you get in Notepad or whatever.

  • Type a and press space key twice. The result should be (Please note it ends with a single space)。

--

[Windows] Sogou pinyin Chinese input method

  • Install Sogou pinyin Chinese input method

    • Download Sogou pinyin Chinese input method from this link

      download Sogou

    • Double click downloaded install exe

      install exe

    • Click YES if UAC dialog show

      accept uac

    • Click Install immediately in the install UI

      install immediately

    • Wait for the process complete, UNCHECK the "install the Sogou browser"

      uncheck sogou browser

    • Uncheck all options, click finish

      uncheck all options

  • Focus VS Code and switch OS input method to Chinese and choose Chinese mode and make sure the input method's name is Sogou Pinyin:

    sogou pinyin statusbar

  • Type ni press Space and then hao and press Space. They should be typed in immediately. Here is how Word looks like doing this:

    sogou word

  • It should result into 你好


[Mac] Zhuyin Input Method (Chinese)

  • System Preferences > Keyboard > Input Sources > Add > Chinese, Tranditional > Zhuyin

    mac Zhuyin setup 1

  • Focus VS Code and switch OS input method to Zhuyin (press Command + space)

    mac Zhuyin setup 2

  • Type su3cl3 and press Enter. Here is how World looks like doing this (It should be "你好")

    mac Zhuyin Word


[Mac] The hold input method

  • Long press e
  • A pop-up should appear
  • Choose a different variant, like an e with an accute accent

[Mac] The emoji inserter


[Linux] Japanese

Use mozc.

Ubuntu

Follow this guide, from the Mozc section:

  • sudo apt-get install ibus-mozc
  • System Settings > Text Entry, add Japanese (Mozc)(IBus) to the list
  • In the system menu bar, switch the input language to Mozc and the input mode to Hiragana

Elementary OS

http://elementaryos.stackexchange.com/questions/271/how-can-i-enable-japanese-input

Test

Input Output
sennsei "せんせい" or "先生"
konnnichiha "こんにちは"
mikann "みかん" or "蜜柑"

[Linux] Korean

Ubuntu

Elementary OS

  • Install fcitx: Follow instructions here
  • Install Korean-Hangul support: sudo apt-get install fcitx-hangul

Test

Input Output
gksrmf "한글"

[Linux] Chinese (Pinyin)

Ubuntu

Elementary OS

  • Install fcitx: Follow instructions here
  • Select Google Pinyin

Test

Input Output
ni Space hao Space "你好"

[Linux] Chinese (Sogou Pinyin)

Test

Input Output
ni Space hao Space "你好"

Content created from: