From bcb0c7a06b661b776c3230b14070fdefd25686e1 Mon Sep 17 00:00:00 2001 From: Victor Lupu Date: Sat, 13 Oct 2018 19:15:56 +0300 Subject: [PATCH] Revert "vscode project snippets without the need for an extension" This reverts commit bdc03b9a6f6a64cf453a26e1c36c85fd83b48edb. --- .vscode/{C4.code-snippets => snippets/diagram.json} | 0 README.md | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename .vscode/{C4.code-snippets => snippets/diagram.json} (100%) diff --git a/.vscode/C4.code-snippets b/.vscode/snippets/diagram.json similarity index 100% rename from .vscode/C4.code-snippets rename to .vscode/snippets/diagram.json diff --git a/README.md b/README.md index a8b819c..6a812a2 100644 --- a/README.md +++ b/README.md @@ -90,13 +90,13 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS") ## Snippets for Visual Studio Code -Because the PlantUML support inside of Visual Studio Code is excellent with the [PlantUML extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml), you can also find VS Code snippets for C4-PlantUML at [.vscode/C4.code-snippets](.vscode/C4.code-snippets). - -Project level snippets are now supported in [VSCode 1.28](https://code.visualstudio.com/updates/v1_28#_project-level-snippets). -Just include the `C4.code-snippets` file in the `.vscode` folder of your project. +Because the PlantUML support inside of Visual Studio Code is excellend with the [PlantUML extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml), you can also find VS Code snippets for C4-PlantUML at [.vscode/snippets/diagram.json](.vscode/snippets/diagram.json). It is possible to save them directly inside VS Code: [Creating your own snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_creating-your-own-snippets). +Or you can use the [Project Snippets extension](https://marketplace.visualstudio.com/items?itemName=rebornix.project-snippets). +Now it is possible to have workspace/project level code snippets. + ![C4-PlantUML Snippets Video](images/vscode_c4plantuml_snippets.gif) ## Layout Options