Skip to content

Commit a6a4ff8

Browse files
committed
add editor support page
1 parent d7ec888 commit a6a4ff8

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
+++
2+
title = "Editor Support"
3+
weight = 111
4+
+++
5+
6+
Phel integrates with popular editors through community-maintained plugins and
7+
extensions. Install the tool that matches your workflow and point it at your
8+
project directory.
9+
10+
## PhpStorm
11+
12+
Use the [Phel IntelliJ plugin](https://github.com/phel-lang/phel-intellij-plugin)
13+
for syntax highlighting, structural editing, and REPL actions within PhpStorm or
14+
other JetBrains IDEs. Install it via *Settings → Plugins → Marketplace* and
15+
search for “Phel”.
16+
17+
## VSCode
18+
19+
The [Phel VS Code extension](https://github.com/phel-lang/phel-vs-code-extension)
20+
adds syntax highlighting, snippets, and inline evaluation support. Install it
21+
from the VS Code marketplace and reload the editor for the language features to
22+
activate.
23+
24+
## Emacs
25+
26+
[interactive-lang-tools](https://codeberg.org/mmontone/interactive-lang-tools)
27+
ships Phel support for Emacs, including editing helpers and REPL integration.
28+
Follow the repository instructions to add it to your Emacs configuration, then
29+
open a `.phel` file to enable the mode.
30+
31+
## Vim
32+
33+
[`phel.vim`](https://github.com/danirod/phel.vim) provides core editing
34+
support—syntax highlighting, filetype detection, and indentation. Install it
35+
through your plugin manager of choice:
36+
37+
```vim
38+
Plug 'danirod/phel.vim'
39+
```
40+
41+
Reload Vim and open a Phel file to confirm the highlighting is active.

content/documentation/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ vendor/bin/phel run src/main.phel
3636
- Set up Phel another way? See [Installation](/documentation/installation).
3737
- Dive into the CLI workflow: [CLI Commands](/documentation/cli-commands).
3838
- Explore the REPL deeper: [REPL guide](/documentation/repl).
39+
- Configure your editor: [Editor Support](/documentation/editor-support).
3940
- Learn the core language features: [Basic Types](/documentation/basic-types).

0 commit comments

Comments
 (0)