{"id":20504475,"url":"https://github.com/tiknil/androidstudio-live-templates","last_synced_at":"2026-03-06T08:33:17.623Z","repository":{"id":113421757,"uuid":"46709338","full_name":"tiknil/AndroidStudio-Live-Templates","owner":"tiknil","description":"AndroidStudio Live Templates are useful for use the same Android style and do some procedures faster","archived":false,"fork":false,"pushed_at":"2019-12-30T10:42:02.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-05T20:55:26.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/tiknil.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":"2015-11-23T09:16:58.000Z","updated_at":"2019-12-30T10:42:04.000Z","dependencies_parsed_at":"2023-11-04T10:00:21.982Z","dependency_job_id":null,"html_url":"https://github.com/tiknil/AndroidStudio-Live-Templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiknil/AndroidStudio-Live-Templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2FAndroidStudio-Live-Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2FAndroidStudio-Live-Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2FAndroidStudio-Live-Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2FAndroidStudio-Live-Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiknil","download_url":"https://codeload.github.com/tiknil/AndroidStudio-Live-Templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2FAndroidStudio-Live-Templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30167963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-15T19:38:21.807Z","updated_at":"2026-03-06T08:33:17.604Z","avatar_url":"https://github.com/tiknil.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AndroidStudio Live Templates\n\nLive Templates da utilizzare in Android Studio per lo sviluppo Android: sono utili per migliorare il tuo lavoro in termini di velocità ma anche di qualità del codice. (Vedi [Android Style Guide](https://github.com/tiknil/android-style-guide) by Tiknil)\n\n### Come aggiungerli ad Android Studio ###\n\nPer aggiungere questi Live Templates devi copiare il file `Tiknil.xml` nella cartella dei live templates della tua versione di Android Studio.\n\nSu mac la cartella è al percorso `~/Library/Preferences/\u003cproduct name\u003e\u003cversion number\u003e/templates`, se usi un altro sistema operativo [controlla qual'è il path corretto](https://www.jetbrains.com/idea/help/live-templates.html).\nFai attenzione a usare la cartella della versione corretta. Quando si aggiorna Android Studio ricordati di confermare l'importazione delle impostazioni dalle versioni precedenti.\n\n### Live templates ###\n\n#### `def` ####\n\nQuesto live template è molto comodo per organizzare il codice di implementazione delle classi Java in modo coerente. Basta cominciare a digitare `def` e il live template proporrà le `//region` per raggruppare il codice in maniera ordinata\n\n![def_androidstudio_live_templates](http://cl.ly/image/1G2M2y1f3y0S/animation.gif)\n\n\n#### `tag` ####\n\nQuesto live template serve a definire la costante di classe `TAG` da poter utilizzare nei metodi `Log.`. Comincia a scrivere `tag` e ti verrà proposto solo di inserire il nome della classe attuale.\n\n#### `mark` ####\n\nQuesto live template è molto comodo per organizzare il codice di implementazione delle classi Kotlin in modo coerente. Basta cominciare a digitare `mark` e il live template proporrà le `//region` per raggruppare il codice in maniera ordinata\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Fandroidstudio-live-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiknil%2Fandroidstudio-live-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Fandroidstudio-live-templates/lists"}