Skip to content

JetBrains IDE Suite plugin providing YAML completion based on user-defined templates

License

Notifications You must be signed in to change notification settings

vlad-tura/yaml-templates-intellij

Repository files navigation

yaml-templates-intellij

Build Version Downloads

Adds support for YAML completion based on user-defined templates.

How it works

  • 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 a data: 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

Installation

  • 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.

About

JetBrains IDE Suite plugin providing YAML completion based on user-defined templates

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages