GitHub - emacs-lsp/lsp-treemacs: lsp-mode treemacs (original) (raw)

https://github.com/emacs-lsp/lsp-treemacs/workflows/CI/badge.svg https://melpa.org/packages/lsp-treemacs-badge.svg https://stable.melpa.org/packages/lsp-treemacs-badge.svg

Table of Contents

Summary

Integration between lsp-mode and treemacs and implementation of treeview controls using treemacs as a tree renderer.

Synchronization

To enable bidirectional synchronization of lsp workspace folders and treemacs projects.

(lsp-treemacs-sync-mode 1)

Views

lsp-treemacs-errors-list

Displays tree like error list structure.

Commands

Screenshot

screenshots/error-list.png

lsp-treemacs-symbols

Displays symbols information.

Screenshot

screenshots/symbols-list.gif

lsp-treemacs-references/lsp-treemacs-implementations

Display references/implementations using tree view:

Screenshot

screenshots/references.gif

lsp-treemacs-call-hierarchy

Display call hierarchy. Use C-u M-x lsp-treemacs-call-hierarchy to display outgoing call hierarchy.

Screenshot

screenshots/call-hierarchy.gif

lsp-treemacs-type-hierarchy

Display type hierarchy.

lsp-treemacs-deps-list

Browse java dependencies, namespaces, files, etc.

Commands

Screenshot

screenshots/dependencies.gif