Skip to content

Commit 436ed79

Browse files
authored
Remove metals client. (#46)
It's available as a separate package now: https://melpa.org/#/lsp-metals
1 parent bf05453 commit 436ed79

File tree

13 files changed

+0
-923
lines changed

13 files changed

+0
-923
lines changed

README.org

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
- [[#lsp-treemacs-deps-list][lsp-treemacs-deps-list]]
1616
- [[#commands-1][Commands]]
1717
- [[#screenshot-4][Screenshot]]
18-
- [[#lsp-metals-treeview][lsp-metals-treeview]]
19-
- [[#commands-2][Commands]]
20-
- [[#screenshot-5][Screenshot]]
2118

2219
* Summary
2320
Integration between [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]] and [[https://github.com/Alexander-Miller/treemacs][treemacs]] and implementation of treeview controls using [[https://github.com/Alexander-Miller/treemacs][treemacs]] as a tree renderer.
@@ -55,50 +52,3 @@
5552
- ~lsp-treemacs-java-deps-refresh~ - refresh the view. Bound to ~r~.
5653
*** Screenshot
5754
[[file:screenshots/dependencies.gif]]
58-
** lsp-metals-treeview
59-
Support for Scala Metals treeview. The treeview is disabled by default in order
60-
to enable the treeview use one of the following configuration approaches.
61-
If you are using use-package:
62-
#+BEGIN_SRC elisp
63-
64-
(use-package lsp-treemacs
65-
:config
66-
(lsp-metals-treeview-enable t)
67-
(setq lsp-metals-treeview-show-when-views-received t))
68-
69-
#+END_SRC
70-
71-
lsp-metals-treeview-show-when-views-received when true will automatically
72-
display the treeview when Metals has initialised the project and sent the
73-
initial top level treeview information. If you wish to keep the tree hidden and
74-
show it explicitly via a command or a bound key leave the variable false
75-
(default) and show the treeview using M-x lsp-metals-treeview.
76-
77-
Alternatively if you're not using use-package:
78-
79-
#+BEGIN_SRC elisp
80-
81-
(require 'lsp-metals-treeview)
82-
(lsp-metals-treeview-enable t)
83-
(setq lsp-metals-treeview-show-when-views-received t)
84-
85-
#+END_SRC
86-
87-
The metals can be displayed at anytime by using M-x lsp-metals-treeview.
88-
89-
To enable logging of metals treeview actions/responses use the variable
90-
lsp-metals-treeview-logging (boolean). All messages will be logged to the lsp
91-
logging buffer.
92-
93-
*** Commands
94-
q - when the treeview has focus it can be hidden using the q key. To show the
95-
tree use M-x lsp-metals-treeview or bind this function to a key.
96-
97-
lsp-shutdown-workspace will automatically close the treeview associated with the
98-
current file buffer.
99-
100-
When switching files the treeview will switch to the treeview associated with
101-
the new workspace.
102-
103-
*** Screenshot
104-
[[file:screenshots/metals-treeview.gif]]

icons/metals/class.png

-824 Bytes
Binary file not shown.

icons/metals/enum.png

-730 Bytes
Binary file not shown.

icons/metals/field.png

-704 Bytes
Binary file not shown.

icons/metals/interface.png

-615 Bytes
Binary file not shown.

icons/metals/logo.png

-6.8 KB
Binary file not shown.

icons/metals/method.png

-827 Bytes
Binary file not shown.

icons/metals/object.png

-895 Bytes
Binary file not shown.

icons/metals/trait.png

-668 Bytes
Binary file not shown.

icons/metals/val.png

-844 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)