Variable name has always been a programmer’s public annoyance, sometimes, a variable name thought and thought, thought and thought finally came up with a write, feel or inappropriate.

Recently I found a website that can help us automatically generate variable names through the AI algorithm, and completely free!

Put up a picture to feel it!

Just type in Chinese, press Enter, and wait for a moment. CODEIF will find the code in countless open source projects and return the result for you to pick the variable name, copy it with one click, and view the source code with one click.

The problem is, isn’t it too slow to open a website every time? Can it be integrated into IDEA? Of course!

First, search for the plugin OnlineSearch2 in IDEA and restart IDEA WebStorm -> Preference -> Plugins -> Browse Repositories… -> Search for “OnlineSearch2” and install

Start the configuration after the restart

WebStorm -> Preference -> Keymap -> Search “OnlineSearch” -> Right-click “OnlineSearch” under “Other” -> select “Add Keyboard Shortcut” -> Press “CTRL+S” to enter the shortcut key -> click “Apply” in the lower right corner to complete

The shortcut keys I typed in are Command + shfit + space, so you can record whatever you like.

WebStorm -> Preference -> Other Settings -> OnlineSearch -> OnlineSearch IO/Codelf /#%S and %S -> then click “Apply” to finish.

And you’re done! Give it a try. Select a text at any location, hold down the shortcut key you set to bring up the following window, click Select CodeIf

Jump to the browser

Convenient and fast, like a point of attention, see you tomorrow ~