mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
change "Adding Live Templates to a Plugin" to "Providing Live Templates"
This commit is contained in:
parent
a20db4762d
commit
c71c3ac382
@ -3,7 +3,7 @@
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
* [Live Templates](live_templates.md)
|
||||
* [Adding Live Templates to a Plugin](template_support.md)
|
||||
* [Providing Live Templates](template_support.md)
|
||||
* [Creating New Functions for Live Templates](new_macros.md)
|
||||
* Surround Templates
|
||||
* File Templates
|
||||
* File Templates
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
*Live Templates* are customizable rules that allow developers to abbreviate repetitive patterns of text in the editor.
|
||||
*Live Templates* are customizable rules that allow developers to abbreviate repetitive text patterns in the editor.
|
||||
When a user types the designated abbreviation followed by a configurable *expansion key* (usually `Tab`), the IDE transforms the preceding input sequence to its full-length output, and update the cursor position.
|
||||
|
||||
For example, consider a `for` loop.
|
||||
@ -19,6 +19,6 @@ As the user completes each section of the `for` loop and presses `Tab`, the curs
|
||||
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.
|
||||
* [Adding Live Templates to a Plugin](template_support.md)
|
||||
* [Providing Live Templates](template_support.md)
|
||||
* [Creating New Functions for Live Templates](new_macros.md)
|
||||
* Surround Templates
|
||||
* Surround Templates
|
||||
|
@ -1,4 +1,4 @@
|
||||
[//]: # (title: Adding Live Templates to a Plugin)
|
||||
[//]: # (title: Providing Live Templates)
|
||||
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user