diff --git a/ijs.tree b/ijs.tree index 43e9b6436..16c95baa1 100644 --- a/ijs.tree +++ b/ijs.tree @@ -195,8 +195,8 @@ - - + + diff --git a/topics/tutorials/live_templates.md b/topics/tutorials/live_templates.md index bb29389fb..2cd10d104 100644 --- a/topics/tutorials/live_templates.md +++ b/topics/tutorials/live_templates.md @@ -1,6 +1,6 @@ -# Live Templates + - +# Live Templates Live templates support overview. @@ -54,5 +54,5 @@ public void testMethod() { For more information about creating Custom Live Templates, refer to the [corresponding documentation](https://www.jetbrains.com/idea/help/creating-and-editing-live-templates.html). These sections describe how to add Live Templates, and their associated building blocks, to plugins. - * [Providing Live Templates](template_support.md) - * [Creating New Functions for Live Templates](new_macros.md) + * [Providing Live Templates](providing_live_templates.md) + * [Creating New Functions for Live Templates](creating_live_template_functions.md) diff --git a/topics/tutorials/live_templates/new_macros.md b/topics/tutorials/live_templates/creating_live_template_functions.md similarity index 84% rename from topics/tutorials/live_templates/new_macros.md rename to topics/tutorials/live_templates/creating_live_template_functions.md index cc32debb3..8391b6a6c 100644 --- a/topics/tutorials/live_templates/new_macros.md +++ b/topics/tutorials/live_templates/creating_live_template_functions.md @@ -1,4 +1,4 @@ - + # Creating New Functions for Live Templates @@ -18,7 +18,7 @@ A new custom function for Live Templates is implemented in `TitleCaseMacro`, whi Three `TitleCaseMacro` methods are of particular interest: * The `TitleCaseMacro()` constructor passes the name and description of the macro to the parent constructor. * The `isAcceptableInContext()` method tests whether the macro is available in the current context. - The test relies on the [`MarkdownContext`](template_support.md#implement-templatecontexttype) object previously defined in the `live_templates` plugin. + The test relies on the [`MarkdownContext`](providing_live_templates.md#implement-templatecontexttype) object previously defined in the `live_templates` plugin. * The `calculateResult()` method gets invoked when the titleCase function is used in a Live Template. The text to be capitalized is retrieved from the Live Template and converted to Title Case. @@ -28,7 +28,7 @@ Three `TitleCaseMacro` methods are of particular interest: ## Adding a Live Template -Using the procedures previously discussed for [Template Creation](template_support.md#template-creation) and [Export the Live Template](template_support.md#export-the-live-template), add a Live Template to the [Markdown.xml](%gh-sdk-samples-master%/live_templates/src/main/resources/liveTemplates) file for the plugin. +Using the procedures previously discussed for [Template Creation](providing_live_templates.md#template-creation) and [Export the Live Template](providing_live_templates#export-the-live-template), add a Live Template to the [Markdown.xml](%gh-sdk-samples-master%/live_templates/src/main/resources/liveTemplates) file for the plugin. The XML representation of an example Live Template using the new `titleCase` function is listed below. There is only one variable, `TITLE`. diff --git a/topics/tutorials/live_templates/template_support.md b/topics/tutorials/live_templates/providing_live_templates.md similarity index 100% rename from topics/tutorials/live_templates/template_support.md rename to topics/tutorials/live_templates/providing_live_templates.md