-
-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Description
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
- I have read the Clojure etiquette and will respect it when communicating on this platform.
Is your feature request related to a problem? Please describe.
Currently, for the following code:
(ns foo)
(clojure.java.io/file ".")
clj-kondo doesn't provide any analysis for the clojure.java.io/file
symbol, even a full valid namespace, even not required, which makes clojure-lsp do not know about it, affecting some features:
- definition: we cannot go to the function definition
- hover: we cannot show the docs about it
- semantic tokens: we cannot color the alias + function name as we do not know about it.
and other less important
Describe the solution you'd like
any analysis about at least the ns + function name would help, I thought about something like a basic var-usage
with something telling that it's unresolved.
Describe alternatives you've considered
Parse the code in clojure-lsp with rewrite-clj, but that's a no-go for performance reasons.
Additional context
afucher, VitorFurlanetti, NoahTheDuke and icp1994
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Needs triage