autoSwitchInputMethod not work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
I added autoSwitchInputMethod in settings.json, but it doesn't work.
I have restarted the VSCode Vim plugin and VSCode itself, but it still doesn't work.
I am crazy!
To Reproduce
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "com.apple.keylayout.ABC",
"vim.autoSwitchInputMethod.obtainIMCmd": "/opt/homebrew/bin/im-select",
"vim.autoSwitchInputMethod.switchIMCmd": "/opt/homebrew/bin/im-select {im}"
My im-select locate on /opt/homebrew/bin/im-select
Expected behavior
I hope that disable input method when exiting Insert Mode.
Screenshots
settings.json:
im-select Path:
when I input chinese, It can't work
- Extension (VsCodeVim) version: 1.29.0
- VSCode version: 1.96.3 (Universal)
- OS: Macos 14.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on macOS with the shown autoSwitchInputMethod settings and verify the /opt/homebrew/bin/im-select commands independently. Then trace the extension's autoSwitchInputMethod implementation and its Insert Mode transitions; done means leaving Insert Mode reliably switches back to the configured default input method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, typescript, vscode
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100