-
Notifications
You must be signed in to change notification settings - Fork 971
Closed
Labels
Description
Why?
这里有Sublime Text插件, Atom 插件, Alfred插件, Codelf Chrome App,自己用的编辑器没有 Codelf 插件也请参考 WiKi 。但如果你用 WebStorm,以下方法灰常方便。
Result?
效果就是在编辑代码时选中任意文本:
-
- 按”CTRL+S"
-
- 选“Codelf”就会立即打开 Codelf 并搜索出结果
How?
WebStorm 有个 OnlineSearch 插件,通个它可以添加任意搜索引擎,然后通过快捷键实现一键搜索:
-
- WebStorm -> Preference -> Plugins -> Browse Repositories... -> 搜索"OnlineSearch"并安装
-
- WebStorm -> Preference -> Keymap -> 搜索“OnlineSearch” -> 在“Other" 下的 “OnlineSearch”右键 -> 选"Add Keyboard Shortcut" -> 按住“CTRL+S”录入快捷键 -> 点击右下角的“Apply”完成
-
- WebStorm -> Preference -> Other settings -> OnlineSearch -> 三个输入框依次输入:Codelf,
https://unbug.github.io/codelf/#%S
和%S
-> 然后点击”Apply“完成。
- WebStorm -> Preference -> Other settings -> OnlineSearch -> 三个输入框依次输入:Codelf,
最后你就可以按“Result”里说的2步使用了。
ARwMq9b6, rexmolo, unbug, zxhycxq, yikuo123 and 17 morezhuangzhao923 and yaqianghanyaqianghan and sukai-chengyaqianghan