mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
* switch to 242, update gh-ic links * fix link * fix link * fix link * fix link * regen EP lists still some diff between 242 and EAP8 * convert gh-ic-master links * GH code-samples: update PV IDE versions * code samples: adjust target IDE&since/until values * regen EP lists from release branch * intellij_community_plugins_extension_point_list.md: fix duplicate heading * intellij_community_plugins_extension_point_list.md: fix DevKit.lang.visitorProviderForRBCInspection EP * GH: update PV versions * 2024.2 GA
Live Templates Sample 
Reference: Live Templates in IntelliJ SDK Docs
Quickstart
Live Templates Sample Project implements two example live templates for the Markdown language:
- New link reference - by typing the
{<TAB>
, the following template will be inserted:[$TEXT$]($LINK$)$END$
- Convert to title case - retrieves the text from the macro or selection, if available.
Extension Points
Name | Implementation | Extension Point Class |
---|---|---|
com.intellij.defaultLiveTemplates |
Markdown | n/a |
com.intellij.liveTemplateContext |
MarkdownContext | TemplateContextType |
com.intellij.liveTemplateMacro |
TitleCaseMacro | MacroBase |
Reference: Plugin Extension Points in IntelliJ SDK Docs