{"id":32122845,"url":"https://github.com/rszyma/vscode-kanata","last_synced_at":"2026-02-19T08:01:23.313Z","repository":{"id":187474281,"uuid":"659404119","full_name":"rszyma/vscode-kanata","owner":"rszyma","description":"Language support for kanata configuration files in VS Code","archived":false,"fork":false,"pushed_at":"2026-02-12T06:40:11.000Z","size":1060,"stargazers_count":45,"open_issues_count":16,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T16:08:36.823Z","etag":null,"topics":["kanata","lsp","rust","vscode-extension","wasm"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=rszyma.vscode-kanata","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rszyma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-27T19:01:12.000Z","updated_at":"2026-02-12T06:40:14.000Z","dependencies_parsed_at":"2025-05-27T06:27:22.800Z","dependency_job_id":"01997b36-509d-4266-b639-133184f39a97","html_url":"https://github.com/rszyma/vscode-kanata","commit_stats":null,"previous_names":["rszyma/vscode-kanata"],"tags_count":154,"template":false,"template_full_name":null,"purl":"pkg:github/rszyma/vscode-kanata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rszyma%2Fvscode-kanata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rszyma%2Fvscode-kanata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rszyma%2Fvscode-kanata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rszyma%2Fvscode-kanata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rszyma","download_url":"https://codeload.github.com/rszyma/vscode-kanata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rszyma%2Fvscode-kanata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["kanata","lsp","rust","vscode-extension","wasm"],"created_at":"2025-10-20T21:00:41.127Z","updated_at":"2026-02-19T08:01:23.307Z","avatar_url":"https://github.com/rszyma.png","language":"Rust","funding_links":[],"categories":["Keyboard"],"sub_categories":[],"readme":"# vscode-kanata\n[![GitHub Repo stars](https://img.shields.io/github/stars/rszyma/vscode-kanata?logo=github)](https://github.com/rszyma/vscode-kanata)\n[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/rszyma.vscode-kanata?logo=visualstudiocode)](https://marketplace.visualstudio.com/items?itemName=rszyma.vscode-kanata)\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/rszyma/vscode-kanata/rust.yml)\n\u003c!-- ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/rszyma/vscode-kanata/publish.yml?label=nightly%20kanata%20version%20bump) --\u003e\n\u003c!-- [![Visual Studio Marketplace Version (including pre-releases)](https://img.shields.io/visual-studio-marketplace/v/rszyma.vscode-kanata)](https://marketplace.visualstudio.com/items?itemName=rszyma.vscode-kanata) --\u003e\n\nA VS Code extension that adds language support for [kanata](https://github.com/jtroo/kanata) configuration files.\n\nAvailable at\n- VS Code Marketplace - https://marketplace.visualstudio.com/items?itemName=rszyma.vscode-kanata\n- Open VSX - https://open-vsx.org/extension/rszyma/vscode-kanata\n\nThis extension aims to stay up-to-date with latest kanata git.\nWhenever something changes in `parser` folder in kanata repository, at the end of the day, Github Actions will automatically build a new version of this extension with updated parser.\n\n## Features\n\nKanata config files are detected by `.kbd` file extension.\n\n### Syntax highlighting\n\nkeywords, action identifiers, alias handles etc.\n\n\u003cp\u003e\u003cimg src=\"assets/syntax-highlighting-showcase.png\"/\u003e\u003c/p\u003e\n\n### Checking for config errors\n\nConfig will be parsed and validated, when saving document.\n\n\u003cp\u003e\u003cimg src=\"assets/config-parsing-showcase.gif\"/\u003e\u003c/p\u003e\n\n### Support for including other files\n\nIf you use [`include`](https://github.com/jtroo/kanata/blob/main/docs/config.adoc#include-other-files) configuration items in your kanata config, make sure to adjust the following settings:\n- `vscode-kanata.includesAndWorkspaces`\n- `vscode-kanata.mainConfigFile`\n\nImportant: Absolute paths in `include` blocks that point outside the opened workspace aren't supported.\n\nAlso, if you work with multiple main files, and find yourself switching `mainConfigFile` often, there's a handy command palette entry:\n- `Kanata: Set current file as main`\n\n### Formatter: auto-apply spacial layout of `defsrc` to all `deflayer`s\n\nThis is enabled by default, because I've seen a lot of kanata configs, and it seems like\nmajority of users prefer to align their `deflayer`s according to spacial layout of `defsrc`.\nIf you have \"Auto format on save enabled\" and don't want this feature, you can disable\nit in settings (search for \"kanata.format\").\n\n### Goto definition\n\n- CTRL+Click on an identifier to go to definition\n- CTRL+Click on a definition to reveal references.\n\nImplemented for aliases, variables, layers, virtualkeys, templates and includes.\nSupported in both single-mode and workspace (includes-enabled) mode.\n\n\u003c!-- todo: gif here --\u003e\n\n### Symbol rename\n\nSymbol rename is supported for everything that Goto Defintion supports, except for includes.\n\nBy default, it can be triggered by pressing F2 on a symbol you want to rename.\n\n\u003c!-- todo: gif here --\u003e\n\n## Contributing\n\nIf you have an idea what could be improved, feel free to open an issue or a PR.\n\n### Bug reports\n\nIf you encounter a bug, please report it here: https://github.com/rszyma/vscode-kanata/issues\n\n### Hacking\n\nSee [HACKING.md](HACKING.md) for build instructions and other useful bits for developers.\n\n## Release notes\n\nSee the [change log](CHANGELOG.md).\n\n## Credits\n\n- https://github.com/jtroo/kanata/ - provides kanata-parser crate\n- https://github.com/osohq/oso - used this as vscode extension template (with a lot of things removed)\n- https://github.com/canadaduane/vscode-kmonad - syntax highlighting config\n- https://github.com/jtroo/kanata/blob/main/assets/kanata-icon.svg - kanata icon\n- https://github.com/entibo/vscode-kmonad-format - the idea of formatting `deflayer`s according to spacing in `defsrc`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frszyma%2Fvscode-kanata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frszyma%2Fvscode-kanata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frszyma%2Fvscode-kanata/lists"}