Adds support for YAML completion based on user-defined templates.
- Create a new .yaml-templates folder in the root of your project.
- Start definining templates.
- Each template should have a
prefix:
key, defining the autocomplete lookup prefix, and adata:
key, containing the data that will be inserted - There can be multiple templates in one file, separated by ---
Each one should have a `prefix` and `data` key - Autocomplete also looks for the content of the templates, as well as the prefix name
Example:
prefix: template
data:
my:
data: here
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "yaml-templates-intellij" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.