Advertisement
hottabych

VSCode @required snippet

Jun 29th, 2020
1,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Put it into your keybinding.json (Preferences: Open Keyboard Shortcuts File)
  2.  
  3. // Place your key bindings in this file to override the defaults
  4. [
  5.   {
  6.     "key": "ctrl+r",
  7.     "command": "editor.action.insertSnippet",
  8.     "when": "editorTextFocus",
  9.     "args": {
  10.       "snippet": "@required "
  11.     }
  12.   }
  13. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement