File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed
Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Add workspaces to ` /doctor `
6+
57## 0.78.1
68
79- Fix regression: completion broken after rewrite feature API changes.
Original file line number Diff line number Diff line change 145145 " "
146146 (str " Server cmd: " (.orElse (.commandLine (.info (ProcessHandle/current ))) nil ))
147147 " "
148+ (str " Workspaces: " (shared/workspaces-as-str db))
149+ " "
148150 (str " Default model: " model)
149151 " "
150152 (str " Login providers: " (reduce
Original file line number Diff line number Diff line change 132132(defn init-prompt [db]
133133 (replace-vars
134134 (init-prompt-template )
135- {:workspaceFolders (string/join " , " ( map ( comp shared/uri->filename :uri ) ( :workspace-folders db)) )}))
135+ {:workspaceFolders (shared/workspaces-as-str db)}))
136136
137137(defn title-prompt []
138138 (title-prompt-template ))
Original file line number Diff line number Diff line change 11(ns eca.metrics
22 (:require
3- [clojure.string :as string]
43 [eca.config :as config]
54 [eca.logger :as logger]
65 [eca.shared :as shared]))
1413 (fn [_]
1514 {:client-name (:name (:client-info @db*))
1615 :client-version (:version (:client-info @db*))
17- :workspace-roots (string/join " , " (map (comp shared/uri->filename :uri )
18- (:workspace-folders @db*)))})))
16+ :workspace-roots (shared/workspaces-as-str @db*)})))
1917
2018(defprotocol IMetrics
2119 (start! [this])
Original file line number Diff line number Diff line change 4545 string/lower-case))
4646 (string/replace " :" " %3A" )))))
4747
48+ (defn workspaces-as-str [db]
49+ (string/join " , " (map (comp uri->filename :uri ) (:workspace-folders db))))
50+
4851(defn update-last [coll f]
4952 (if (seq coll)
5053 (update coll (dec (count coll)) f)
You can’t perform that action at this time.
0 commit comments