From 98b526696beb9f11f0c7e6ceeb25dc9bf0b51788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Mon, 7 Apr 2025 11:34:55 +0200 Subject: [PATCH] Update C4 IntelliJ live template Fixes #388 --- README.md | 13 +++++++++++-- intellij/c4_live_template.zip | Bin 1214 -> 1411 bytes 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0128e36..e3acc7c 100644 --- a/README.md +++ b/README.md @@ -966,8 +966,11 @@ It is possible to save them directly inside VS Code: [Creating your own snippets ### Prerequisites -[Graphviz download](https://graphviz.gitlab.io/download/) -[PlantUML Integration](https://plugins.jetbrains.com/plugin/7017-plantuml-integration) +Download and install [Graphviz](https://graphviz.gitlab.io/download/) plus the [PlantUML Integration for IntelliJ](https://plugins.jetbrains.com/plugin/7017-plantuml-integration). + +OR + +Install the [AsciiDoc plugin for IntelliJ](https://plugins.jetbrains.com/plugin/7391-asciidoc) if you work with AsciiDoc files rather than `.puml` files. ### Install @@ -977,6 +980,12 @@ It is possible to save them directly inside VS Code: [Creating your own snippets 4. In the Import Settings dialog, select the Live templates checkbox and click OK. 5. Restart IntelliJ. +Alternatively + +1. Download [IntelliJ live template](intellij/c4_live_template.zip) ZIP file. +2. Unzip it and copy its `c4.xml` to the `/template` directory in the [IntelliJ settings directory](https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs). +3. Restart IntelliJ. + ### Usage - Create new PlantUML file (.puml). diff --git a/intellij/c4_live_template.zip b/intellij/c4_live_template.zip index db7c4587b9224da7166f9fe1bed5e4e4a5dd044a..d44ae89a5d978c65d88122afe8b9398deaa1a356 100644 GIT binary patch literal 1411 zcmWIWW@h1HW&naSYbzo^Gz`cB8J>A1sW~~BUJ9Nru8s=sIr&M6ISRq4B_)}8>BRv! zwekYBX66-_BXJ?LDspq)&c5$|+d$y>{qNxwH(O?~l;qejx;otE-F9iyHs{-u zp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