Skip to content

JennieJi/vsext-gitlab-snippets

Repository files navigation

VSCode GLab Snippets Extension

VSCode extension for managing snippets on GitLab. Suppports private setting, multiple hosts, personal favorite list, save to local.

To use the extension, you will need to add your host, and private token via command palette Add host command:

Commands

Enter your host. And it will ask for your personal access token.

Generated a personal access token with api access in user settings > Access Tokens.

Token

Copy the token generated, enter into the textbox. And select your API version. Latest API version is 4.

And then you could use other commands like publish, add snippet by ID, or the snippets explorer to view, star, download, copy to clipboard and paste the snippet into your workspace:

Explorer