Skip to content

Commit af9025a

Browse files
r-darwishyyoncho
authored andcommitted
Remove the documentation for lsp-workspace-folders-switch (#1222)
That function has been deprecated
1 parent 2248186 commit af9025a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.org

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
- ~lsp-symbol-highlight~ - Highlight all relevant references to the symbol under point.
194194
- ~lsp-workspace-folders-add~ - Add workspace folder
195195
- ~lsp-workspace-folders-remove~ - Remove workspace folder
196-
- ~lsp-workspace-folders-switch~ - Switch workspace folder
196+
- ~lsp-workspace-folders-open~ - Open a project directory in dired
197197
- ~imenu~ or ~helm-imenu~ - display document structure.
198198
- ~completion-at-point~ - display completion using built-in emacs ~completion-at-point~ framework.
199199
- ~lsp-find-definition~ - to find the definition for the symbol under point.

doc/src/usage.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ If called interactively, it will ask the user to select a directory, and
5454
import it as a project root. All files located under the directory will be
5555
treated as belonging to the project rooted at this directory.
5656

57-
[id="lsp-workspace-folders-switch"]
57+
[id="lsp-workspace-folders-open"]
5858
===== Function: `lsp-workspace-folders-open PROJECT-ROOT`
5959
If called interactively, it asks the user to choose from a list of imported
6060
project roots, and opens the selected directory in `dired`.

lsp-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ CALLBACK - callback for the lenses."
20602060
("Workspace Folders"
20612061
["Add" lsp-workspace-folders-add]
20622062
["Remove" lsp-workspace-folders-remove]
2063-
["Switch" lsp-workspace-folders-switch])
2063+
["Open" lsp-workspace-folders-open])
20642064
["Toggle Lenses" lsp-lens-mode]))
20652065
"Menu for lsp-mode.")
20662066

0 commit comments

Comments
 (0)