Skip to content
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

lsp-treemacs-errors-list just appends to buffer, can't expand nodes #156

Open
reimager opened this issue Mar 1, 2023 · 3 comments
Open

Comments

@reimager
Copy link

reimager commented Mar 1, 2023

I have never been able to get lsp-treemacs-errors-list working on my system. It just appends to the buffer and nodes are not clickable.
Here is a video to show the issue: https://youtube.com/shorts/1vHD2Ehk5eA

I'm really stumped on this one, and mystified how no one else seems to have this issue. I have it in all configurations.

I have reduced my .emacs to a bare minimum to get lsp up and running:

(require 'package)

(use-package lsp-mode
:commands (lsp lsp-deferred)
:init
:hook
(dart-mode . lsp-deferred)
:config
(setq lsp-dart-flutter-sdk-dir "/home/dmorris/flutter")
(setq lsp-dart-server-command (list "/home/dmorris/flutter/bin/dart" "/home/dmorris/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot" "--lsp" "--client-id emacs.lsp-dart")))

(use-package dart-mode)
(use-package lsp-dart)
(use-package lsp-treemacs)

I'm running emacs 28.2, last official release. I have tried emacs 29 also - same issue.

Here is the output of lsp-doctor:
Checking for Native JSON support: OK Check emacs supportsread-process-output-max': OK
Check read-process-output-max' default has been changed from 4k: OK Byte compiled against Native JSON (recompile lsp-mode if failing when Native JSON available): OK gc-cons-threshold' increased?: OK
Using gccemacs with emacs lisp native compilation (https://akrl.sdf.org/gccemacs.html): OK
`

Edit: If I open 'treemacs-select-window' a treemacs file browsing window open and seems fully function with icons. I can click on directories to expand them etc. Everything appears to be working.

Edit: if anyone else does have this issue, I have just been using lsp-ui-flycheck-list as a substitute

@jasagredo
Copy link

I'm having exactly the same issue. And I see the same error messages in the message line:

[Treemacs] This function cannot expand a node of type 'treemacs-generic-closed-state'.
[Treemacs] No RET action defined for node of type treemacs-generic-open-state.

@david-alvarez-rosa
Copy link
Sponsor

Same here.

@LemonBreezes
Copy link

Same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants