-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metals-treeview weird behaviour #4
Comments
Hi @kpbochenek apologies for the issues, I think I need to review the metals treemacs implementation. Since writing this a new version of treemacs has been released with quite a few implementation changes internally and I believe this is causing node selection issues. Originally I had to work around some limitations in treemacs and may be this code is now causing issues. So I really don't think it's your config. I'll try and grab some time to review the code and work through the issues. |
It doesn't work well for me either, like sudden disappearings. I'd like to make it simpler but need to align our vision with @dsyzling first.
I think it should be configurable on treemacs level.
This is an expected behavior. When I presses TAB I don't expect some action to be executed, I usually just want a node to be expanded. And an action is bound to RET. |
As a side note, I have created a wrapper for treemacs in lsp-treemacs, |
Hi,
I am opening scala project ->
M-x lsp-metals-treeview
, I can correctly see 3 sections withPackages
,Compile
andBuild
.But clicking on anything doesn't work.
In
Packages
I have to pressTAB
to expand, can I configure it?In
Build
pressing TAB results in[Treemacs Failure] No TAB action defined for node of type treemacs-metals-leaf-state
I use raw emacs and include lsp-mode, lsp-treemacs and lsp-metals in my config(+evil).
Maybe it is just configuration, in that case could you describe how to configure it properly?
I could also add that to (https://scalameta.org/metals/docs/editors/emacs.html) for others.
The text was updated successfully, but these errors were encountered: