File: README.md

package info (click to toggle)
emacs-lsp-docker 1.0.0%2Bgit20250423.ff41f4a-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: lisp: 705; sh: 50; makefile: 24; cpp: 19; javascript: 13; python: 10
file content (25 lines) | stat: -rw-r--r-- 910 bytes parent folder | download
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
# Scope #

This folder contain the files to manually perform a manual test lsp-docker and support development.

# Howto #

The user shall have `projectile` installed such that this folder is recognized as a project.

To test the various scenarios follow the steps below:
```shell
# build the test image and create a container for a language server
docker compose up -d

# create a link to describe the configuration of the language server(s), choose one of the scenarios
rm -f .lsp-docker.yml
ln -s [multi-server|single-server-container|single-server-image].yml .lsp-docker.yml
```

In Emacs:
1. open one (or both) the example sources (`hellowold.[py|cpp]`)
1. add `test` folder to workspace project list via `lsp-workspace-folders-add`
1. register the language server(s) invoking `lsp-docker-register`
1. revert the opened buffer
1. check that the expected language server is used via `lsp-describe-session`