Language Server Protocol $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="https://rssamplifier.com/api/frame?u=https%3A%2F%2Fdocs.codio.com%2Fcommon%2Fdevelop%2Fide%2Fboxes%2Finstallsw%2Flangserver.html#language-server-protocol">
The Language Server Protocol (LSP) is used to integrate features such as autocomplete, go to definition, and find all references. Currently, Java, OCAML, and Python LSPs are available.
Below is a Python example:
Enable LSP support $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="https://rssamplifier.com/api/frame?u=https%3A%2F%2Fdocs.codio.com%2Fcommon%2Fdevelop%2Fide%2Fboxes%2Finstallsw%2Flangserver.html#enable-lsp-support" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#enable-lsp-support'">
To enable enable LSP support, enter the following in your User or Project Preferences:
[codio-lsp]
enable_lsp_support = true
If you are authoring content for use in a course, we recommend enabling LSP in Project Preferences, as these are applied over user preferences.
Install LSP $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="https://rssamplifier.com/api/frame?u=https%3A%2F%2Fdocs.codio.com%2Fcommon%2Fdevelop%2Fide%2Fboxes%2Finstallsw%2Flangserver.html#install-lsp" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#install-lsp'">
To install LSPs, follow these steps:
Click the Tools tab and choose Install Software.
Find the relevant component and click the Install icon.
The installation may take a few minutes and you should then Restart your box before proceeding.
Autocomplete $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="https://rssamplifier.com/api/frame?u=https%3A%2F%2Fdocs.codio.com%2Fcommon%2Fdevelop%2Fide%2Fboxes%2Finstallsw%2Flangserver.html#autocomplete" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#autocomplete'">
Autocomplete is not automatically triggered as in HTML/CSS/JS files. To invoke autocomplete for LSP implemented files, use the following shortcuts:
Mac - Shift+Space
Others - Ctrl+Space
If you want to change the default preference, see User Preferences.