File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/main/clojure/com/github/clojure_lsp/intellij Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 4
4
[com.github.clojure-lsp.intellij.editor :as editor]
5
5
[com.github.clojure-lsp.intellij.file-system :as file-system]
6
6
[com.github.ericdallo.clj4intellij.app-manager :as app-manager]
7
- [com.github.ericdallo.clj4intellij.logger :as logger]
8
7
[com.github.ericdallo.clj4intellij.util :as util]))
9
8
10
9
(set! *warn-on-reflection* true )
16
15
(defmethod lsp-client /show-document :default [{:keys [project]} {:keys [uri take-focus selection]}]
17
16
(app-manager/invoke-later!
18
17
{:invoke-fn (fn []
19
- (logger/info " --------->" uri (util/uri->v-file uri))
20
18
(let [editor (util/uri->editor uri project (boolean take-focus))]
21
19
(.moveToOffset (.getCaretModel editor)
22
20
(editor/document+position->offset (:start selection) (.getDocument editor)))))})
You can’t perform that action at this time.
0 commit comments