{"id":43316893,"url":"https://github.com/zed-extensions/odin","last_synced_at":"2026-02-01T22:05:00.332Z","repository":{"id":285576464,"uuid":"887517534","full_name":"zed-extensions/odin","owner":"zed-extensions","description":"Odin Language support for Zed","archived":false,"fork":false,"pushed_at":"2026-01-10T10:29:42.000Z","size":73,"stargazers_count":37,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T03:23:30.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/zed-extensions.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-12T21:19:59.000Z","updated_at":"2026-01-10T10:29:13.000Z","dependencies_parsed_at":"2025-04-01T14:41:53.505Z","dependency_job_id":"030260f2-d0dd-4273-974f-e98e5767e0e8","html_url":"https://github.com/zed-extensions/odin","commit_stats":null,"previous_names":["rxptr/zed-odin"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/zed-extensions/odin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zed-extensions%2Fodin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zed-extensions%2Fodin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zed-extensions%2Fodin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zed-extensions%2Fodin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zed-extensions","download_url":"https://codeload.github.com/zed-extensions/odin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zed-extensions%2Fodin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28992670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"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":[],"created_at":"2026-02-01T22:04:59.830Z","updated_at":"2026-02-01T22:05:00.324Z","avatar_url":"https://github.com/zed-extensions.png","language":"Rust","funding_links":[],"categories":["🌐 Languages"],"sub_categories":[],"readme":"# 🔨 Odin Language Support for Zed\n\nThis project provides Odin programming language support, featuring syntax highlighting and code navigation via Tree-sitter, Language Server capabilities like autocompletion and diagnostics, and full debugging support.\n\n- Tree Sitter: [tree-sitter-odin](https://github.com/tree-sitter-grammars/tree-sitter-odin)\n- Language Server: [@DanielGavin/ols](https://github.com/DanielGavin/ols)\n- Debug Adapters: LLDB (Built-in)\n\n---\n\n## Language Server\n\nThis extension automatically updates to the latest OLS (Odin Language Server) monthly build on each startup.\n\n### Using a Custom OLS Binary\n\nIf you want to use a specific OLS version or a locally built binary, you can override the automatic download:\n\n```json\n{\n  \"lsp\": {\n    \"ols\": {\n      \"binary\": {\n        \"path\": \"/path/to/your/ols\",\n        \"arguments\": []\n      }\n    }\n  }\n}\n```\n\n### Binary Resolution Order\n\nThe extension searches for the OLS binary in the following priority order:\n\n1. **Custom binary path** - If configured in settings (see above)\n2. **System PATH** - Checks if `ols` is available in your system PATH\n3. **Cached binary** - Uses previously downloaded version if available\n4. **GitHub download** - Downloads latest release from [DanielGavin/ols](https://github.com/DanielGavin/ols/releases)\n\n---\n\n## Configuration\n\n#### Configure via Zed Settings (Recommended)\n\nAdd OLS configuration directly in your Zed `settings.json`. This approach works project-wide and doesn't require additional files:\n\n```jsonc\n{\n  \"lsp\": {\n    \"ols\": {\n      \"initialization_options\": {\n        \"enable_hover\": true,\n        \"enable_snippets\": true,\n        \"enable_procedure_snippet\": true,\n        \"enable_completion_matching\": true,\n        \"enable_references\": true,\n        \"enable_document_symbols\": true,\n        \"enable_format\": true,\n        \"enable_document_links\": true,\n        \"collections\": [\n          {\n            \"name\": \"shared\",\n            \"path\": \"/path/to/shared\"\n          }\n        ]\n      }\n    }\n  }\n}\n```\n\n#### Use `ols.json` in Workspace Root\n\nAlternatively, create an `ols.json` file at the root of your workspace.For more configuration options, see the [OLS documentation](https://github.com/DanielGavin/ols#configuration).\n\n---\n\n## Snippets\n\nYou can define custom code snippets to speed up your Odin development workflow.\n\n### Creating Snippets\n\n1. Open the command palette (`Cmd/Ctrl+Shift+P`)\n2. Run `snippets: configure snippets`\n3. Create or edit `odin.json` in the snippets directory\n4. Add your snippets in JSON format\n\nExample snippet:\n\n```json\n{\n  \"Main procedure\": {\n    \"prefix\": \"main\",\n    \"body\": [\n      \"package main\",\n      \"\",\n      \"import \\\"core:fmt\\\"\",\n      \"\",\n      \"main :: proc() {\",\n      \"\\t$0\",\n      \"}\"\n    ],\n    \"description\": \"Creates a main package with imports\"\n  }\n}\n```\n\nFor detailed information about creating and using snippets, see [Zed's snippet documentation](https://zed.dev/docs/snippets).\n\n---\n\n## Debugging\n\nThis extension supports debugging Odin applications using **LLDB**.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzed-extensions%2Fodin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzed-extensions%2Fodin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzed-extensions%2Fodin/lists"}