Skip to content

Latest commit

 

History

History
 
 

live_templates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Live Templates Sample JetBrains IntelliJ Platform SDK Docs

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