{"id":13590925,"url":"https://github.com/noembryo/KV4Jetbrains","last_synced_at":"2025-04-08T14:32:05.568Z","repository":{"id":169856473,"uuid":"216393276","full_name":"noembryo/KV4Jetbrains","owner":"noembryo","description":"Syntax highlighting and auto-completion for Kivy/KivyMD .kv files in PyCharm/Intellij IDEA","archived":false,"fork":false,"pushed_at":"2024-01-12T13:52:31.000Z","size":81,"stargazers_count":119,"open_issues_count":0,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-26T04:11:57.285Z","etag":null,"topics":["jetbrains","kivy","kivymd","pycharm","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","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/noembryo.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}},"created_at":"2019-10-20T16:37:54.000Z","updated_at":"2025-01-24T02:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1e28c47-7572-4f36-a8b7-fad1ef6e6ef1","html_url":"https://github.com/noembryo/KV4Jetbrains","commit_stats":null,"previous_names":["noembryo/kv4jetbrains"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noembryo%2FKV4Jetbrains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noembryo%2FKV4Jetbrains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noembryo%2FKV4Jetbrains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noembryo%2FKV4Jetbrains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noembryo","download_url":"https://codeload.github.com/noembryo/KV4Jetbrains/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247860836,"owners_count":21008364,"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":["jetbrains","kivy","kivymd","pycharm","syntax-highlighting"],"created_at":"2024-08-01T16:00:51.844Z","updated_at":"2025-04-08T14:32:05.321Z","avatar_url":"https://github.com/noembryo.png","language":null,"funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# KV4Jetbrains\n\n## Syntax highlighting and auto-completion for Kivy/KivyMD `.kv` files in PyCharm/Intellij IDEA\n![kv_code](https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.screen.2b.png)\n\nThis settings file is based on the one that is located at the\n[\"Setting Up Kivy with various popular IDE's\"](https://github.com/kivy/kivy/wiki/Setting-Up-Kivy-with-various-popular-IDE's) page of [Kivy@GitHub](https://github.com/kivy/kivy).  \nIt's **updated** and has also support for the **KivyMD** modules and properties.\n___\nThere are 4 categories of keywords:\n* **Modules** (e.g. `FloatLayout`, `Button`, `Image` ..)\n* **Properties** (e.g. `text`, `source`, `size_hint_x` ..)\n* **Actions** (e.g. `on_release`, `on_text`, `on_parent` ..)\n* **Special** (The `app`, `cls`, `root`, `self`, `False`, `None`, `True` keywords)\n\nThe colors of these categories can be changed in\n`Settings`\u003e`Editor`\u003e`Color Scheme`\u003e`Custom`.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.colors.png\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.colors.png\" height=\"350\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nYou can Add/Remove keywords by going to the\n`Settings`\u003e`Editor`\u003e`File Types` and double click (edit) the `Kv Language` entry.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.edit.png\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.edit.png\" height=\"300\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.keywords.png\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/noembryo/KV4Jetbrains/master/img/kv.keywords.png\" height=\"300\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n_Also, feel free to inform me about missing keywords so that I can update the settings file._\n\n___\n## Installation instructions for PyCharm/Intellij IDEA:\n\n* Click `File`\u003e \\[`Manage IDE Settings`\\] \u003e`Export Settings` and save a backup of your current settings\n(in case something goes wrong)\n* Download the `JetBrains.kvMD.completion.v0.x.jar` from the [releases](https://github.com/noembryo/KV4Jetbrains/releases)\n* Click `File`\u003e \\[`Manage IDE Settings`\\] \u003e`Import Settings`\n* Select the `.jar` file and a dialog will open.\n* Click OK and restart PyCharm ;o)\n___\n## Semi-Language Injection to String Literals\n_Added in v0.3_\n\nPyCharm, IDEA (and all the JetBrains IDE's) support \"Language Injection\", a way to have\nsyntax highlighting inside the Python's string literals.  \nUnfortunately, only the supported languages are supported (!)\n\nThere is a workaround (better than nothing, but not by much), to have something like this:\n\n![kv_code](https://user-images.githubusercontent.com/24675403/67905219-4f350480-fb79-11e9-970d-09a5fb91074a.png)\n\nYou can read about it [here](https://github.com/noembryo/KV4Jetbrains/issues/2#issuecomment-548008947).\n\nTo use it, just select _all_ the `kv` code in the string, press `Ctrl+Alt+T` (\"Surround\nWith...\") and select the `KV. Surround for kv injection` entry.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoembryo%2FKV4Jetbrains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoembryo%2FKV4Jetbrains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoembryo%2FKV4Jetbrains/lists"}