{"id":21599196,"url":"https://github.com/gridonic/idea-live-templates","last_synced_at":"2025-07-19T03:32:45.125Z","repository":{"id":66333730,"uuid":"68889953","full_name":"gridonic/idea-live-templates","owner":"gridonic","description":"A collection of Live Templates for PhpStorm","archived":false,"fork":false,"pushed_at":"2016-09-22T07:51:02.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T11:49:01.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/gridonic.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":"2016-09-22T06:04:38.000Z","updated_at":"2021-01-19T08:11:25.000Z","dependencies_parsed_at":"2023-02-20T19:46:03.703Z","dependency_job_id":null,"html_url":"https://github.com/gridonic/idea-live-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gridonic/idea-live-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fidea-live-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fidea-live-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fidea-live-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fidea-live-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gridonic","download_url":"https://codeload.github.com/gridonic/idea-live-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fidea-live-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883675,"owners_count":23843792,"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":[],"created_at":"2024-11-24T18:14:39.031Z","updated_at":"2025-07-19T03:32:45.116Z","avatar_url":"https://github.com/gridonic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IDEA Live Templates\n\nA collection of useful live templates that you can use within your PhpStorm or IntelliJ IDEA installation.\n\nThe structure of this repository as well as the handy script to list all templates has been heavily inspired\nby https://github.com/keyboardsurfer/idea-live-templates. Kudos go to the repository maintainer.\n\n## Installation\n\n- Find the [live templates location](https://www.jetbrains.com/help/idea/2016.2/live-templates.html) for your IntelliJ IDE version\n- `cd` into that location, run `git clone https://github.com/gridonic/idea-live-templates.git gridonic`\n- Copy all `.xml` files from the cloned repository into the `templates` folder `cp gridonic/*.xml .`\n- Restart your IDE\n\n## Update\n\n- `cd` into your [live templates location](https://www.jetbrains.com/help/idea/2016.2/live-templates.html)\n- Run `cd gridonic; git pull; cp *.xml ../; cd ..`\n- Restart your IDE\n\n## Included live templates\n\nThe list of included live templates is generated by `./listCurrentTemplates`\n\n### GridonicCSS.xml\n- __`///`__: \"CSS sub-section comment block\"\n- __`//`__: \"CSS single line comment\"\n- __`//master`__: \"CSS master style sheet comment block\"\n- __`//method`__: \"sassdoc method comment block\"\n\n### GridonicJS.xml\n- __`log`__: \"`console.log` statement in js\"\n\n### GridonicPHP.xml\n- __`dprintr`__: \"Debug `print_r` statement\"\n\n### GridonicTwig.xml\n- __`trans`__: \"Twig `trans` shortcut\"\n\n## Contribution to this collection\n\nIf you want to supply a template that is useful, follow this guide:\n\n1. Fork the project\n2. Add your own live templates\n3. Run `./listCurrentTemplates.sh` and insert the relevant output in the README.md\n4. Send a pull request\n5. Wait\n6. Profit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridonic%2Fidea-live-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgridonic%2Fidea-live-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridonic%2Fidea-live-templates/lists"}