{"id":46549461,"url":"https://github.com/sublimelsp/lsp-julia","last_synced_at":"2026-03-07T03:03:34.774Z","repository":{"id":37855532,"uuid":"280847364","full_name":"sublimelsp/LSP-julia","owner":"sublimelsp","description":"Julia support for Sublime's LSP plugin using LanguageServer.jl","archived":false,"fork":false,"pushed_at":"2026-02-26T14:15:22.000Z","size":304,"stargazers_count":23,"open_issues_count":10,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-26T20:29:40.145Z","etag":null,"topics":["julia","language-server-protocol","sublime-text"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sublimelsp.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":"2020-07-19T11:02:12.000Z","updated_at":"2026-02-26T14:15:35.000Z","dependencies_parsed_at":"2024-01-09T20:52:49.655Z","dependency_job_id":"8ac8f539-01ef-432f-bca8-83e29e2de211","html_url":"https://github.com/sublimelsp/LSP-julia","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/sublimelsp/LSP-julia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublimelsp%2FLSP-julia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublimelsp%2FLSP-julia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublimelsp%2FLSP-julia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublimelsp%2FLSP-julia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sublimelsp","download_url":"https://codeload.github.com/sublimelsp/LSP-julia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sublimelsp%2FLSP-julia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["julia","language-server-protocol","sublime-text"],"created_at":"2026-03-07T03:03:19.458Z","updated_at":"2026-03-07T03:03:34.765Z","avatar_url":"https://github.com/sublimelsp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSP-julia\n\n[![License](https://img.shields.io/github/license/sublimelsp/LSP-julia)](https://github.com/sublimelsp/LSP-julia/blob/master/LICENSE)\n\nA plugin for the LSP client in Sublime Text with support for the [Julia language server](https://github.com/julia-vscode/LanguageServer.jl).\n\n\n## Requirements \u0026 Installation\n\nThe following should be installed:\n\n* [Julia](https://julialang.org/) 1.10, 1.11, or 1.12\n* The [Julia package](https://packages.sublimetext.io/packages/Julia/) from Package Control\n* The [LSP](https://packages.sublimetext.io/packages/LSP/) and [LSP-julia](https://packages.sublimetext.io/packages/LSP-julia/) packages from Package Control\n* Optionally the [Terminus](https://packages.sublimetext.io/packages/Terminus/) package from Package Control for a basic Julia REPL integration and the ability to run code blocks with a key binding\n\n\u003e [!NOTE]\n\u003e If the `julia` executable is not in your PATH, you need to provide the full path to the executable in the LSP-julia package settings.\n\nWhen a Julia file is opened for the first time after installing LSP-julia, the language server will automatically be installed with the Julia package manager. This can take a few minutes.\n\n\n## Features\n\nThe Julia language server supports most of the standard LSP features like auto-completion, documentation on hover, goto definition, and diagnostics (linting).\n\n\u003e [!IMPORTANT]\n\u003e Most features require that a folder was opened in Sublime Text and don't work in single file mode.\n\nLSP-julia provides additional commands which are available from the command palette:\n\n| Command label | Key binding | Description |\n| ------------- | ----------- | ----------- |\n| LSP-julia: Change Current Environment | none | Select the Julia project environment you are working in. The packages from this environment are used by the language server to provide autocomplete suggestions and for diagnostics/linting. Dependent on the number of packages, it might take a while for the server to do a package indexing process in the background, after switching to a different environment. |\n| LSP-julia: Documentation | none | Search the Julia documentation[^1] and open the results in a tab. You can also right-click on a word in a Julia file and select \"Show Documentation\" from the context menu to open the corresponding documentation page. |\n| LSP-julia: Open Julia REPL in Panel[^2] | none | Open a Julia REPL, started in the directory of the active file, or focus if already running. |\n| LSP-julia: Open Julia REPL in Tab[^2] | none | Same as above, but use a normal tab instead of the bottom panel for the REPL. |\n| LSP-julia: Select Code Block | none | Select the function or code block at the current cursor position. For multiple active cursors, only the topmost cursor position is taken into account. |\n| LSP-julia: Run Code Block[^2] | \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eEnter\u003c/kbd\u003e | If text is selected, run it in a Julia REPL. Otherwise, run the code block containing the current cursor position and move curser to the next block. |\n| LSP-julia: Run Code Cell[^2] | \u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eEnter\u003c/kbd\u003e | If text is selected, run it in a Julia REPL. Otherwise, run the code cell containing the current cursor position and move curser to the next cell. Code cells are signalized with a specially formatted comment at the start of a line: `##`, `#%%` or `# %%`. |\n\u003c!-- | LSP-julia: Run Testitem | none | Show a quick panel with all available `@testitem`s in Julia files (see description below). | --\u003e\n\n[^1]: The documentation pages are dynamically generated from docstrings in Julia base, the standard library and in Julia packages, not from the official documentation on the Julia website.\n[^2]: Only available if you have the Terminus package installed.\n\nTo add or adjust key bindings for the commands, run *Preferences: Key Bindings* from the command palette and modify the user file on the righthand side.\nFor an example refer to the [Default.sublime-keymap](Default.sublime-keymap) file in this repository, and for the command names from this package see [LSP-julia.sublime-commands](LSP-julia.sublime-commands).\n\n\u003c!-- ### Run individual test items\n\nLSP-julia has a special feature which allows to run individual testsets from a Julia package directly from the editor UI.\n\nFor this to work, the tests must be contained within a `@testitem` block, which is basically a replacement for `@testset`.\nFor an example see the screenshot below or read the detailed description at https://github.com/julia-vscode/TestItemRunner.jl#writing-tests.\n\nA `@testitem` can be executed via the \"Run Test\" link shown in an annotation on the righthand side of the editor, or with the \"LSP-julia: Run Testitem\" command from the command palette.\nTest failures and errors will be shown as annotations at the position in the code where they occured.\nCurrently there is no cancelling for the running `@testitem`s implemented, so make sure that the tests finish in a finite amount of time or manually close potential Julia processes from the task manager if you accidentally added an infinite loop.\n\n\u003e [!NOTE]\n\u003e The `@testitem` feature only works in [project environments](https://docs.julialang.org/en/v1/manual/code-loading/#Project-environments), i.e. you must have opened a folder in the sidebar which contains a *Project.toml* (or *JuliaProject.toml*) file with a `name` and `uuid` field.\n\u003e\n\u003e `@testitem`s have an isolated scope. The package to be tested is loaded implicitly through `using`. To access unexported symbols, either export them or call them by prepending the module name (for example `MyPackage.foo()`).\n\nIf you want to disable this feature completely, you can toggle off the following entry in the LSP-julia settings (*Preferences: LSP-julia Settings* from the command palette):\n```json\n{\n  \"initializationOptions\": {\n    \"julialangTestItemIdentification\": false\n  }\n}\n```\n\n![Testitem preview](img/testitem.png) --\u003e\n\n\n## Troubleshooting\n\n### I have deleted or cleaned up my `.julia` directory. Now the language server doesn't start anymore.\n\nDelete the `LSP-julia` folder at the following location:\n* on Windows: `%LocalAppData%/Sublime Text/Package Storage/LSP-julia`\n* on Linux: `~/.cache/sublime-text/Package Storage/LSP-julia`\n* on macOS: `~/Library/Application Support/Sublime Text/Package Storage/LSP-julia`\n\nThen restart Sublime Text and open a Julia file to re-install the language server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelsp%2Flsp-julia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimelsp%2Flsp-julia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelsp%2Flsp-julia/lists"}