"Life is all about sharing. If we are good at something, pass it on." - Mary Berry

How to create snippets in Helix?

2023-07-31

Helix currently does not support snippets. However, there is a workaround to insert snippets using :insert-output to run a shell command. Still, this might not feel like the most natural way to work with snippets.

For instance, in GoLand, a similar feature called live templates allows you to type err and expand it into the following:

1if err != nil {
2  
3}

I wonder if I can archieve the same functionality in Helix by creating a simple language server

Read More...