docs: Improve quickstart and add icon guide
This commit is contained in:
parent
cb30860ec6
commit
2d1620f86d
1 changed files with 17 additions and 2 deletions
19
README.md
19
README.md
|
@ -12,11 +12,26 @@ In addition to the generated sources, you also need to run the `build setup -> n
|
||||||
complain about missing files
|
complain about missing files
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
|
|
||||||
<!-- Plugin description -->
|
<!-- Plugin description -->
|
||||||
Yet another attempt at bringing zig to the IntelliJ world.
|
An LSP-powered language plugin for the Zig Programming Language.
|
||||||
|
|
||||||
|
|
||||||
## QUICKSTART
|
## QUICKSTART
|
||||||
Go to `Settings` -> `Languages & Frameworks` -> `Zig` -> `ZLS path` -> select your `zls` executable
|
1. Download or compile the ZLS language server, available at https://github.com/zigtools/zls
|
||||||
|
2. Go to `Settings` -> `Languages & Frameworks` -> `Zig` -> `ZLS path` -> set the path to the `zls` executable you downloaded or compiled
|
||||||
|
3. Open a .zig file, and wait for the circle in the bottom status bar to turn Green (empty).
|
||||||
|
See below for an explanation on what the circle means.
|
||||||
|
|
||||||
|
## LSP status icon explanation
|
||||||
|
Red (X symbol):
|
||||||
|
LSP server is stopped. You either don't have a proper ZLS path set, or you don't have a .zig file open.
|
||||||
|
|
||||||
|
Yellow ("refresh arrow" symbol):
|
||||||
|
LSP server is starting, please be patient.
|
||||||
|
|
||||||
|
Green (empty):
|
||||||
|
LSP server is running.
|
||||||
|
|
||||||
## Feature tracker:
|
## Feature tracker:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue