Function: eglot-show-workspace-configuration
eglot-show-workspace-configuration is an interactive and byte-compiled
function defined in eglot.el.gz.
Signature
(eglot-show-workspace-configuration &optional SERVER)
Documentation
Dump eglot-workspace-configuration as JSON for debugging.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot-show-workspace-configuration (&optional server)
"Dump `eglot-workspace-configuration' as JSON for debugging."
(interactive (list (eglot--read-server "Show workspace configuration for" t)))
(let ((conf (eglot--workspace-configuration-plist server)))
(with-current-buffer (get-buffer-create "*EGLOT workspace configuration*")
(erase-buffer)
(insert (jsonrpc--json-encode conf))
(with-no-warnings
(require 'json)
(when (require 'json-mode nil t) (json-mode))
(json-pretty-print-buffer))
(pop-to-buffer (current-buffer)))))