{"id":14965427,"url":"https://github.com/smuuf/vscode-latte-lang","last_synced_at":"2025-10-25T11:31:47.362Z","repository":{"id":202679979,"uuid":"707907809","full_name":"smuuf/vscode-latte-lang","owner":"smuuf","description":"☕ Nette Latte extension for VS Code.","archived":false,"fork":false,"pushed_at":"2024-02-06T23:47:49.000Z","size":649,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T07:04:30.656Z","etag":null,"topics":["extension","frontend","intellisense","latte","nette","php","template","templating","ui","vscode","webdesign","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/smuuf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-10-21T00:25:07.000Z","updated_at":"2025-01-06T22:09:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb00a3a3-f52a-4e61-b9ef-3aee08ca64e1","html_url":"https://github.com/smuuf/vscode-latte-lang","commit_stats":null,"previous_names":["smuuf/vscode-latte"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smuuf%2Fvscode-latte-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smuuf%2Fvscode-latte-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smuuf%2Fvscode-latte-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smuuf%2Fvscode-latte-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smuuf","download_url":"https://codeload.github.com/smuuf/vscode-latte-lang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238128573,"owners_count":19421057,"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":["extension","frontend","intellisense","latte","nette","php","template","templating","ui","vscode","webdesign","webdevelopment"],"created_at":"2024-09-24T13:34:44.750Z","updated_at":"2025-10-25T11:31:42.040Z","avatar_url":"https://github.com/smuuf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/smuuf/vscode-latte-lang/master/resources/logo.png\" width=\"100\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eNette Latte extension for VS Code ☕\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nVS Code extension for \u003ca href=\"https://latte.nette.org/\"\u003eNette Latte\u003c/a\u003e template files.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://marketplace.visualstudio.com/items?itemName=smuuf.latte-lang\"\u003e\n    \u003cimg alt=\"VS Code Marketplace Downloads\" src=\"https://img.shields.io/visual-studio-marketplace/d/smuuf.latte-lang\"\u003e\u003c/a\u003e\n\u003ca href=\"https://marketplace.visualstudio.com/items?itemName=smuuf.latte-lang\"\u003e\n    \u003cimg alt=\"VS Code Marketplace Installs\" src=\"https://img.shields.io/visual-studio-marketplace/i/smuuf.latte-lang\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\nOpen and install via VS Code Marketplace: [Nette Latte templates](https://marketplace.visualstudio.com/items?itemName=smuuf.latte-lang).\n\n## Provides\n- **Syntax highlight** in Latte files.\n- **Class-based declaration of template variables** via Latte tag `{templateType My\\Lovely\\Type}`.\n  - See [Latte docs](https://latte.nette.org/en/type-system) for detailed usage.\n- **Go to variable definition** for variables defined in Latte files.\n- **Go to class definition** of typed variables in Latte files.\n  - ![obrazek](https://github.com/smuuf/vscode-latte-lang/assets/6860713/0dadd251-77b7-4cd5-8f8d-e67f371f1aad)\n- **Go to method definition** of methods called on typed variables in Latte files.\n- **Go to referenced Latte files** used in `{include ...}`, `{layout ...}`, `{sandbox ...}`, `{extends ...}` tags.\n- **Hover information** containing type of variables in Latte files.\n- **Hover information** containing return type of method calls in Latte files.\n  - ![obrazek](https://github.com/smuuf/vscode-latte-lang/assets/6860713/4b9e4f2d-7a75-4580-a0ae-e1a69b0f8361)\n- **Type inference** of values coming from known method calls with known return types.\n  - ![obrazek](https://github.com/smuuf/vscode-latte-lang/assets/6860713/2ad84aea-9956-4c8b-89db-dd0ef94af278)\n- **Type resolution** of basic iterables.\n  - For example for `{foreach $a as $b}` where `$a` is of type `array\u003cMyType\u003e` we will know `$b` is of type `MyType`.\n  - ![obrazek](https://github.com/smuuf/vscode-latte-lang/assets/6860713/e717a1a1-c4d1-43e6-b847-de412b29fc1e)\n- **Autocomplete** support for `$variables` and `$object-\u003emethodName()` in Latte files.\n  - ![obrazek](https://github.com/smuuf/vscode-latte-lang/assets/6860713/180426ce-3150-4aa9-94a8-35b5c6530d78)\n\n### Types\nThe excentions supports resolving generic types for these basic iterable types:\n- `array\u003cV\u003e`\n- `iterable\u003cV\u003e`\n- `\\Iterator\u003cV\u003e`\n- `\\IteratorAggregate\u003cV\u003e`\n- `\\Traversable\u003cV\u003e`\n- `\\Generator\u003cV\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmuuf%2Fvscode-latte-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmuuf%2Fvscode-latte-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmuuf%2Fvscode-latte-lang/lists"}