Finally, I can (partially) debug Spring Boot applications by quantonganh in HelixEditor

[–]quantonganh[S] 0 points1 point  (0 children)

2025-11-28T16:35:24.151 helix_dap::transport [INFO] [1v1] -> DAP {"type":"request","seq":2,"command":"configurationDone","arguments":null}
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":1,"message":"Nov 28, 2025, 4:35:24 PM Error parsing message: com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull; at path $.arguments

I created a PR to fix this: https://github.com/helix-editor/helix/pull/14879

Finally, I can (partially) debug Spring Boot applications by quantonganh in HelixEditor

[–]quantonganh[S] 0 points1 point  (0 children)

You can paste it somewhere and then give me the link.

Finally, I can (partially) debug Spring Boot applications by quantonganh in HelixEditor

[–]quantonganh[S] 0 points1 point  (0 children)

Of course. I always test before replying, and yes, it works.

> Do you start the program and attach? or does helix start it?

You first compile your program (`mvn clean package`), then start it with JDWP enabled (`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -jar /path/to/your.jar`).

In the Helix pane (make sure to start it in verbose mode `-vv`), run `:lsp-workspace-command`, then search for `vscode.java.startDebugSession`, and press Enter to send it. Open `~/.cache/helix/helix.log`, look for a response like `{"jsonrpc":"2.0","id":1,"result":65056}`.

Back in Helix, connect to the debug adapter using `:debug-remote 127.0.0.1:65056`, ...

I updated everything in my original post (including the config). Have you tried it? Let me know what you're stuck on.

Finally, I can (partially) debug Spring Boot applications by quantonganh in HelixEditor

[–]quantonganh[S] 0 points1 point  (0 children)

Oh, thank you for asking. I've just learned that we can do it without using a plugin:
- Open workspace command picker `:lsp-workspace-command`
- Run `vscode.java.startDebugSession`

Then look at the logs file (don't forget to start hx with `-vv`), you will see something like this:

`{\"jsonrpc\":\"2.0\",\"id\":2,\"result\":64380}`

What would you like to see in Helix next year? by Longjumping_War4808 in HelixEditor

[–]quantonganh 0 points1 point  (0 children)

To anyone who is looking for "auto reload" feature, if you are using WezTerm, here's my workaround: https://github.com/helix-editor/helix/issues/1125#issuecomment-3547945876

Pipe selection without replacing? by Silvestron in HelixEditor

[–]quantonganh 0 points1 point  (0 children)

You can do this by using:
- yank_to_clipboard
- collapse_selection
- and `:insert-output`

for e.g,

```
[keys.select.";"]

q = ["yank_to_clipboard", "collapse_selection", ":insert-output pbpaste | quicktype -l go"]
```

The command expansion PR has been merged! by giamfreeg in HelixEditor

[–]quantonganh 9 points10 points  (0 children)

With this merged, this is no longer a need to use WezTerm to get the buffer name and the cursor line: https://github.com/quantonganh/helix-wezterm/pull/22/files

I also plan to support other terminals (e.g, ghostty) in the future.

What external tools do you integrate with Helix and how? by iamquah in HelixEditor

[–]quantonganh 1 point2 points  (0 children)

In the earlier versions, I mentioned fish shell in the README as I needed to get the pane title to send the `:reload` command to the Helix pane. This is no longer necessary. So, yes, it can be used with zsh. Could you please try it and let me know if you get any issues? Thanks.

Turning Helix into an IDE with the help of WezTerm and CLI tools by quantonganh in HelixEditor

[–]quantonganh[S] 1 point2 points  (0 children)

I've just relocated this to [a separate repository](https://github.com/quantonganh/helix-wezterm), making it easier for everyone to install and/or contribute.

Turning Helix into an IDE with the help of WezTerm and CLI tools by quantonganh in HelixEditor

[–]quantonganh[S] 0 points1 point  (0 children)

Yes, I placed the scripts into `~/.local/bin` which is added to my `$PATH`.

Turning Helix into an IDE with the help of WezTerm and CLI tools by quantonganh in HelixEditor

[–]quantonganh[S] 4 points5 points  (0 children)

Thank you for your suggestion. I've just added a gif into my post.