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

Provide namespace docstrings for eg. lsp-ui #1171

Closed
lassemaatta opened this issue Aug 5, 2022 · 1 comment
Closed

Provide namespace docstrings for eg. lsp-ui #1171

lassemaatta opened this issue Aug 5, 2022 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@lassemaatta
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When using lsp-mode as the client and clojure-lsp as the server, there doesn't seem to be a way to display or browse namespace docstrings (like docstrings for vars).

Describe the solution you'd like

Given the namespace declaration below, and the cursor in the position represented with | => lsp-ui (or some other similar tool) should show the namespace docstring for clojure.test.

(ns some.namespace
  (:require [cloju|re.test :refer [deftest testing is]]))
@lassemaatta lassemaatta added the enhancement New feature or request label Aug 5, 2022
@ericdallo
Copy link
Member

@lassemaatta I can see that working with hover LSP feature, similar to when you ask for docs for a symbol, I think lsp-ui has features to show popups somewhere for that so maybe it'd work out of the box for you, I don't use lsp-ui anymore though so not sure

@ericdallo ericdallo added this to Low priority in clojure-lsp via automation Aug 6, 2022
clojure-lsp automation moved this from Low priority to Next release Aug 6, 2022
@ericdallo ericdallo moved this from Next release to Done in clojure-lsp Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants