ploeh / ploeh.github.com

ploeh blog 'source code'
133 stars 323 forks source link

feat: Add snippets for VScode #937

Closed c-vetter closed 6 months ago

c-vetter commented 6 months ago

So, let me get this straight... Just by placing the snippets file in the (otherwise Git-ignored) .vscode directory, the code snippets light up for that Git repository?

That is correct. The .vscode directory is used for repository-local overrides and additions. Another neat feature is that you can recommend extensions for contributors with a .vscode/extensions.json. Although there's no good reason to edit that one manually, because that's what "Add to Workspace Recommendations" is for in the extension settings. Just git add it and it's good to go.

ploeh commented 6 months ago

FWIW, I'm already enjoying that these snippets are just available in the code base. Thank you 👍