You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,3 +28,15 @@ The version is _x.a.b.c.d.y_ where _a.b.c.d_ is the 4-digit Agda version (2.6.4.
28
28
* for less impact on the Agda codebase
29
29
* to help [decouple the Agda codebase](https://github.com/agda/agda/projects/5)
30
30
* we can always merge it back to Agda later anyway
31
+
32
+
## Hacking
33
+
34
+
This language server is co-developed alongside [agda-mode on VS Code](https://github.com/banacorn/agda-mode-vscode).
35
+
Enable `agdaMode.connection.agdaLanguageServer` in agda-mode's settings, and then hit *restart* <kbd>C-x</kbd> <kbd>C-r</kbd> to connect to the language server.
36
+
The editor extension will search for the language server in the following order:
37
+
1.`localhost:4096` via TCP
38
+
2.`als` executable on your machine
39
+
3. Prebuilt binaries on GitHub
40
+
41
+
To host the language server locally at `localhost:4096`, run `:main -p` in the REPL (`stack repl`).
42
+
This allows us to reload the language server in the REPL without having to recompile and reinstall the whole project on your system every time there is a change.
0 commit comments