Helix as my Golang IDE: powering up with WezTerm and CLI tools
2024-10-10
It’s has been one year from my last post. Today I would like to show you how I use Helix as my Golang IDE.
Regarding the file explorer workaround in the last post, I show you how to use nnn or broot to open a file tree in the sidebar but actually I’m using the PR #5768. The reason is I would like to have a bottom pane for the terminal, and there is no way to just hide it and keep the sidebar (file explorer) and the main pane (helix).
Turning Helix into an IDE with the help of WezTerm and CLI tools
2023-08-19

This post recaps previous series of posts about Helix.
- Running code
- Jumping to build errors
- Quickly select a command and open it in a new pane
- Testing a single function
- Git integration
- File tree
- Creating snippets
- How to debug?
- Interactive global search
- Opening file in GitHub
1. Running code
In my previous post, I shared a method for running code from within Helix by using this PR.
I later discovered another useful trick here. We can use wezterm cli get-text command to extract the filename and line number from the status line:
Quan Tong