{"id":28581954,"url":"https://github.com/juliaeditorsupport/zed-julia","last_synced_at":"2025-06-11T04:44:55.987Z","repository":{"id":233899147,"uuid":"787995275","full_name":"JuliaEditorSupport/zed-julia","owner":"JuliaEditorSupport","description":"Julia support for Zed.","archived":false,"fork":false,"pushed_at":"2025-06-06T10:01:13.000Z","size":80,"stargazers_count":68,"open_issues_count":8,"forks_count":10,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-06T11:18:44.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scheme","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/JuliaEditorSupport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-04-17T15:20:12.000Z","updated_at":"2025-06-06T10:01:15.000Z","dependencies_parsed_at":"2024-06-03T09:17:02.865Z","dependency_job_id":"978f884a-edf2-4fd1-98d6-0e65f384b691","html_url":"https://github.com/JuliaEditorSupport/zed-julia","commit_stats":null,"previous_names":["pangoraw/zed-julia","juliaeditorsupport/zed-julia"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fzed-julia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fzed-julia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fzed-julia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fzed-julia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaEditorSupport","download_url":"https://codeload.github.com/JuliaEditorSupport/zed-julia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fzed-julia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259202716,"owners_count":22821095,"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":"2025-06-11T04:43:54.209Z","updated_at":"2025-06-11T04:44:55.965Z","avatar_url":"https://github.com/JuliaEditorSupport.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zed Julia\n\nThis extension adds support for the [Julia](https://julialang.org/) language in\nthe [zed](https://zed.dev) editor.\n\n\n### Installing Julia / Zed / Zed Julia extension\n1. Install Julia for your platform: https://julialang.org/downloads/\n2. Install Zed for your platform: https://zed.dev/download\n3. Start Zed.\n4. Inside Zed, go to the extensions view by\nexecuting the ``zed: extensions`` command (click Zed-\u003eExtensions).\n5. In the extensions view, simply search for the term ``julia`` in the search box, then select the extension named ``Julia`` and click the install button. You might have to restart Zed after this step.\n\nThe Julia Zed extension looks for your Julia binary in the standard locations.\nMake sure that the Julia binary is on your ``PATH``.\n\n\n### Contributing\n\nSee [this document](./CONTRIBUTING.md).\n\n\n### Using Zed in the REPL\n\nZed is currently not on the list of Julia's predefined editors. You can add it to your `~/.julia/config/startup.jl`:\n\n```julia\natreplinit() do repl\n    InteractiveUtils.define_editor(\"zed\") do cmd, path, line, column\n        `$cmd $path:$line:$column`\n    end\nend\n```\n\nSet the environment variable EDITOR (or VISUAL or JULIA_EDITOR, whatever you use) to `zed --wait`. Then, using `InteractiveUtils.edit` etc. will open the document in Zed.\n\n### Customizing syntax highlighting\n\nYou can change the foreground color and text attributes of syntax tokens in your `~/.config/zed/settings.json`, for instance:\n\n```json\n{\n  \"experimental.theme_overrides\": {\n    \"syntax\": {\n      \"comment.doc\": {\n        \"color\": \"#808080\",\n        \"font_style\": \"italic\"\n      },\n      \"function.definition\": {\n        \"color\": \"#0000AA\",\n        \"font_weight\": 700\n      }\n    }\n  }\n}\n```\nNote: the \"color\" field is mandatory even if you just want to change the \"font_style\" (the example in Zed's docs does not work).\n\nSee [Syntax Highlighting and Themes](https://zed.dev/docs/configuring-languages#syntax-highlighting-and-themes) and [Tree-sitter Queries](https://zed.dev/docs/extensions/languages#tree-sitter-queries) for further details.\n\nSyntax tokens are called *captures* in tree-sitter jargon. The following table lists all captures provided by zed-julia. Some captures have default values (defined in [Zed's color themes](https://github.com/zed-industries/zed/blob/main/assets/themes/)) and the other captures fall back to one of the defaults. Depending on your color theme, some captures may be set to the editor's foreground color or to a very similar one. In this case, try to assign a different color to improve the contrast. \n\n| Capture | Is there a default value? | Note/Example | \n| ------- | ------------------------- | ------------ |\n| boolean | yes |\n| comment | yes | line or block comment |\n| comment.doc | yes | docstring |\n| constant.builtin | no, falls back to constant | core julia built-in |\n| function.builtin | no, falls back to function | core julia built-in |\n| function.call | no, falls back to function | name of the called function |\n| function.definition | no, falls back to function | name of the defined function |\n| function.macro | no, falls back to function | name of the macro |\n| keyword | yes |\n| keyword.conditional | no, falls back to keyword | `if`, `else` |\n| keyword.conditional.ternary | no, falls back to keyword | `? :` |\n| keyword.exception | no, falls back to keyword | `try`, `catch` |\n| keyword.function | no, falls back to keyword | `function`, `do`, short function definition: `=` |\n| keyword.import | no, falls back to keyword | `im/export`, `using`, module definition |\n| keyword.operator | no, falls back to keyword | `in`, `isa`, `where` |\n| keyword.repeat | no, falls back to keyword | `for`, `while` |\n| keyword.return | no, falls back to keyword | `return` |\n| number | yes |\n| number.float | no, falls back to number |\n| operator | yes |\n| punctuation.bracket | yes | `()`, `[]`, `{}` |\n| punctuation.delimiter | yes | `,`, `;` |\n| punctuation.special | yes | string interpolation: `$()` |\n| string | yes |\n| string.escape | yes | escape sequence |\n| string.special | yes | command literal |\n| string.special.symbol | yes | quote expression |\n| type | yes |\n| type.builtin | no, falls back to type | core julia built-in |\n| type.definition | no, falls back to type |\n| variable | yes |\n| variable.builtin | no, falls back to variable | core julia built-in: `begin` and `end` in indices |\n| variable.member | no, falls back to variable | example: in `foo.bar`, the member is `bar` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaeditorsupport%2Fzed-julia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaeditorsupport%2Fzed-julia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaeditorsupport%2Fzed-julia/lists"}