-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathlsp.html
45 lines (45 loc) · 1.8 KB
/
lsp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Lobster LSP (Language Server Protocol)</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="github.css" />
<link rel="icon" type="image/svg" href="lobster.svg" />
</head>
<body>
<header id="title-block-header">
<h1 class="title">Lobster LSP (Language Server Protocol)</h1>
</header>
<h2 id="implementation">Implementation</h2>
<p>The lobster LSP is written in typescript, and runs with node. It
calls internally the lobster compiler for the features. > LSP simply
uses <a href="command_line_usage.html">command line arguments</a> from
the lobster runtime.</p>
<h2 id="i-want-to-use-this-for-x-editoride">I want to use this for x
editor/IDE</h2>
<p>Usually you have to package this LSP in a addon for your preferred
IDE. See your IDE/editors documentation on how to integrate this. PRs
are always welcome.</p>
<p>You compile the LSP to a final js file to be execute by node with
<code>npm run webpack</code>.</p>
</body>
</html>