idea-auto-switch-im
idea-auto-switch-im copied to clipboard
An IntelliJ IDEA Plugin for auto-switching Input Source
IntelliJ IDEA Auto Switch Input Source / IDEA自动切换输入法
Introduction 介绍
An Idea plugin helps you switch input source automatically
一个可以帮你自动切换输入法的IDEA插件
Usage 使用
-
Install this plugin from IDEA plugin repository or download the plugin zip file from Release page, and then install from disk
-
Setting the specified input source from preferences
Preferences->Other Settings->Auto Switch Input Source(defaultABC)

-
There are four setting options now:
IDEA focused=> Idea IDE window get focused,eg. switch to IDEA from other app.Out of IDEA=> Leaving Idea IDE to other apps.Vim in insert mode=> In IdeaVim mode change toinsertmode.Vim exit insert mode=> In IdeaVim mode exitinsertmode tonormalorvisualmode.
-
从IDEA的插件仓库直接安装;或者从Release页面上下载最新版本的插件ZIP压缩包,从硬盘安装。
-
在IDEA设置中找到
Preferences->Other Settings->Auto Switch Input Source

-
设置参数选项如下:
IDEA focused=> Idea 获得焦点,例如从其他应用切换到IdeaOut of IDEA=> 离开Idea,例如从Idea切换到其他应用Vim in insert mode=> IdeaVim 中进入插入模式.Vim exit insert mode=> IdeaVim 中退出插入模式 到正常模式或者可视模式.
Build 编译
- Clone this repo
git clone https://github.com/rieonke/idea-auto-switch-im.git
- Build Native Module
cd idea-auto-switch-im
cd native-src
xcodebuild -scheme ImSelect DSTROOT="./" archive
-
Then you will find a new directory in
native-srcnamedusr, copy theImSelectbin file tosrc/main/resources/nativepath -
Build plugin with gradle
gradle buildPlugin
- 克隆这个仓库到本地
git clone https://github.com/rieonke/idea-auto-switch-im.git
- 编译安装本地二进制工具
cd idea-auto-switch-im
cd native-src
xcodebuild -scheme ImSelect DSTROOT="./" archive
-
你将会在
native-src下找到一个名为usr的文件夹, 找到文件夹下的ImSelect二进制文件到src/main/resources/native -
编译插件
gradle buildPlugin
License 协议
GPLv3