Skip to content

Convert Resharper's code template to Visual Studio Code's snippet

Notifications You must be signed in to change notification settings

horeaper/ResharperCodeTemplateToVSCodeSnippet

Repository files navigation

Resharper Code Template to Visual Studio Code Snippet

Convert Resharper's code template to Visual Studio Code's snippet (Not Visual Studio's Code Snippet!!)

Tested with Resharper 2019.2.3 and Visual Studio Code 1.40.0

Requires .NET Framework 4.5 or Mono to run.

How To Use

  1. Click Resharper->Tools->Templates Explorer
  2. Select C# scope
  3. Ctrl+A to select all code templates
  4. Click "Export..." in the toolbar
  5. Save the DotSettings file
  6. Drag that file onto T2S.exe, or use command line: .\T2S.exe YourFileName.DotSettings
  7. Copy the generated csharp.json file to %APPDATA%\Code\User\snippets\csharp.json
  8. Done!

Note

It should work with other language's template as well, just rename the generated json file accordingly.

About

Convert Resharper's code template to Visual Studio Code's snippet

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages