Skip to content

Commit 280af1b

Browse files
committed
Merge branch 'master' of https://github.com/chubin/cheat.sh
2 parents b02a8ff + 5e1b45c commit 280af1b

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

README.md

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Such a thing exists.
5252
* [Emacs](#emacs)
5353
* [Visual Studio Code](#visual-studio-code)
5454
* [Sublime](#sublime)
55+
* [IntelliJ IDEA](#intellij-idea)
5556
* [Special pages](#special-pages)
5657
* [Search](#search)
5758
* [Programming languages cheat sheets](#programming-languages-cheat-sheets)
@@ -477,17 +478,17 @@ and press `<leader>KE`: explanation for the warning will be opened in a new buff
477478

478479
Features supported by cheat.sh plugins for different editors:
479480

480-
|Feature |Emacs|Sublime|Vim|VSCode|
481-
|-------------------|-----|-------|---|------|
482-
|Command queries |||||
483-
|Queries from buffer| | |||
484-
|Toggle comments | | || |
485-
|Prev/next answer | | || |
486-
|Multiple answers | || | |
487-
|Warnings as queries| | || |
488-
|Queries history | | |||
489-
|Session id | | || |
490-
|Configurable server|| |||
481+
|Feature |Emacs|Sublime|Vim|VSCode|IDEA|
482+
|-------------------|-----|-------|---|------|----|
483+
|Command queries ||||||
484+
|Queries from buffer| | ||| |
485+
|Toggle comments | | || | |
486+
|Prev/next answer | | || | |
487+
|Multiple answers | || | | |
488+
|Warnings as queries| | || | |
489+
|Queries history | | ||| |
490+
|Session id | | || | |
491+
|Configurable server|| ||| |
491492

492493
### Vim
493494

@@ -577,6 +578,21 @@ Usage:
577578

578579
*(GIF courtesy: Gaurav Kukreja, @gauravk-in)*
579580

581+
### IntelliJ IDEA
582+
583+
* [idea-cheatsh-plugin](https://github.com/szymonprz/idea-cheatsh-plugin)
584+
* Install from [idea plugins marketplace](https://plugins.jetbrains.com/plugin/11942-cheat-sh-code-snippets)
585+
586+
Usage:
587+
588+
1. Write query string
589+
2. Select the query string
590+
3. Press keyboard shortcut <kbd>Alt</kbd> + <kbd>C</kbd> , <kbd>S</kbd> to replace the selected query string by the answer
591+
592+
[![idea-cheatsh-plugin](https://cheat.sh/files/idea-demo.gif)](https://github.com/szymonprz/idea-cheatsh-plugin)
593+
594+
*(GIF courtesy: Szymon Przebierowski, @szymonprz)*
595+
580596
## Special pages
581597

582598
There are several special pages that are not cheat sheets.

share/static/idea-demo.gif

29.5 KB
Loading

0 commit comments

Comments
 (0)