diff --git a/README.md b/README.md index dde502d..23ce088 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Such a thing exists. * [Emacs](#emacs) * [Visual Studio Code](#visual-studio-code) * [Sublime](#sublime) + * [IntelliJ IDEA](#intellij-idea) * [Special pages](#special-pages) * [Search](#search) * [Programming languages cheat sheets](#programming-languages-cheat-sheets) @@ -477,17 +478,17 @@ and press `KE`: explanation for the warning will be opened in a new buff Features supported by cheat.sh plugins for different editors: -|Feature |Emacs|Sublime|Vim|VSCode| -|-------------------|-----|-------|---|------| -|Command queries |✓ |✓ |✓ |✓ | -|Queries from buffer| | |✓ |✓ | -|Toggle comments | | |✓ | | -|Prev/next answer | | |✓ | | -|Multiple answers | |✓ | | | -|Warnings as queries| | |✓ | | -|Queries history | | |✓ |✓ | -|Session id | | |✓ | | -|Configurable server|✓ | |✓ |✓ | +|Feature |Emacs|Sublime|Vim|VSCode|IDEA| +|-------------------|-----|-------|---|------|----| +|Command queries |✓ |✓ |✓ |✓ |✓ | +|Queries from buffer| | |✓ |✓ | | +|Toggle comments | | |✓ | | | +|Prev/next answer | | |✓ | | | +|Multiple answers | |✓ | | | | +|Warnings as queries| | |✓ | | | +|Queries history | | |✓ |✓ | | +|Session id | | |✓ | | | +|Configurable server|✓ | |✓ |✓ | | ### Vim @@ -577,6 +578,21 @@ Usage: *(GIF courtesy: Gaurav Kukreja, @gauravk-in)* +### IntelliJ IDEA + +* [idea-cheatsh-plugin](https://github.com/szymonprz/idea-cheatsh-plugin) +* Install from [idea plugins marketplace](https://plugins.jetbrains.com/plugin/11942-cheat-sh-code-snippets) + +Usage: + +1. Write query string +2. Select the query string +3. Press keyboard shortcut Alt + C , S to replace the selected query string by the answer + +[![idea-cheatsh-plugin](https://cheat.sh/files/idea-demo.gif)](https://github.com/szymonprz/idea-cheatsh-plugin) + +*(GIF courtesy: Szymon Przebierowski, @szymonprz)* + ## Special pages There are several special pages that are not cheat sheets. diff --git a/share/static/idea-demo.gif b/share/static/idea-demo.gif new file mode 100644 index 0000000..0eea088 Binary files /dev/null and b/share/static/idea-demo.gif differ