---
title: "Editor setup"
url: https://una-lang.org/en/docs/editor/
release: v0.4.0
source: https://github.com/una-lang/una/blob/v0.4.0/docs/guide/syntax-reference.md
---

# Editor setup

`una lsp` (ADR 0063) serves the Language Server Protocol 3.17 on stdin and stdout, for editors. It publishes the diagnostics of `una check` with their repairs as quick fixes, formats documents, shows contracts, types and obligation statuses on hover, and goes to definitions. It checks at tier 0 on every change and at tier 1 on save, with the proof cache of the CLI. It never runs programs.

## Set up an editor

Any editor with a client for the Language Server Protocol can use it: configure the client to start `una lsp` as the server for `.una` files, speaking over standard input and output. The command's options and its normative text are on [`una lsp`](https://una-lang.org/en/docs/cli/lsp/).
