mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
Add backlinks to translatable element descriptions sections
This commit is contained in:
parent
49dfe96552
commit
4bc0fb08e1
@ -126,6 +126,8 @@ Implicit in using [`LocalInspectionTool`](%gh-ic%/platform/analysis-api/src/com/
|
||||
>
|
||||
{style="warning"}
|
||||
|
||||
> See the [](providing_translations.md#bundled-translations) section for information about how to provide inspection description translations in plugins.
|
||||
|
||||
#### Code Snippets
|
||||
<primary-label ref="2023.2"/>
|
||||
|
||||
|
@ -80,6 +80,8 @@ It can be customized with the `<descriptionDirectoryName>` element in `<intentio
|
||||
>
|
||||
{style="warning"}
|
||||
|
||||
> See the [](providing_translations.md#bundled-translations) section for information about how to provide intention description translations in plugins.
|
||||
|
||||
#### Testing the Plugin
|
||||
|
||||
> Note that running the test requires setting system property `idea.home.path` in the `test` task configuration of the Gradle build script.
|
||||
|
@ -91,6 +91,8 @@ file.
|
||||
>
|
||||
{style="warning"}
|
||||
|
||||
> See the [](providing_translations.md#bundled-translations) section for information about how to provide file template description translations in plugins.
|
||||
|
||||
## Providing Default File Template Properties
|
||||
|
||||
A file template body can use a set of [predefined properties](https://www.jetbrains.com/help/idea/file-template-variables.html#predefined_template_variables) exposed by the IntelliJ Platform out of the box.
|
||||
|
@ -52,6 +52,8 @@ The _\$EXTENSION\$_ placeholder should be replaced with the extension of the tem
|
||||
>
|
||||
{style="warning"}
|
||||
|
||||
> See the [](providing_translations.md#bundled-translations) section for information about how to provide postfix template description translations in plugins.
|
||||
|
||||
The code snippets included in the example files can use the `<spot>` marker, which should surround the most important code parts, e.g., expression to expand and position of the caret after expanding.
|
||||
Marked parts will be highlighted in the <ui-path>Settings | Editor | General | Postfix Completion</ui-path> settings page, making it easier for users to understand how a template is expanded, e.g.:
|
||||
- <path>before.java.template</path>:
|
||||
|
Loading…
x
Reference in New Issue
Block a user