PyTorch Snippets - Visual Studio Marketplace
marketplace.visualstudio.com › itemsFrom the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (MacOS) select Install Extension or just simply go to the Extensions tab (most likely the fifth entry on the left sidebar). You can also use the hotkey Ctrl-Shift-X respectifely Cmd-Shift-X Type PyTorch Snippets Choose and install extension Restart/Reload Visual Studio Code