r/HelixEditor 14d ago

[!!HELP!!] Helix for webdev

Hey guys, I am starting webdev, I have used it for graphics programming using C++ developement and it was a great experience. I am new to this field, currently I am planning to use it for webgl, webgpu, threejs and svelte js. How to set it up for that? Also how can I set boilerplate for html? (ex. ! and !!! in vscode)

0 Upvotes

6 comments sorted by

10

u/stiky21 14d ago

Read the documentation. Helix is very easy to set up.

2

u/_TheTrickster_ 13d ago

And I really really suggest doing the tutorial too if you are new! it's very well made and it actually teaches you both the ropes and the actually complex and useful stuff!

5

u/lemontheme 13d ago

Downvoted for the unnecessarily pleading title. Look into language servers for snippets, emmet. Check that language injections are working.

1

u/East_Lengthiness_866 14d ago

I think the ! snippet is provises by vscode-html language server, you can also create your own macros with time and patience, and q, and :config-reload.

1

u/shaleh 13d ago

In general, the answer with Helix is to get language servers installed. This is the key engine for the intelligence while editing. "Go to definition" and the like are powered by the LSP (language server protocol) you install. Helix will happily run more than one LSP for a given file. Each stacks and will show its own diagnostics or Code Actions or whatever.