Hotkey to Code Snippet Permanently deleted user Created January 05, 2017 21:43 Is there a way to tie a hotkey to a code snippet in Webstorm? Example: pressing "Shift + C + L" spits out console.log(); into the editor.
Hi there,
Just use Live Templates for such stuff -- more flexible in general (entry points, easier to type IMO, they listed in code completion popup in case if you forgot abbreviation etc)
https://confluence.jetbrains.com/display/PhpStorm/Live+Templates+%28Snippets%29+in+PhpStorm
P.S.
If you really want to use custom shortcut -- the best I can suggest is to use Macro functionality (but Live Template is more reliable IMO)