A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/julia-vscode/LanguageServer.jl/wiki/Kate below:

Kate · julia-vscode/LanguageServer.jl Wiki · GitHub

Kate with Julia LSP support

LanguageServer.jl can be easily used with Kate by using the pre-defined LSP setting that comes included with every Kate install.

  1. Enable the LSP plugin in your Kate installation (Settings -> Configure Kate -> Plugins).
  2. LanguageServer.jl has to be installed locally on your PC. It is recommended to install it into the base environment, i.e. @vX.Y. Open a Julia instance, run ] and then add LanguageServer, and it will be available to use in all other environments.

The default setting should cover most use cases (including Julia installations via Juliaup). But it also serves as a quick and easy starting point to copy and modify it, should you have a custom Julia installation that requires a few tweaks to the LSP setting.

Here's a template to use for a custom Julia LSP config that can be added to Kate in the LSP settings (Settings -> Configure Kate -> LSP Client -> User Server Settings):

{
    "servers": {
        "julia": {
            "command": ["julia", "-e", "using LanguageServer; runserver();"],
            "root": ".",
            "path": ["%{ENV:HOME}/.juliaup/bin"],
            "url": "https://github.com/julia-vscode/LanguageServer.jl",
            "highlightingModeRegex": "^Julia$"
        }
    }
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4