All Projects → bjansen → Pebble Intellij

bjansen / Pebble Intellij

Licence: mit
Pebble support for IntelliJ IDEA

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Pebble Intellij

Idea Android Studio Plugin
Android Studio Plugin
Stars: ✭ 293 (+330.88%)
Mutual labels:  intellij, android-studio, intellij-plugin
BugKotlinDocument
Plugin for IntelliJ IDEA ┗😃┛ Android Studio ┗😃┛ CLion ┗😃┛ AppCode.
Stars: ✭ 29 (-57.35%)
Mutual labels:  intellij, intellij-plugin, android-studio
Runconfigurationasaction
Provides a way to use IntelliJ run configurations as buttons
Stars: ✭ 17 (-75%)
Mutual labels:  intellij, android-studio, intellij-plugin
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (-27.94%)
Mutual labels:  intellij, intellij-plugin, android-studio
interstellar
Dark editor theme for JetBrains IDEs
Stars: ✭ 26 (-61.76%)
Mutual labels:  intellij, intellij-plugin, android-studio
TranslationPlugin
Translation plugin for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio.
Stars: ✭ 9,375 (+13686.76%)
Mutual labels:  intellij, intellij-plugin, android-studio
getx-snippets-intelliJ
An extension to accelerate the process of developing applications with flutter, aimed at everyone using the GetX package.
Stars: ✭ 52 (-23.53%)
Mutual labels:  intellij, intellij-plugin, android-studio
eventbus-plugin
IntelliJ iDEA plugin to work with projects using greenrobot's EventBus library
Stars: ✭ 25 (-63.24%)
Mutual labels:  intellij, intellij-plugin, android-studio
Intellij Rainbow Brackets
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio
Stars: ✭ 3,663 (+5286.76%)
Mutual labels:  intellij, android-studio, intellij-plugin
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+1072.06%)
Mutual labels:  intellij, intellij-plugin
Intellij jahia plugin
Jahia's definitions.cnd files syntax highlighting, code completion, and other amazing stuff
Stars: ✭ 19 (-72.06%)
Mutual labels:  intellij, intellij-plugin
Servicestack.java
ServiceStack Java Libraries and Apps
Stars: ✭ 10 (-85.29%)
Mutual labels:  intellij, android-studio
Acejump
🅰️ single character search, select, and jump
Stars: ✭ 786 (+1055.88%)
Mutual labels:  intellij, intellij-plugin
Intellij Figlet
🔌A FIGlet-based ASCII Art generation plugin for IntelliJ based IDEs.
Stars: ✭ 27 (-60.29%)
Mutual labels:  intellij, intellij-plugin
Intellij Solidity
Solidity plugin for IntelliJ
Stars: ✭ 646 (+850%)
Mutual labels:  intellij, intellij-plugin
Intellij Music
Play fancy music based on your keyboard activity in IDE
Stars: ✭ 28 (-58.82%)
Mutual labels:  intellij, intellij-plugin
Sfcc Studio
Salesforce Commerce Cloud (SFCC) Studio Plugin for Jetbrains IDEs
Stars: ✭ 30 (-55.88%)
Mutual labels:  intellij, intellij-plugin
Intellij Platform Plugin Template
Template repository for creating plugins for IntelliJ Platform
Stars: ✭ 637 (+836.76%)
Mutual labels:  intellij, intellij-plugin
Intellij Sdk Docs
IntelliJ SDK Platform Documentation
Stars: ✭ 913 (+1242.65%)
Mutual labels:  intellij, intellij-plugin
Intellij Arend
Arend plugin for IntelliJ IDEA
Stars: ✭ 67 (-1.47%)
Mutual labels:  intellij, intellij-plugin

IntelliJ plugin for Pebble Gitter GitHub Actions GitHub release Coverage

This plugin provides support for the Pebble templating engine in IntelliJ IDEA 2017.3 and later.

IntelliJ plugin for Pebble

Features

  • parser/lexer1 and syntax highlighter (supports custom delimiters)
  • live templates for built-in tags
  • braces matching, code folding and commenting
  • quote handler
  • navigation (methods and fields, included files)
  • code completion
  • highlight unknown references
  • support for variables and functions introduced by pebble-spring
  • more to come

1: Custom operators are currently not supported.

Installation

This plugin is available in JetBrains' plugin repository, from your IDE go to Preferences > Plugins and enter pebble in the search bar.

Mixing Pebble and other languages

To make the editor recognize two languages in the same file, for example HTML and Pebble, go to Preferences > Languages & Frameworks > Template Data Languages and select the HTML data language on the directory that contains your Pebble templates:

Template data languages settings

This will enable features like syntax highlighting, code completion, navigation, Emmet expansions etc.

Using code completion

In order to use code completion, you will have to let the plugin know what the type of foo is. This can be done using @pebvariable hints, much like in the JSP, FreeMarker and Velocity plugins:

Code completion

@pebvariable hints can be easily added to templates via the var live template. They must follow this syntax:

{# @pebvariable name="<name>" type="<type>" #}

For code completion to work properly in the type attribute, your .peb files need to be placed under a content root (e.g. src/main/resources). Otherwise, classes defined in your own source files won't be suggested.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].