From fcb8941dca12a35e05846e1945e68051cc6fdef6 Mon Sep 17 00:00:00 2001 From: Victor Simart Date: Wed, 26 Jan 2022 08:57:08 +0100 Subject: [PATCH] Added Live Templates (snippets equivalent) for JetBrains IDE. --- README.md | 4 ++++ live-templates.zip | Bin 0 -> 918 bytes 2 files changed, 4 insertions(+) create mode 100644 live-templates.zip diff --git a/README.md b/README.md index 876fca3..565c233 100644 --- a/README.md +++ b/README.md @@ -852,6 +852,10 @@ If you are using Visual Studio Code or [VSCodium](https://github.com/VSCodium/vs To add them, open `File -> Preferences -> User Snippets`, chose a language (JS, TS or both) and paste additional keys from the snippets file. +If you are using a JetBrains IDE (PhpStorm, WebStorm...), you can use following Live Templates -> [click](live-templates.zip) + +To add them, open `File -> Manage IDE Settings -> Import settings...` and select the file in your folder tree. + You can see how they work in the demo GIF. diff --git a/live-templates.zip b/live-templates.zip new file mode 100644 index 0000000000000000000000000000000000000000..8dd96a0f194ac10a85ac25621068ea07d751d1f5 GIT binary patch literal 918 zcmWIWW@Zs#VBp|jD0H<7$*-B=b%T+CVKoN>gB$|`LrH3GK~7>xYO%goVp(Ewa#3bM ziGovVUS6eMMQ+a9Y4@{l8web~|2J&S9E2Sx}ZT+nCyB54)?{IiL zf7bMZw#_4*q z>};wZBX=D4ZP~jE)@rkb#Xfd=Iq7ysWNh+d&*>t~pWbLG7WzKVPf>pu9wYuI?8_l@ z_jHF_879X{5B;(-e`_F7u<@DnwV!iQVku(+iEhv+zDv_ZRX}-+N%Ug^RJu#;N~jYUpjzTDZ7? z!}s*Pf`)2_?+ovDaLnCiceYyXXu02I_GC^0y(um){5Cv)6uNT(_X%}H>kk?Z0!}3r z>HUejnc1WsZ9ewA?qaW0zTJ-hnNt6MRmv`Z`Lq8?>ms{bU*11?q8|WE6I{SF!NAZC zOcTIl00+DbG7On{#U+V3IjJdnB^4#1A)E}%XMcZ41mV&OZU#n{7t9O{U;<$bC~3jX z05W8O*fXyrH76(2OTp8{)ltDcCqF4MM1jX>3=9AY CAyEAQ literal 0 HcmV?d00001