mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
Fixes IJSDK-119
This commit is contained in:
parent
c19ddcd6a5
commit
b8cfa55d1f
@ -45,7 +45,7 @@ The `DefaultLiveTemplatesProvider` tells us where to find the Live Template sett
|
|||||||
A `TemplateContextType` tells us where the live template is applicible.
|
A `TemplateContextType` tells us where the live template is applicible.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
{% include /code_samples/live_templates/src/MarkdownTemplateProvider.java %}
|
{% include /code_samples/live_templates/src/MarkdownContext.java %}
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you define the `TemplateContextType`, be sure to add the assigned context type to the previously created Live Template settings file. Under `<template>...</template>` add the following context:
|
Once you define the `TemplateContextType`, be sure to add the assigned context type to the previously created Live Template settings file. Under `<template>...</template>` add the following context:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user