diff --git a/qqq-dev-tools/intellij/live-templates/Kingsrook-Java.xml b/qqq-dev-tools/intellij/live-templates/Kingsrook-Java.xml new file mode 100644 index 00000000..63fc58a8 --- /dev/null +++ b/qqq-dev-tools/intellij/live-templates/Kingsrook-Java.xml @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qqq-dev-tools/intellij/live-templates/QQQ.xml b/qqq-dev-tools/intellij/live-templates/QQQ.xml new file mode 100644 index 00000000..241cb6cd --- /dev/null +++ b/qqq-dev-tools/intellij/live-templates/QQQ.xml @@ -0,0 +1,46 @@ + + + + + + + + + diff --git a/qqq-dev-tools/intellij/live-templates/README.md b/qqq-dev-tools/intellij/live-templates/README.md index 8dab387f..d488bdf4 100644 --- a/qqq-dev-tools/intellij/live-templates/README.md +++ b/qqq-dev-tools/intellij/live-templates/README.md @@ -1,6 +1,14 @@ +## Usage You can add these live templates to your IntelliJ as follows: - Get the contents of one or more files on your clipboard - e.g., `cat Kingsrook-SQL.xml | pbcopy` - IntelliJ > Preferences > Editor > Live Templates -- Select the Template Group that you want to put them in (possibly creating a new one via the + button) +- Select the Template Group that you want to put them in + - Recommended that you use a group whose name matches the file name you're loading from + - You may need to create a new one group via the + button - Right-click on the Template Group and choose Paste. + +## Publishing +From IntelliJ > Preferences > Editor > Live Templates, right-click +on one or more Live Templates to copy it - paste it into an XML file. +