{"id":15057540,"url":"https://github.com/juliaeditorsupport/atom-language-julia","last_synced_at":"2025-04-09T06:12:38.813Z","repository":{"id":33692957,"uuid":"37345871","full_name":"JuliaEditorSupport/atom-language-julia","owner":"JuliaEditorSupport","description":"A Julia language support package for the Atom editor","archived":false,"fork":false,"pushed_at":"2025-02-21T09:22:50.000Z","size":490,"stargazers_count":52,"open_issues_count":19,"forks_count":39,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-06T06:11:23.061Z","etag":null,"topics":["atom","atom-editor","julia","julia-language","julialang"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaEditorSupport.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"custom":"https://numfocus.salsalabs.org/donate-to-julia/index.html"}},"created_at":"2015-06-12T21:40:32.000Z","updated_at":"2025-02-21T09:22:45.000Z","dependencies_parsed_at":"2022-09-13T05:21:14.184Z","dependency_job_id":"820bc804-5ad6-4f36-ae82-e3351ea02015","html_url":"https://github.com/JuliaEditorSupport/atom-language-julia","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fatom-language-julia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fatom-language-julia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fatom-language-julia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaEditorSupport%2Fatom-language-julia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaEditorSupport","download_url":"https://codeload.github.com/JuliaEditorSupport/atom-language-julia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"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":["atom","atom-editor","julia","julia-language","julialang"],"created_at":"2024-09-24T22:07:47.843Z","updated_at":"2025-04-09T06:12:38.795Z","avatar_url":"https://github.com/JuliaEditorSupport.png","language":"JavaScript","funding_links":["https://numfocus.salsalabs.org/donate-to-julia/index.html"],"categories":[],"sub_categories":[],"readme":"# Julia Grammar\n\n[![Build Status](https://github.com/JuliaEditorSupport/atom-language-julia/workflows/CI/badge.svg)](https://github.com/JuliaEditorSupport/atom-language-julia/actions?query=workflow%3ACI+branch%3Amaster)\n\nJulia grammar definition for Atom, VS Code, and GitHub.\n\nThe source of truth in this repo is `grammars/julia.template.json`; `julia.json`, `julia.cson`, and `julia_vscode.json` are automatically generated in a pre-commit hook or with `npm run generate`.\n\n## Contributing\n\nWe love contributors. Here are the steps we have taken to develop on this package:\n\n0. Install prerequisites: [Node.js](https://nodejs.org/) and `npm` (comes bundled with Node). We recommend using a [Node version manager](https://github.com/search?q=node+version+manager+archived%3Afalse\u0026type=repositories\u0026ref=advsearch). LTS is recommended, but any node version newer than 14 should do.\n1. Clone this repo and `cd` into it\n2. Run `npm ci`\n3. Open `grammars/julia.template.json` in your favourite editor and fix a bug or implement additional highlighting rules\n4. Add corresponding tests at the bottom of `test/test.js`\n5. Run the updated tests with `npm run test`\n6. Once tests pass and you're happy with your changes, commit them and open a PR against this repo. This should automatically run a pre-commit hook that generates derivative grammars for VS Code and Atom from `julia.template.json`.\n\n### Testing the updated grammar in VS Code\nFollow the [julia-vscode developer instructions](https://github.com/julia-vscode/julia-vscode/blob/main/CONTRIBUTING.md) to get the extension setup. Afterwards, simply copy the updated `julia_vscode.json` from this repo into `julia-vscode/syntaxes` and you should see your changes in the debug editor after reloading it.\n\n## Contributor list\n\n- Everyone who has helped with the [tmBundle](https://github.com/JuliaLang/Julia.tmbundle)\n- [See contributors](https://github.com/JuliaEditorSupport/atom-language-julia/graphs/contributors)\n\n## Atom package\n\u003cdetails\u003e\n\u003csummary\u003eAtom package (sunset end of 2022)\u003c/summary\u003e\n\nThis is also an Atom package to provide Julia syntax highlighting, snippets, and docstring folding. Originally based off of [JuliaLang/julia.tmBundle](https://github.com/JuliaLang/Julia.tmbundle), merged with new ideas from [language-julia](https://github.com/tpoisot/language-julia/blob/master/README.md).\n\n### Features:\n\n- Syntax highlighting\n- Snippets for common Julia keywords and constructs (see `snippets/language-julia.cson`)\n- Toggle folding of docstrings\n\n### Installation\n\nInstallation happens normally either through `apm install language-julia` or through the install section of the settings tab within Atom.\n\nNote: if you already have a different version of language-julia plugin installed (e.g. [this one](https://github.com/tpoisot/language-julia)), you would need to remove it first using `apm uninstall language-julia`\n\n### Recommended Extras\n\n* The [LaTeX Completions](https://github.com/JunoLab/atom-latex-completions)\n  package provides support for unicode characters similarly to the Julia REPL.\n* The [Indent Detective](https://github.com/JunoLab/atom-indent-detective) package will help you keep to the style guidelines when working on Base or packages.\n* Install [language-markdown](https://atom.io/packages/language-markdown) for syntax highlighting in docstrings.\n* Install [atom-language-r](https://atom.io/packages/atom-language-r) for syntax highlighting of R string macros.\n\n### Toggling docstrings\n\nTwo Atom commands are provided to toggle all docstrings or the docstring under the cursor: `language-julia:toggle-docstrings` and `language-julia:toggle-all-docstrings`. These are not assigned keys. Here is one example of adding these to keymaps using org-mode style keys:\n\n```\n'atom-text-editor[data-grammar=\"source julia\"]:not([mini])':\n  'tab':       'language-julia:toggle-docstrings'\n  'shift-tab': 'language-julia:toggle-all-docstrings'\n```\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaeditorsupport%2Fatom-language-julia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaeditorsupport%2Fatom-language-julia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaeditorsupport%2Fatom-language-julia/lists"}