Write your snippets with ultisnips and convert to json

Sérgio Araújo - Sep 8 '21 - - Dev Community

Introduction

Almost everyone who uses vim became curious about neovim, and among all of these geek guys the great majority has used ultisnips at least for a while. This little article aims to help you to convert ultisnips to vscode format, not because vscode but because the json format is becomming very common. I have found a site that teaches us how perform this task:

npm i -g convert-snippets
Enter fullscreen mode Exit fullscreen mode

Usage

convert-snippets source_file target_file
Enter fullscreen mode Exit fullscreen mode

Automatically detects source_file format and generates target_file

Sharing experiences

What do you use as snippet engine? Have you ever used neovim? Share your snippets and experiences in the comments section!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .