Skip to content

Commit b6e4dbd

Browse files
authored
[Tools] Daedalus Language Server article (#121)
[Tools] Daedalus Language Server article
1 parent 47e4e73 commit b6e4dbd

File tree

2 files changed

+47
-6
lines changed

2 files changed

+47
-6
lines changed
Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Daedalus Language Server
2-
[Daedalus Language Server](https://github.com/kirides/vscode-daedalus)
3-
!!! todo
4-
TODO
5-
2+
[Daedalus Language Server](https://github.com/Kirides/DaedalusLanguageServer) is a language server for Gothic's scripting language - Daedalus, created by [Kirides](https://github.com/kirides). However, it is mostly known as VSCode extension, that is in fact named [vscode-daedalus](https://github.com/kirides/vscode-daedalus).
3+
4+
!!! Warning
5+
This article is focused on the vscode-daedalus extension, but since DLS uses [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) it could be implemented into other editors.
6+
7+
8+
## Installation
9+
1. **Download the.vsix File**: Navigate to the [latest release page](https://github.com/kirides/vscode-daedalus/releases) of the vscode-daedalus repository on GitHub. Download the `.vsix` file associated with the latest version available.
10+
11+
2. **Open VSCode**: Launch Visual Studio Code on your computer.
12+
13+
3. **Access Extensions Tab**: Go to the Extensions view in VSCode. You can do this by clicking on the square icon on the sidebar or pressing `Ctrl+Shift+X`.
14+
15+
4. **Install from VSIX**: Click on the three dot icon located in the top right corner of the Extensions view to open the More Actions menu. Select the "Install from VSIX..." option.
16+
17+
5. **Select the.vsix File**: A file dialog will appear asking for the path to the `.vsix` file you downloaded earlier. Navigate to the location where you saved the `.vsix` file, select it, and confirm the selection.
18+
19+
6. **Installation Process**: VSCode will then proceed to install the Daedalus Language Server extension from the `.vsix` file. Once the installation is complete, you may need to reload VSCode to activate the new extension.
20+
21+
7. **Verify Installation**: After reloading, check the Extensions view again to ensure that the Daedalus Language Server extension has been successfully installed.
22+
23+
## Setup
24+
Before opening a project there are some setting that have to be changed. The table below shows which CodePage you should use according to your language.
25+
26+
| CodePage | Languages |
27+
| -------------- | ----------------------------------------- |
28+
| windows-1250 | Czech, Polish, Hungarian, Romanian |
29+
| windows-1251 | Russian, Ukrainian |
30+
| windows-1252 | German, English, French, Italian, Spanish |
31+
| windows-1254 | Turkish |
32+
33+
By default, DLS use windows-1252 encoding, if you want to change you have to edit the `settings.json` file.
34+
35+
1. Open the Command Palette by pressing `Ctrl+Shift+P`.
36+
2. Type `settings.json` and select the option that appears, usually labeled "Preferences: Open User Settings (JSON)".
37+
3. Add the following lines at the end of the file (but before `}`), replacing "Windows-1250" with the appropriate code page for your language:
38+
```json
39+
"daedalusLanguageServer.fileEncoding": "Windows-1250",
40+
"daedalusLanguageServer.srcFileEncoding": "Windows-1250",
41+
"[daedalus]": {
42+
"files.encoding": "windows1250"
43+
}
44+
```
45+
46+
Now if you open a directory that contains e.g. `GOTHIC.SRC` file, the extension will parse it and give you all Language Server features.

docs/zengin/tools/vdfs_tools/vdfs_tool.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# VDFS Tool[^1]
1+
# VDFS Tool
22

3-
VDFS Tool is a new program that supports new features introduced to VDFS by the Union team. Like ZIP compression or drag and drop support.
3+
VDFS Tool[^1] is a new program that supports new features introduced to VDFS by the Union team. Like ZIP compression or drag and drop support.
44

55
## Download
66

0 commit comments

Comments
 (0)