File tree 2 files changed +3
-5
lines changed
src/main/clojure/com/github/clojure_lsp/intellij/extension
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Bump clj4intellij to 0.6.3.
6
6
- Improve server installation fixing concurrency bugs + using lsp4ij install API.
7
- - Fix code lens references not working when more than a project is opened. #67
8
7
9
8
## 3.0.0
10
9
Original file line number Diff line number Diff line change 95
95
(.registerAction manager id action)
96
96
action)))
97
97
98
- (defn ^:private code-lens-references-performed [^LSPCommand command ^AnActionEvent event]
99
- (let [project (.getProject event)
100
- uri (.getAsString ^JsonPrimitive (.getArgumentAt command 0 ))
98
+ (defn ^:private code-lens-references-performed [^Project project ^LSPCommand command ^AnActionEvent event]
99
+ (let [uri (.getAsString ^JsonPrimitive (.getArgumentAt command 0 ))
101
100
line (dec (.getAsInt ^JsonPrimitive (.getArgumentAt command 1 )))
102
101
character (dec (.getAsInt ^JsonPrimitive (.getArgumentAt command 2 )))
103
102
references (lsp-client/references uri line character project)
119
118
:use-shortcut-of use-shortcut-of
120
119
:on-performed (partial on-action-performed name text project)))
121
120
(register-command! :id " code-lens-references"
122
- :on-performed #' code-lens-references-performed)
121
+ :on-performed ( partial code-lens-references-performed project) )
123
122
(action/register-group! :id " ClojureLSP.Refactors"
124
123
:popup true
125
124
:text " Clojure refactors"
You can’t perform that action at this time.
0 commit comments