{"id":14965497,"url":"https://github.com/nette-intellij/intellij-latte","last_synced_at":"2025-10-25T11:32:07.557Z","repository":{"id":16916079,"uuid":"19677368","full_name":"nette-intellij/intellij-latte","owner":"nette-intellij","description":"Latte plugin for IntelliJ IDEA platform","archived":false,"fork":false,"pushed_at":"2024-03-13T03:41:07.000Z","size":6815,"stargazers_count":113,"open_issues_count":33,"forks_count":22,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-31T07:05:09.532Z","etag":null,"topics":["ide","intellij-plugin","latte","nette","php","phpstorm","plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nette-intellij.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mesour"}},"created_at":"2014-05-11T21:05:45.000Z","updated_at":"2024-09-14T14:51:33.000Z","dependencies_parsed_at":"2022-09-24T11:01:57.801Z","dependency_job_id":"e792a1c3-26ea-42b4-b842-28132407b7dd","html_url":"https://github.com/nette-intellij/intellij-latte","commit_stats":{"total_commits":170,"total_committers":5,"mean_commits":34.0,"dds":0.3411764705882353,"last_synced_commit":"46c5b0c91417afc0990b57eb00fc629996ab9ea7"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-intellij%2Fintellij-latte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-intellij%2Fintellij-latte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-intellij%2Fintellij-latte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nette-intellij%2Fintellij-latte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nette-intellij","download_url":"https://codeload.github.com/nette-intellij/intellij-latte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238128664,"owners_count":19421076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ide","intellij-plugin","latte","nette","php","phpstorm","plugin"],"created_at":"2024-09-24T13:34:49.922Z","updated_at":"2025-10-25T11:32:02.123Z","avatar_url":"https://github.com/nette-intellij.png","language":"Java","funding_links":["https://github.com/sponsors/mesour"],"categories":[],"sub_categories":[],"readme":"Latte Plugin for IntelliJ IDEA / PhpStorm\n=========================================\n\n\u003c!-- Plugin description --\u003e\nProvides support for [Latte](https://github.com/nette/latte) – a template engine for PHP.\nIt's a must-have plugin for Nette developers.\n\u003c!-- Plugin description end --\u003e\n\n- Plugin page: [IntelliJ plugin Latte](https://plugins.jetbrains.com/plugin/7457-latte)\n- Forum: [Nette forum](https://forum.nette.org/en/32907-upgrades-in-latte-plugin-for-phpstorm)\n\n\nInstallation\n------------\n\nSettings → Plugins → Browse repositories → Find \"Latte\" → Install Plugin → Restart IDE\n\n\nSponsors\n------\n\n\u003ca href=\"https://www.futurerockstars.cz/\"\u003e\u003cimg src=\".github/sponsors/future-rockstars.png\" alt=\"FutureRockstars\" width=\"188\" height=\"86\"\u003e\u003c/a\u003e\n\nDoes GitHub already have your 💳? Does Nette plugins save you development time? [Send a couple of 💸 a month my way too.](https://github.com/sponsors/mesour) Thank you!\n\nTo request an invoice, [contact me](mailto:matous.nemec@mesour.com) through e-mail.\n\n\nSupported Features\n------------------\n\n* Syntax highlighting\n* Code completion for PHP, classic HTML, attribute tags and more\n* Registering custom tags, filters and custom functions\n\n\nTesting EAP versions\n--------------------\n\nLatte plugin for IntelliJ is downloadable from the JetBrains plugin repository directly in the PHPStorm. Latte plugin for IntelliJ using channel `eap` which contains the latest release candidate.\n\n- Here is, how to set up custom release channels in PHPStorm: [Custom release channels](https://plugins.jetbrains.com/docs/marketplace/custom-release-channels.html)\n- You have to add this link: `https://plugins.jetbrains.com/plugins/eap/list` to your Custom plugin repositories\n- After you add the link above, you can refresh your plugins Marketplace and you will see RC versions for Latte plugin\n\n\nBuilding\n------------\n\nPlugin uses Gradle to build, but before build you need to install **Grammar-Kit** plugin to Intellij Idea, right click in file explorer to **LatteParser.bnf** located in **com.jantvrdik.intellij.latte**, click to **Generate Parser Code**, then select PSI root to **src/main/gen/com/jantvrdik/intellij/latte/psi** and generated parser as **src/main/gen/com/jantvrdik/intellij/latte/parser/LatteParser.class**\n\nAfter generating parser files, you need to generate a .flex file from the same .bnf file, right click to file and choose option **Generate JFlex Lexer** and generate **_LatteLexer.flex** in the same folder.\n\nNow you can build plugin using gradle, and it will automatically generate another classes from .flex files, if you want you can help us automate system, so next time no one must do the manual generation work.\n```$xslt\n$ gradlew build\n```\n\nTo build `.jar` file to local install to IDE run gradle task `buildPlugin`. `.jar` file with plugin will be located in `build/libs`\n\n\nRun IDE for testing\n-------------------\n\nCreate file `local.properties` in project and insert next content with path to IDE directory:\n\nFor your current OS see `default IDE paths`: https://www.jetbrains.com/help/idea/tuning-the-ide.html#default-dirs\n\n```\nrunIdeDirectory = /Users/\u003cuser id\u003e/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/201.7223.96/PhpStorm 2019.3 EAP.app/Contents\n```\n\nAnd run gradle task `:runIde` ideally by run configurations in IDEA (it supports debugging).\n\nKnown Limitations\n-----------------\n\n* Low-level macros `{syntax}` is not supported, `{contentType}` is supported partially.\n\n![Screenshot](http://plugins.jetbrains.com/files/7457/screenshot_14518.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnette-intellij%2Fintellij-latte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnette-intellij%2Fintellij-latte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnette-intellij%2Fintellij-latte/lists"}