Comments (1)
I tested with Emacs lsp-mode and it works, then I tested with calva and server correctly return the expected items in the correct order:
2023-11-03T16:55:59.247Z DEBUG [clojure-lsp.server:55] - [Trace - 2023-11-03T16:55:59.247Z] Sending response 'textDocument/completion - (69)'. Request took 37ms.
Result: [ {
"label" : "ns-alias",
"kind" : 6,
"data" : {
"unresolved" : [ [ "documentation", {
"name" : "ns-alias",
"uri" : "file:///home/greg/dev/clojure-lsp/lib/src/clojure_lsp/feature/issue/another_ns.clj",
"name-row" : 3,
"name-col" : 6
} ] ]
},
"score" : 14
}, {
"label" : "ns-alias",
"kind" : 10,
"detail" : "alias to: clojure-lsp.feature.issue.aliased",
"data" : {
"unresolved" : [ [ "alias", {
"ns-to-add" : "clojure-lsp.feature.issue.aliased",
"alias-to-add" : "ns-alias",
"uri" : "file:///home/greg/dev/clojure-lsp/lib/src/clojure_lsp/feature/issue/another_ns.clj"
} ] ]
},
"score" : 9
}, {
"label" : "ns-aliases",
"kind" : 3,
"detail" : "clojure.core/ns-aliases",
"data" : {
"unresolved" : [ [ "documentation", {
"uri" : "file:///clojure.core.clj",
"name" : "ns-aliases",
"ns" : "clojure.core"
} ] ]
},
"score" : 6
} ]
Closing this as this should be fixed on calva or some LSP dependency
from clojure-lsp.
Related Issues (20)
- Only most recently started clojure-lsp server is colorizing keywords HOT 3
- Drag-param does not work with multi-arity functions HOT 2
- max-line-length not respected when sorting large refer forms
- Enhance move-to-let to add or augment `:let` binding when in macros that support it HOT 2
- clojure-lsp-native-linux-aarch64.zip (2023.10.30-16.25.41) doesn't contain the latest version HOT 1
- Unable to require suggested namespace when `ns` isn't present
- Support correct namespace for exported clj-kondo hooks
- Add "Create clj-kondo hook" actions HOT 4
- Eglot receives non-sensical urls for external deps HOT 1
- `thread last all` command fails with internal error -32603 HOT 4
- Add ability to safely analyze without executing project.clj HOT 2
- clojure-lsp fails to run on Ahasi Linux HOT 7
- Exception while opening project (workspace/didChangeConfiguration) HOT 1
- Parinfer in smart/indent modes messes with refactors HOT 11
- lsp-rename incorrectly changing require ns when changed to longer text and changing current namespace HOT 3
- External libraries explorer HOT 3
- Java imports code action breaks namespace form
- Renaming function loses references and requires lsp-restart-workspace
- [Regression] Renaming defrecord results in renaming alias instead of the name HOT 1
- rangeFormatting Internal error on paredit-backward-barf-sexp in Emacs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clojure-lsp.