SHARE
TWEET

VSCode @required snippet

hottabych Jun 29th, 2020 1,100 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. ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top