reactive-vscode 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,218 +1,210 @@
1
- import { getCurrentScope as U, onScopeDispose as N, effectScope as Y, shallowRef as g, computed as h, shallowReactive as M, toValue as o, watchEffect as w, watch as D, unref as W, ref as x, toRaw as ie, isRef as ae } from "@reactive-vscode/reactivity";
1
+ import { getCurrentScope as U, onScopeDispose as L, effectScope as Y, shallowRef as g, computed as h, shallowReactive as $, toValue as a, watchEffect as b, watch as C, unref as I, ref as S, toRaw as ie, isRef as oe } from "@reactive-vscode/reactivity";
2
2
  export * from "@reactive-vscode/reactivity";
3
- import { workspace as S, commands as V, window as v, debug as z, extensions as $, chat as re, comments as oe, env as E, EventEmitter as G, tasks as k, Uri as se, languages as ue, ColorThemeKind as K, l10n as Q, lm as F } from "vscode";
4
- function ce(e) {
5
- return U() ? (N(e), !0) : !1;
3
+ import { workspace as T, commands as P, window as v, debug as q, extensions as W, chat as ae, comments as se, env as E, EventEmitter as G, tasks as k, Uri as re, languages as ce, ColorThemeKind as z, l10n as Q, lm as F } from "vscode";
4
+ function ue(e) {
5
+ return U() ? (L(e), !0) : !1;
6
6
  }
7
- function j(e, t) {
7
+ function N(e, t) {
8
8
  const n = /* @__PURE__ */ new Map();
9
9
  return (...i) => {
10
- const a = t(...i);
11
- let s = n.get(a);
12
- return s ? s.refCount++ : (s = {
10
+ const o = t(...i);
11
+ let r = n.get(o);
12
+ return r ? r.refCount++ : (r = {
13
13
  data: e(...i),
14
14
  refCount: 1
15
- }, n.set(a, s)), ce(() => {
16
- --s.refCount === 0 && n.delete(a);
17
- }), s.data;
15
+ }, n.set(o, r)), ue(() => {
16
+ --r.refCount === 0 && n.delete(o);
17
+ }), r.data;
18
18
  };
19
19
  }
20
- function C(e) {
20
+ function w(e) {
21
21
  let t = !1, n;
22
22
  return () => (t || (n = Y(!0).run(e), t = !0), n);
23
23
  }
24
24
  const J = [];
25
- function xe(e) {
25
+ function Se(e) {
26
26
  J.push(e);
27
27
  }
28
- const R = g(null), L = Y();
28
+ const y = g(null), M = Y();
29
29
  function Ee(e) {
30
30
  return {
31
- activate: (t) => (R.value = t, L.run(() => (X.map((n) => n(t)), e(t)))),
31
+ activate: (t) => (y.value = t, M.run(() => (X.map((n) => n(t)), e(t)))),
32
32
  deactivate: () => {
33
- J.map((t) => t()), L.stop();
33
+ J.map((t) => t()), M.stop();
34
34
  }
35
35
  };
36
36
  }
37
37
  const X = [];
38
38
  function Z(e) {
39
- R.value ? e(R.value) : X.push(e);
39
+ y.value ? e(y.value) : X.push(e);
40
40
  }
41
41
  function le(e, t, n) {
42
- const i = !e, a = S.getConfiguration(i ? void 0 : e, n);
43
- function s(u, d) {
44
- const c = g(d), m = h({
45
- get: () => c.value,
42
+ const i = !e, o = T.getConfiguration(i ? void 0 : e, n);
43
+ function r(u, d) {
44
+ const l = g(d), m = h({
45
+ get: () => l.value,
46
46
  set: (f) => {
47
- c.value = f, a.update(u, f);
47
+ l.value = f, o.update(u, f);
48
48
  }
49
49
  });
50
- return m.update = async (f, b, T) => {
51
- await a.update(u, f, b, T), m.value = f;
50
+ return m.update = async (f, p, D) => {
51
+ await o.update(u, f, p, D), m.value = f;
52
52
  }, m.set = (f) => {
53
- c.value = f;
53
+ l.value = f;
54
54
  }, m;
55
55
  }
56
- const r = Object.fromEntries(
57
- Object.keys(t).map((u) => [u, s(u, a.get(u))])
56
+ const s = Object.fromEntries(
57
+ Object.keys(t).map((u) => [u, r(u, o.get(u))])
58
58
  );
59
59
  return Z(() => {
60
- l(S.onDidChangeConfiguration(
60
+ c(T.onDidChangeConfiguration(
61
61
  i ? (u) => {
62
- const d = S.getConfiguration();
63
- for (const c in t)
64
- u.affectsConfiguration(c) && r[c].set(d.get(c));
62
+ const d = T.getConfiguration();
63
+ for (const l in t)
64
+ u.affectsConfiguration(l) && s[l].set(d.get(l));
65
65
  } : (u) => {
66
66
  if (!u.affectsConfiguration(e))
67
67
  return;
68
- const d = S.getConfiguration(e);
69
- for (const c in t)
70
- u.affectsConfiguration(`${e}.${c}`) && r[c].set(d.get(c));
68
+ const d = T.getConfiguration(e);
69
+ for (const l in t)
70
+ u.affectsConfiguration(`${e}.${l}`) && s[l].set(d.get(l));
71
71
  }
72
72
  ));
73
- }), r;
73
+ }), s;
74
74
  }
75
75
  function ke(e, t, n) {
76
- const i = le(e, t, n), a = {}, s = M({
77
- $update(r, u, d, c) {
78
- return i[r].update(u, d, c);
76
+ const i = le(e, t, n), o = {}, r = $({
77
+ $update(s, u, d, l) {
78
+ return i[s].update(u, d, l);
79
79
  },
80
- $set(r, u) {
81
- return i[r].set(u);
80
+ $set(s, u) {
81
+ return i[s].set(u);
82
82
  }
83
83
  });
84
- for (const r in t) {
85
- const u = r.split(".");
86
- let d = "", c = a, m = s;
87
- for (const b of u.slice(0, -1)) {
88
- d = d ? `${d}.${b}` : b;
89
- const T = c = c[b] || (c[b] = {});
90
- if (m[b])
91
- m = m[b];
84
+ for (const s in t) {
85
+ const u = s.split(".");
86
+ let d = "", l = o, m = r;
87
+ for (const p of u.slice(0, -1)) {
88
+ d = d ? `${d}.${p}` : p;
89
+ const D = l = l[p] ||= {};
90
+ if (m[p])
91
+ m = m[p];
92
92
  else {
93
- const B = M({});
94
- Object.defineProperty(m, b, {
93
+ const H = $({});
94
+ Object.defineProperty(m, p, {
95
95
  enumerable: !0,
96
96
  get() {
97
- return B;
97
+ return H;
98
98
  },
99
99
  set(ne) {
100
- function q(A, I, y) {
101
- if (A)
102
- for (const O in A)
103
- q(A[O], I ? `${I}.${O}` : O, y == null ? void 0 : y[O]);
100
+ function B(V, A, K) {
101
+ if (V)
102
+ for (const R in V)
103
+ B(V[R], A ? `${A}.${R}` : R, K?.[R]);
104
104
  else
105
- i[I].value = y;
105
+ i[A].value = K;
106
106
  }
107
- q(T, d, ne);
107
+ B(D, d, ne);
108
108
  }
109
- }), m = B;
109
+ }), m = H;
110
110
  }
111
111
  }
112
112
  const f = u[u.length - 1];
113
- c[f] = null, Object.defineProperty(m, f, {
113
+ l[f] = null, Object.defineProperty(m, f, {
114
114
  enumerable: !0,
115
115
  get() {
116
- return i[r].value;
116
+ return i[s].value;
117
117
  },
118
- set(b) {
119
- i[r].value = b;
118
+ set(p) {
119
+ i[s].value = p;
120
120
  }
121
121
  });
122
122
  }
123
- return s;
123
+ return r;
124
124
  }
125
- function Re(e, t) {
126
- const n = g(null), i = [], a = (s) => (...r) => n.value ? n.value[s](...r) : (i.push([s, r]), null);
125
+ function ye(e, t) {
126
+ const n = g(null), i = [], o = (r) => (...s) => n.value ? n.value[r](...s) : (i.push([r, s]), null);
127
127
  return Z(() => {
128
- n.value = we(e, t);
129
- for (const [s, r] of i)
130
- n.value[s](...r);
128
+ n.value = be(e, t);
129
+ for (const [r, s] of i)
130
+ n.value[r](...s);
131
131
  }), {
132
132
  logger: n,
133
- outputChannel: h(() => {
134
- var s;
135
- return (s = n.value) == null ? void 0 : s.outputChannel;
136
- }),
137
- info: a("info"),
138
- warn: a("warn"),
139
- error: a("error"),
140
- append: a("append"),
141
- appendLine: a("appendLine"),
142
- replace: a("replace"),
143
- clear: a("clear"),
144
- show: a("show"),
145
- hide: a("hide")
133
+ outputChannel: h(() => n.value?.outputChannel),
134
+ info: o("info"),
135
+ warn: o("warn"),
136
+ error: o("error"),
137
+ append: o("append"),
138
+ appendLine: o("appendLine"),
139
+ replace: o("replace"),
140
+ clear: o("clear"),
141
+ show: o("show"),
142
+ hide: o("hide")
146
143
  };
147
144
  }
148
- function ye(e, ...t) {
149
- return V.executeCommand(e, ...t);
145
+ function Re(e, ...t) {
146
+ return P.executeCommand(e, ...t);
150
147
  }
151
148
  function de(e, t = !1) {
152
- const n = R.value;
149
+ const n = y.value;
153
150
  if (!n && !t)
154
151
  throw new Error("Cannot get absolute path because the extension is not activated yet");
155
- return n == null ? void 0 : n.asAbsolutePath(e);
152
+ return n?.asAbsolutePath(e);
156
153
  }
157
154
  function Oe(e, t = !1) {
158
- return h(() => de(o(e), t));
155
+ return h(() => de(a(e), t));
159
156
  }
160
- function l(e) {
161
- return (U() ?? L).cleanups.push(e.dispose.bind(e)), e;
157
+ function c(e) {
158
+ return (U() ?? M).cleanups.push(e.dispose.bind(e)), e;
162
159
  }
163
- const fe = C(() => {
160
+ const fe = w(() => {
164
161
  const e = g(v.activeColorTheme);
165
- return l(v.onDidChangeActiveColorTheme((t) => {
162
+ return c(v.onDidChangeActiveColorTheme((t) => {
166
163
  e.value = t;
167
164
  })), e;
168
- }), Pe = C(() => {
169
- const e = g(z.activeDebugSession);
170
- return l(z.onDidChangeActiveDebugSession((t) => {
165
+ }), Pe = w(() => {
166
+ const e = g(q.activeDebugSession);
167
+ return c(q.onDidChangeActiveDebugSession((t) => {
171
168
  e.value = t;
172
169
  })), h(() => e.value);
173
- }), ve = C(() => {
170
+ }), ve = w(() => {
174
171
  const e = g(v.activeTextEditor);
175
- return l(v.onDidChangeActiveTextEditor((t) => {
172
+ return c(v.onDidChangeActiveTextEditor((t) => {
176
173
  e.value = t;
177
174
  })), e;
178
175
  });
179
176
  function ge(e) {
180
- var n;
181
- const t = g((n = o(e)) == null ? void 0 : n.getText());
182
- return w(() => {
183
- var i;
184
- t.value = (i = o(e)) == null ? void 0 : i.getText();
185
- }), l(S.onDidChangeTextDocument((i) => {
186
- i.document === o(e) && (t.value = i.document.getText());
177
+ const t = g(a(e)?.getText());
178
+ return b(() => {
179
+ t.value = a(e)?.getText();
180
+ }), c(T.onDidChangeTextDocument((n) => {
181
+ n.document === a(e) && (t.value = n.document.getText());
187
182
  })), t;
188
183
  }
189
184
  function he(e, t, n, i = {}) {
190
185
  const {
191
- updateOn: a = ["effect", "documentChanged"]
186
+ updateOn: o = ["effect", "documentChanged"]
192
187
  } = i;
193
- let s;
194
- const r = h(
188
+ let r;
189
+ const s = h(
195
190
  () => {
196
- s == null || s.dispose(), s = void 0;
197
- const c = o(t);
198
- if ("key" in c)
199
- return c;
200
- const m = v.createTextEditorDecorationType(c);
201
- return s = l(m), m;
191
+ r?.dispose(), r = void 0;
192
+ const l = a(t);
193
+ if ("key" in l)
194
+ return l;
195
+ const m = v.createTextEditorDecorationType(l);
196
+ return r = c(m), m;
202
197
  }
203
198
  ), u = async () => {
204
- const c = o(e);
205
- c && c.setDecorations(
206
- r.value,
207
- typeof n == "function" ? await n(c) : o(n)
199
+ const l = a(e);
200
+ l && l.setDecorations(
201
+ s.value,
202
+ typeof n == "function" ? await n(l) : a(n)
208
203
  );
209
- }, d = a.includes("documentChanged") ? ge(() => {
210
- var c;
211
- return (c = o(e)) == null ? void 0 : c.document;
212
- }) : null;
213
- return a.includes("effect") ? w(async () => {
214
- d == null || d.value, await u();
215
- }) : d && D(d, u), {
204
+ }, d = o.includes("documentChanged") ? ge(() => a(e)?.document) : null;
205
+ return o.includes("effect") ? b(async () => {
206
+ d?.value, await u();
207
+ }) : d && C(d, u), {
216
208
  /**
217
209
  * Manually trigger the decoration update.
218
210
  */
@@ -223,213 +215,209 @@ function Ve(e, t, n = {}) {
223
215
  const i = ve();
224
216
  return he(i, e, t, n);
225
217
  }
226
- const Ae = C(() => {
218
+ const Ae = w(() => {
227
219
  const e = g(v.activeNotebookEditor);
228
- return l(v.onDidChangeActiveNotebookEditor((t) => {
220
+ return c(v.onDidChangeActiveNotebookEditor((t) => {
229
221
  e.value = t;
230
222
  })), e;
231
- }), Ie = C(() => {
223
+ }), Ie = w(() => {
232
224
  const e = g(v.activeTerminal);
233
- return l(v.onDidChangeActiveTerminal((t) => {
225
+ return c(v.onDidChangeActiveTerminal((t) => {
234
226
  e.value = t;
235
227
  })), e;
236
- }), We = C(() => {
237
- const e = g($.all);
238
- return l($.onDidChange(() => {
239
- e.value = $.all;
228
+ }), We = w(() => {
229
+ const e = g(W.all);
230
+ return c(W.onDidChange(() => {
231
+ e.value = W.all;
240
232
  })), h(() => e.value);
241
233
  });
242
- function p(e, t) {
243
- const n = (i, a, s) => {
244
- l(e(i, a, s));
234
+ function x(e, t) {
235
+ const n = (i, o, r) => {
236
+ c(e(i, o, r));
245
237
  };
246
- return t == null || t.forEach((i) => n(i)), n;
238
+ return t?.forEach((i) => n(i)), n;
247
239
  }
248
240
  function _(e, t, n) {
249
241
  for (const i of n) {
250
- const a = t[i];
251
- a !== void 0 && w(() => {
252
- e[i] = o(a);
242
+ const o = t[i];
243
+ o !== void 0 && b(() => {
244
+ e[i] = a(o);
253
245
  });
254
246
  }
255
247
  }
256
- const $e = j((e, t, n = {}) => {
257
- const i = l(re.createChatParticipant(e, W(t)));
248
+ const Fe = N((e, t, n = {}) => {
249
+ const i = c(ae.createChatParticipant(e, I(t)));
258
250
  return _(i, n, [
259
251
  "iconPath"
260
- ]), n.followupProvider !== void 0 && w(() => {
261
- i.followupProvider = W(n.followupProvider);
262
- }), w(() => {
263
- i.requestHandler = W(t);
252
+ ]), n.followupProvider !== void 0 && b(() => {
253
+ i.followupProvider = I(n.followupProvider);
254
+ }), b(() => {
255
+ i.requestHandler = I(t);
264
256
  }), {
265
- onDidReceiveFeedback: p(i.onDidReceiveFeedback)
257
+ onDidReceiveFeedback: x(i.onDidReceiveFeedback)
266
258
  };
267
259
  }, (e) => e);
268
260
  function me(e, t) {
269
- l(V.registerCommand(e, t));
261
+ c(P.registerCommand(e, t));
270
262
  }
271
- function Fe(e) {
263
+ function $e(e) {
272
264
  for (const [t, n] of Object.entries(e))
273
265
  n && me(t, n);
274
266
  }
275
267
  function Me(e, t) {
276
- return l(oe.createCommentController(e, t));
268
+ return c(se.createCommentController(e, t));
277
269
  }
278
270
  function ee(e) {
279
- var n;
280
- const t = g((n = o(e)) == null ? void 0 : n.state);
281
- return D(e, () => {
282
- var i;
283
- t.value = (i = o(e)) == null ? void 0 : i.state;
284
- }), l(v.onDidChangeTerminalState((i) => {
285
- i === o(e) && (t.value = i.state);
271
+ const t = g(a(e)?.state);
272
+ return C(e, () => {
273
+ t.value = a(e)?.state;
274
+ }), c(v.onDidChangeTerminalState((n) => {
275
+ n === a(e) && (t.value = n.state);
286
276
  })), h(() => t.value);
287
277
  }
288
278
  function Le(...e) {
289
- const t = x(null);
279
+ const t = S(null);
290
280
  function n() {
291
281
  return !!t.value && t.value.exitStatus == null;
292
282
  }
293
283
  function i() {
294
284
  return n() ? t.value : t.value = v.createTerminal(...e);
295
285
  }
296
- function a(u) {
286
+ function o(u) {
297
287
  i().sendText(u);
298
288
  }
299
- function s() {
289
+ function r() {
300
290
  i().show();
301
291
  }
302
- function r() {
292
+ function s() {
303
293
  n() && (t.value.sendText(""), t.value.dispose(), t.value = null);
304
294
  }
305
- return N(r), {
295
+ return L(s), {
306
296
  terminal: t,
307
297
  getIsActive: n,
308
- show: s,
309
- sendText: a,
310
- close: r,
298
+ show: r,
299
+ sendText: o,
300
+ close: s,
311
301
  state: ee(t)
312
302
  };
313
303
  }
314
- const Ne = C(() => {
304
+ const Ne = w(() => {
315
305
  const e = g(E.shell);
316
- return l(E.onDidChangeShell((t) => {
306
+ return c(E.onDidChangeShell((t) => {
317
307
  e.value = t;
318
308
  })), h(() => e.value);
319
309
  });
320
- function P(e, t = []) {
321
- const n = Array.isArray(e) ? e : t ?? [], i = l(Array.isArray(e) || e == null ? new G() : e), a = p(i.event, n);
322
- for (const s of n)
323
- a(s);
310
+ function O(e, t = []) {
311
+ const n = Array.isArray(e) ? e : t ?? [], i = c(Array.isArray(e) || e == null ? new G() : e), o = x(i.event, n);
312
+ for (const r of n)
313
+ o(r);
324
314
  return {
325
315
  event: i.event,
326
316
  fire: i.fire.bind(i),
327
- addListener: a
317
+ addListener: o
328
318
  };
329
319
  }
330
320
  async function je(e) {
331
- const t = R.value.secrets, n = x(await t.get(e));
321
+ const t = y.value.secrets, n = S(await t.get(e));
332
322
  return n.set = async (i) => {
333
323
  n.value = i, await t.store(e, i);
334
324
  }, n.remove = async () => {
335
325
  n.value = void 0, await t.delete(e);
336
- }, l(t.onDidChange(async (i) => {
326
+ }, c(t.onDidChange(async (i) => {
337
327
  i.key === e && (n.value = await t.get(e));
338
- })), D(n, (i) => {
328
+ })), C(n, (i) => {
339
329
  i === void 0 ? t.delete(e) : t.store(e, i);
340
330
  }), n;
341
331
  }
342
332
  function He(e) {
343
- return h(() => k.fetchTasks(o(e)));
333
+ return h(() => k.fetchTasks(a(e)));
344
334
  }
345
335
  function Be(e) {
346
- return h(() => se.file(o(e)));
336
+ return h(() => re.file(a(e)));
347
337
  }
348
- function qe(e, t) {
338
+ function Ke(e, t) {
349
339
  const n = new G(), i = g();
350
- w(() => {
351
- i.value && n.fire(), i.value = o(t);
352
- }), l(ue.registerFoldingRangeProvider(
340
+ b(() => {
341
+ i.value && n.fire(), i.value = a(t);
342
+ }), c(ce.registerFoldingRangeProvider(
353
343
  e,
354
344
  {
355
345
  onDidChangeFoldingRanges: n.event,
356
- provideFoldingRanges(a, s, r) {
357
- var u;
358
- return (u = i.value) == null ? void 0 : u.call(i, a, s, r);
346
+ provideFoldingRanges(o, r, s) {
347
+ return i.value?.(o, r, s);
359
348
  }
360
349
  }
361
350
  ));
362
351
  }
363
- function ze(e, t, n, i) {
364
- const a = M(/* @__PURE__ */ new Map()), s = P(), r = P(), u = P(), d = h(() => {
365
- const f = o(e);
352
+ function qe(e, t, n, i) {
353
+ const o = $(/* @__PURE__ */ new Map()), r = O(), s = O(), u = O(), d = h(() => {
354
+ const f = a(e);
366
355
  return Array.isArray(f) ? f : f instanceof Set ? Array.from(f) : [f];
367
356
  });
368
- function c() {
357
+ function l() {
369
358
  const f = d.value;
370
- for (const [b, T] of a)
371
- f.includes(b) || (T.dispose(), a.delete(b));
372
- for (const b of f)
373
- if (!a.has(b)) {
374
- const T = S.createFileSystemWatcher(
375
- b,
376
- o(t) || !1,
377
- o(n) || !1,
378
- o(i) || !1
359
+ for (const [p, D] of o)
360
+ f.includes(p) || (D.dispose(), o.delete(p));
361
+ for (const p of f)
362
+ if (!o.has(p)) {
363
+ const D = T.createFileSystemWatcher(
364
+ p,
365
+ a(t) || !1,
366
+ a(n) || !1,
367
+ a(i) || !1
379
368
  );
380
- T.onDidCreate(s.fire), T.onDidChange(r.fire), T.onDidDelete(u.fire), a.set(b, T);
369
+ D.onDidCreate(r.fire), D.onDidChange(s.fire), D.onDidDelete(u.fire), o.set(p, D);
381
370
  }
382
371
  }
383
372
  function m() {
384
- for (const f of a.values())
373
+ for (const f of o.values())
385
374
  f.dispose();
386
- a.clear();
375
+ o.clear();
387
376
  }
388
- return c(), D(d, c), D(
377
+ return l(), C(d, l), C(
389
378
  () => [
390
- o(t),
391
- o(n),
392
- o(i)
379
+ a(t),
380
+ a(n),
381
+ a(i)
393
382
  ],
394
383
  () => {
395
- m(), c();
384
+ m(), l();
396
385
  }
397
- ), N(m), {
398
- watchers: a,
399
- onDidCreate: s.event,
400
- onDidChange: r.event,
386
+ ), L(m), {
387
+ watchers: o,
388
+ onDidCreate: r.event,
389
+ onDidChange: s.event,
401
390
  onDidDelete: u.event
402
391
  };
403
392
  }
404
- const Ke = C(() => {
393
+ const ze = w(() => {
405
394
  const e = fe();
406
- return h(() => e.value.kind === K.Dark || e.value.kind === K.HighContrast);
407
- }), Qe = C(() => {
395
+ return h(() => e.value.kind === z.Dark || e.value.kind === z.HighContrast);
396
+ }), Qe = w(() => {
408
397
  const e = g(E.isTelemetryEnabled);
409
- return l(E.onDidChangeTelemetryEnabled((t) => {
398
+ return c(E.onDidChangeTelemetryEnabled((t) => {
410
399
  e.value = t;
411
400
  })), h(() => e.value);
412
401
  });
413
402
  function Ue(e, ...t) {
414
- return h(() => typeof t[0] == "object" ? Q.t(o(e), ie(t[0])) : Q.t(o(e), ...t.map(o)));
403
+ return h(() => typeof t[0] == "object" ? Q.t(a(e), ie(t[0])) : Q.t(a(e), ...t.map(a)));
415
404
  }
416
- const Ye = C(() => {
405
+ const Ye = w(() => {
417
406
  const e = g(F.tools);
418
- return l(F.onDidChangeChatModels(() => {
407
+ return c(F.onDidChangeChatModels(() => {
419
408
  e.value = F.tools;
420
409
  })), h(() => e.value);
421
410
  });
422
- function be(e, t) {
423
- return l(v.createOutputChannel(e, t));
411
+ function pe(e, t) {
412
+ return c(v.createOutputChannel(e, t));
424
413
  }
425
414
  function Ge(e) {
426
- const t = /* @__PURE__ */ new Date(), n = String(t.getFullYear()).padStart(4, "0"), i = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0"), s = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), u = String(t.getSeconds()).padStart(2, "0"), d = String(t.getMilliseconds()).padStart(3, "0");
427
- return `${n}-${i}-${a} ${s}:${r}:${u}.${d} [${e}] `;
415
+ const t = /* @__PURE__ */ new Date(), n = String(t.getFullYear()).padStart(4, "0"), i = String(t.getMonth() + 1).padStart(2, "0"), o = String(t.getDate()).padStart(2, "0"), r = String(t.getHours()).padStart(2, "0"), s = String(t.getMinutes()).padStart(2, "0"), u = String(t.getSeconds()).padStart(2, "0"), d = String(t.getMilliseconds()).padStart(3, "0");
416
+ return `${n}-${i}-${o} ${r}:${s}:${u}.${d} [${e}] `;
428
417
  }
429
- function we(e, t = {}) {
430
- const n = t.outputChannel ?? be(e, { log: !0 }), i = (a) => (...s) => {
431
- var r;
432
- n.appendLine((((r = t.getPrefix) == null ? void 0 : r.call(t, a)) ?? "") + s.join(" "));
418
+ function be(e, t = {}) {
419
+ const n = t.outputChannel ?? pe(e, { log: !0 }), i = (o) => (...r) => {
420
+ n.appendLine((t.getPrefix?.(o) ?? "") + r.join(" "));
433
421
  };
434
422
  return {
435
423
  outputChannel: n,
@@ -445,33 +433,31 @@ function we(e, t = {}) {
445
433
  hide: n.hide.bind(n)
446
434
  };
447
435
  }
448
- const Je = C(() => {
436
+ const Je = w(() => {
449
437
  const e = g(E.logLevel);
450
- return l(E.onDidChangeLogLevel((t) => {
438
+ return c(E.onDidChangeLogLevel((t) => {
451
439
  e.value = t;
452
440
  })), h(() => e.value);
453
441
  });
454
- function Ce(e) {
455
- var n;
456
- const t = g(((n = o(e)) == null ? void 0 : n.selections) ?? []);
457
- return D(e, () => {
458
- var i;
459
- t.value = ((i = o(e)) == null ? void 0 : i.selections) ?? [];
460
- }), l(v.onDidChangeNotebookEditorSelection((i) => {
461
- i.notebookEditor === o(e) && (t.value = i.selections);
442
+ function we(e) {
443
+ const t = g(a(e)?.selections ?? []);
444
+ return C(e, () => {
445
+ t.value = a(e)?.selections ?? [];
446
+ }), c(v.onDidChangeNotebookEditorSelection((n) => {
447
+ n.notebookEditor === a(e) && (t.value = n.selections);
462
448
  })), h({
463
449
  get() {
464
450
  return t.value;
465
451
  },
466
- set(i) {
467
- t.value = i;
468
- const a = o(e);
469
- a && (a.selections = i);
452
+ set(n) {
453
+ t.value = n;
454
+ const i = a(e);
455
+ i && (i.selections = n);
470
456
  }
471
457
  });
472
458
  }
473
459
  function Xe(e) {
474
- const t = Ce(e);
460
+ const t = we(e);
475
461
  return h({
476
462
  get() {
477
463
  return t.value[0];
@@ -482,24 +468,22 @@ function Xe(e) {
482
468
  });
483
469
  }
484
470
  function Ze(e) {
485
- var n;
486
- const t = g(((n = o(e)) == null ? void 0 : n.visibleRanges) ?? []);
487
- return D(e, () => {
488
- var i;
489
- t.value = ((i = o(e)) == null ? void 0 : i.visibleRanges) ?? [];
490
- }), l(v.onDidChangeNotebookEditorVisibleRanges((i) => {
491
- i.notebookEditor === o(e) && (t.value = i.visibleRanges);
471
+ const t = g(a(e)?.visibleRanges ?? []);
472
+ return C(e, () => {
473
+ t.value = a(e)?.visibleRanges ?? [];
474
+ }), c(v.onDidChangeNotebookEditorVisibleRanges((n) => {
475
+ n.notebookEditor === a(e) && (t.value = n.visibleRanges);
492
476
  })), h(() => t.value);
493
477
  }
494
- const _e = C(() => {
478
+ const _e = w(() => {
495
479
  const e = g(v.terminals);
496
480
  function t() {
497
481
  e.value = v.terminals;
498
482
  }
499
- return l(v.onDidOpenTerminal(t)), l(v.onDidCloseTerminal(t)), e;
483
+ return c(v.onDidOpenTerminal(t)), c(v.onDidCloseTerminal(t)), e;
500
484
  });
501
485
  function et(e = {}) {
502
- const t = l(v.createQuickPick()), n = p(t.onDidChangeActive), i = p(t.onDidChangeSelection), a = p(t.onDidAccept), s = p(t.onDidHide), r = p(t.onDidTriggerButton), u = p(t.onDidChangeValue);
486
+ const t = c(v.createQuickPick()), n = x(t.onDidChangeActive), i = x(t.onDidChangeSelection), o = x(t.onDidAccept), r = x(t.onDidHide), s = x(t.onDidTriggerButton), u = x(t.onDidChangeValue);
503
487
  [
504
488
  "items",
505
489
  "buttons",
@@ -515,28 +499,28 @@ function et(e = {}) {
515
499
  "matchOnDetail",
516
500
  "keepScrollPosition"
517
501
  ].forEach((f) => {
518
- e[f] && w(() => t[f] = o(e[f]));
502
+ e[f] && b(() => t[f] = a(e[f]));
519
503
  }), e.value && (t.value = e.value);
520
504
  const d = g(t.value);
521
505
  u((f) => d.value = f), e.activeItems && (t.activeItems = e.activeItems);
522
- const c = g(t.activeItems);
523
- n((f) => c.value = f), e.selectedItems && (t.selectedItems = e.selectedItems);
506
+ const l = g(t.activeItems);
507
+ n((f) => l.value = f), e.selectedItems && (t.selectedItems = e.selectedItems);
524
508
  const m = g(t.selectedItems);
525
509
  return i((f) => m.value = f), {
526
510
  ...t,
527
511
  onDidChangeActive: n,
528
512
  onDidChangeSelection: i,
529
- onDidAccept: a,
530
- onDidHide: s,
531
- onDidTriggerButton: r,
513
+ onDidAccept: o,
514
+ onDidHide: r,
515
+ onDidTriggerButton: s,
532
516
  onDidChangeValue: u,
533
517
  value: d,
534
- activeItems: c,
518
+ activeItems: l,
535
519
  selectedItems: m
536
520
  };
537
521
  }
538
522
  function tt(e) {
539
- const t = l(e.id ? v.createStatusBarItem(e.id, e.alignment, e.priority) : v.createStatusBarItem(e.alignment, e.priority));
523
+ const t = c(e.id ? v.createStatusBarItem(e.id, e.alignment, e.priority) : v.createStatusBarItem(e.alignment, e.priority));
540
524
  return _(t, e, [
541
525
  "name",
542
526
  "text",
@@ -545,19 +529,19 @@ function tt(e) {
545
529
  "backgroundColor",
546
530
  "command",
547
531
  "accessibilityInformation"
548
- ]), e.visible != null ? w(() => {
549
- o(e.visible) ? t.show() : t.hide();
532
+ ]), e.visible != null ? b(() => {
533
+ a(e.visible) ? t.show() : t.hide();
550
534
  }) : t.show(), t;
551
535
  }
552
- const nt = C(() => {
536
+ const nt = w(() => {
553
537
  const e = g(k.taskExecutions);
554
538
  function t() {
555
539
  e.value = k.taskExecutions;
556
540
  }
557
- return l(k.onDidStartTask(t)), l(k.onDidEndTask(t)), h(() => e.value);
541
+ return c(k.onDidStartTask(t)), c(k.onDidEndTask(t)), h(() => e.value);
558
542
  });
559
543
  function it(...e) {
560
- const t = l(v.createTerminal(...e));
544
+ const t = c(v.createTerminal(...e));
561
545
  return {
562
546
  terminal: t,
563
547
  get name() {
@@ -581,35 +565,33 @@ function it(...e) {
581
565
  state: ee(t)
582
566
  };
583
567
  }
584
- function De(e, t) {
585
- l(V.registerTextEditorCommand(e, t));
568
+ function Ce(e, t) {
569
+ c(P.registerTextEditorCommand(e, t));
586
570
  }
587
- function at(e) {
571
+ function ot(e) {
588
572
  for (const [t, n] of Object.entries(e))
589
- De(t, n);
590
- }
591
- function Te(e, t) {
592
- var i;
593
- const n = g(((i = o(e)) == null ? void 0 : i.selections) ?? []);
594
- return D(e, () => {
595
- var a;
596
- n.value = ((a = o(e)) == null ? void 0 : a.selections) ?? [];
597
- }), l(v.onDidChangeTextEditorSelection((a) => {
598
- const s = o(e), r = o(t);
599
- a.textEditor === s && (!r || r.includes(a.kind)) && (n.value = a.selections);
573
+ Ce(t, n);
574
+ }
575
+ function De(e, t) {
576
+ const n = g(a(e)?.selections ?? []);
577
+ return C(e, () => {
578
+ n.value = a(e)?.selections ?? [];
579
+ }), c(v.onDidChangeTextEditorSelection((i) => {
580
+ const o = a(e), r = a(t);
581
+ i.textEditor === o && (!r || r.includes(i.kind)) && (n.value = i.selections);
600
582
  })), h({
601
583
  get() {
602
584
  return n.value;
603
585
  },
604
- set(a) {
605
- n.value = a;
606
- const s = o(e);
607
- s && (s.selections = a);
586
+ set(i) {
587
+ n.value = i;
588
+ const o = a(e);
589
+ o && (o.selections = i);
608
590
  }
609
591
  });
610
592
  }
611
- function rt(e, t) {
612
- const n = Te(e, t);
593
+ function at(e, t) {
594
+ const n = De(e, t);
613
595
  return h({
614
596
  get() {
615
597
  return n.value[0];
@@ -619,197 +601,190 @@ function rt(e, t) {
619
601
  }
620
602
  });
621
603
  }
622
- function ot(e) {
623
- var n;
624
- const t = g((n = o(e)) == null ? void 0 : n.viewColumn);
625
- return D(e, () => {
626
- var i;
627
- t.value = (i = o(e)) == null ? void 0 : i.viewColumn;
628
- }), l(v.onDidChangeTextEditorViewColumn((i) => {
629
- i.textEditor === o(e) && (t.value = i.viewColumn);
604
+ function st(e) {
605
+ const t = g(a(e)?.viewColumn);
606
+ return C(e, () => {
607
+ t.value = a(e)?.viewColumn;
608
+ }), c(v.onDidChangeTextEditorViewColumn((n) => {
609
+ n.textEditor === a(e) && (t.value = n.viewColumn);
630
610
  })), h(() => t.value);
631
611
  }
632
- function st(e) {
633
- var n;
634
- const t = g(((n = o(e)) == null ? void 0 : n.visibleRanges) ?? []);
635
- return D(e, () => {
636
- var i;
637
- t.value = ((i = o(e)) == null ? void 0 : i.visibleRanges) ?? [];
638
- }), l(v.onDidChangeTextEditorVisibleRanges((i) => {
639
- i.textEditor === o(e) && (t.value = i.visibleRanges);
612
+ function rt(e) {
613
+ const t = g(a(e)?.visibleRanges ?? []);
614
+ return C(e, () => {
615
+ t.value = a(e)?.visibleRanges ?? [];
616
+ }), c(v.onDidChangeTextEditorVisibleRanges((n) => {
617
+ n.textEditor === a(e) && (t.value = n.visibleRanges);
640
618
  })), h(() => t.value);
641
619
  }
642
620
  function te(e, t) {
643
- w(() => {
644
- const n = o(e);
645
- n && (n.badge = o(t));
621
+ b(() => {
622
+ const n = a(e);
623
+ n && (n.badge = a(t));
646
624
  });
647
625
  }
648
- function H(e, t) {
649
- w(() => {
650
- const n = o(e);
651
- n && (n.title = o(t));
626
+ function j(e, t) {
627
+ b(() => {
628
+ const n = a(e);
629
+ n && (n.title = a(t));
652
630
  });
653
631
  }
654
- const ut = j(
632
+ const ct = N(
655
633
  (e, t, n) => {
656
- const i = P();
657
- D(t, () => i.fire()), n != null && n.watchSource && D(n.watchSource, () => i.fire());
658
- const a = /* @__PURE__ */ new WeakMap(), s = l(v.createTreeView(e, {
634
+ const i = O();
635
+ C(t, () => i.fire()), n?.watchSource && C(n.watchSource, () => i.fire());
636
+ const o = /* @__PURE__ */ new WeakMap(), r = c(v.createTreeView(e, {
659
637
  ...n,
660
638
  treeDataProvider: {
661
639
  ...n,
662
640
  onDidChangeTreeData: i.event,
663
- getTreeItem(r) {
664
- return r.treeItem;
641
+ getTreeItem(s) {
642
+ return s.treeItem;
665
643
  },
666
- async getChildren(r) {
667
- if (r) {
668
- const u = await r.children;
669
- return u == null || u.forEach((d) => a.set(d, r)), u;
644
+ async getChildren(s) {
645
+ if (s) {
646
+ const u = await s.children;
647
+ return u?.forEach((d) => o.set(d, s)), u;
670
648
  }
671
- return o(t);
649
+ return a(t);
672
650
  },
673
- getParent(r) {
674
- return a.get(r);
651
+ getParent(s) {
652
+ return o.get(s);
675
653
  }
676
654
  }
677
655
  }));
678
- return n != null && n.title && H(s, n.title), n != null && n.badge && te(s, n.badge), s;
656
+ return n?.title && j(r, n.title), n?.badge && te(r, n.badge), r;
679
657
  },
680
658
  (e) => e
681
659
  );
682
- function ct(e) {
683
- var i;
684
- const t = x((i = o(e)) == null ? void 0 : i.visible);
660
+ function ut(e) {
661
+ const t = S(a(e)?.visible);
685
662
  function n() {
686
- var a;
687
- t.value = (a = o(e)) == null ? void 0 : a.visible;
663
+ t.value = a(e)?.visible;
688
664
  }
689
- return w((a) => {
690
- const s = o(e);
691
- if (s) {
692
- const r = s.onDidChangeVisibility(n);
693
- a(() => r.dispose());
665
+ return b((i) => {
666
+ const o = a(e);
667
+ if (o) {
668
+ const r = o.onDidChangeVisibility(n);
669
+ i(() => r.dispose());
694
670
  }
695
- }), w(n), h(() => !!t.value);
671
+ }), b(n), h(() => !!t.value);
696
672
  }
697
- const lt = C(() => {
673
+ const lt = w(() => {
698
674
  const e = g(v.visibleNotebookEditors);
699
- return l(v.onDidChangeVisibleNotebookEditors((t) => {
675
+ return c(v.onDidChangeVisibleNotebookEditors((t) => {
700
676
  e.value = t;
701
677
  })), e;
702
- }), dt = C(() => {
678
+ }), dt = w(() => {
703
679
  const e = g(v.visibleTextEditors);
704
- return l(v.onDidChangeVisibleTextEditors((t) => {
680
+ return c(v.onDidChangeVisibleTextEditors((t) => {
705
681
  e.value = t;
706
682
  })), e;
707
683
  });
708
684
  function ft(e, t, n = !0) {
709
- const i = ae(t) ? t : typeof t == "function" ? h(t) : x(t);
710
- return w(() => {
711
- o(n) && V.executeCommand("setContext", e, i.value);
685
+ const i = oe(t) ? t : typeof t == "function" ? h(t) : S(t);
686
+ return b(() => {
687
+ a(n) && P.executeCommand("setContext", e, i.value);
712
688
  }), i;
713
689
  }
714
- function vt(e, t, n, i, a) {
715
- const s = g(), r = l(v.createWebviewPanel(
690
+ function vt(e, t, n, i, o) {
691
+ const r = g(), s = c(v.createWebviewPanel(
716
692
  e,
717
- o(t),
693
+ a(t),
718
694
  i,
719
695
  {
720
- enableFindWidget: a == null ? void 0 : a.enableFindWidget,
721
- retainContextWhenHidden: a == null ? void 0 : a.retainContextWhenHidden,
722
- ...o(a == null ? void 0 : a.webviewOptions)
696
+ enableFindWidget: o?.enableFindWidget,
697
+ retainContextWhenHidden: o?.retainContextWhenHidden,
698
+ ...a(o?.webviewOptions)
723
699
  }
724
700
  ));
725
- a != null && a.onDidReceiveMessage && r.webview.onDidReceiveMessage(a.onDidReceiveMessage);
726
- const u = x(0);
701
+ o?.onDidReceiveMessage && s.webview.onDidReceiveMessage(o.onDidReceiveMessage);
702
+ const u = S(0);
727
703
  function d() {
728
704
  u.value++;
729
705
  }
730
- if (w(() => {
731
- r.webview.html = `${o(n)}<!--${u.value}-->`;
732
- }), a != null && a.webviewOptions) {
733
- const b = a.webviewOptions;
734
- w(() => {
735
- r.webview.options = o(b);
706
+ if (b(() => {
707
+ s.webview.html = `${a(n)}<!--${u.value}-->`;
708
+ }), o?.webviewOptions) {
709
+ const p = o.webviewOptions;
710
+ b(() => {
711
+ s.webview.options = a(p);
736
712
  });
737
713
  }
738
- H(r, t);
739
- function c(b) {
740
- return r.webview.postMessage(b);
714
+ j(s, t);
715
+ function l(p) {
716
+ return s.webview.postMessage(p);
741
717
  }
742
- const m = x(r.active), f = x(r.visible);
743
- return l(r.onDidChangeViewState(() => {
744
- m.value = r.active, f.value = r.visible;
745
- })), { panel: r, context: s, active: m, visible: f, postMessage: c, forceRefresh: d };
718
+ const m = S(s.active), f = S(s.visible);
719
+ return c(s.onDidChangeViewState(() => {
720
+ m.value = s.active, f.value = s.visible;
721
+ })), { panel: s, context: r, active: m, visible: f, postMessage: l, forceRefresh: d };
746
722
  }
747
- const gt = j(
723
+ const gt = N(
748
724
  (e, t, n) => {
749
- const i = g(), a = g();
750
- l(v.registerWebviewViewProvider(
725
+ const i = g(), o = g();
726
+ c(v.registerWebviewViewProvider(
751
727
  e,
752
728
  {
753
- resolveWebviewView(d, c) {
754
- i.value = d, a.value = c, n != null && n.onDidReceiveMessage && d.webview.onDidReceiveMessage(n.onDidReceiveMessage);
729
+ resolveWebviewView(d, l) {
730
+ i.value = d, o.value = l, n?.onDidReceiveMessage && d.webview.onDidReceiveMessage(n.onDidReceiveMessage);
755
731
  }
756
732
  },
757
733
  {
758
734
  webviewOptions: {
759
- retainContextWhenHidden: n == null ? void 0 : n.retainContextWhenHidden
735
+ retainContextWhenHidden: n?.retainContextWhenHidden
760
736
  }
761
737
  }
762
738
  ));
763
- const s = x(0);
764
- function r() {
765
- s.value++;
739
+ const r = S(0);
740
+ function s() {
741
+ r.value++;
766
742
  }
767
- if (w(() => {
768
- i.value && (i.value.webview.html = `${o(t)}<!--${s.value}-->`);
769
- }), n != null && n.webviewOptions) {
743
+ if (b(() => {
744
+ i.value && (i.value.webview.html = `${a(t)}<!--${r.value}-->`);
745
+ }), n?.webviewOptions) {
770
746
  const d = n.webviewOptions;
771
- w(() => {
772
- i.value && (i.value.webview.options = o(d));
747
+ b(() => {
748
+ i.value && (i.value.webview.options = a(d));
773
749
  });
774
750
  }
775
- n != null && n.title && H(i, n.title), n != null && n.badge && te(i, n.badge);
751
+ n?.title && j(i, n.title), n?.badge && te(i, n.badge);
776
752
  function u(d) {
777
- var c;
778
- return (c = i.value) == null ? void 0 : c.webview.postMessage(d);
753
+ return i.value?.webview.postMessage(d);
779
754
  }
780
- return { view: i, context: a, postMessage: u, forceRefresh: r };
755
+ return { view: i, context: o, postMessage: u, forceRefresh: s };
781
756
  },
782
757
  (e) => e
783
- ), ht = C(() => {
758
+ ), ht = w(() => {
784
759
  const e = g(v.state);
785
- return l(v.onDidChangeWindowState((t) => {
760
+ return c(v.onDidChangeWindowState((t) => {
786
761
  e.value = t;
787
762
  })), {
788
763
  focused: h(() => e.value.focused),
789
764
  active: h(() => e.value.active)
790
765
  };
791
- }), mt = C(() => {
792
- const e = g(S.workspaceFolders);
793
- return l(S.onDidChangeWorkspaceFolders(() => {
794
- e.value = S.workspaceFolders;
766
+ }), mt = w(() => {
767
+ const e = g(T.workspaceFolders);
768
+ return c(T.onDidChangeWorkspaceFolders(() => {
769
+ e.value = T.workspaceFolders;
795
770
  })), h(() => e.value);
796
771
  });
797
772
  export {
798
773
  X as activateCbs,
799
- j as createKeyedComposable,
800
- C as createSingletonComposable,
774
+ N as createKeyedComposable,
775
+ w as createSingletonComposable,
801
776
  J as deactivateCbs,
802
777
  ke as defineConfigObject,
803
778
  le as defineConfigs,
804
779
  Ee as defineExtension,
805
- Re as defineLogger,
806
- ye as executeCommand,
807
- R as extensionContext,
808
- L as extensionScope,
780
+ ye as defineLogger,
781
+ Re as executeCommand,
782
+ y as extensionContext,
783
+ M as extensionScope,
809
784
  Ge as getDefaultLoggerPrefix,
810
785
  Z as onActivate,
811
- xe as onDeactivate,
812
- ce as tryOnScopeDispose,
786
+ Se as onDeactivate,
787
+ ue as tryOnScopeDispose,
813
788
  Oe as useAbsolutePath,
814
789
  fe as useActiveColorTheme,
815
790
  Pe as useActiveDebugSession,
@@ -818,49 +793,49 @@ export {
818
793
  Ie as useActiveTerminal,
819
794
  ve as useActiveTextEditor,
820
795
  We as useAllExtensions,
821
- $e as useChatParticipant,
796
+ Fe as useChatParticipant,
822
797
  me as useCommand,
823
- Fe as useCommands,
798
+ $e as useCommands,
824
799
  Me as useCommentController,
825
800
  Le as useControlledTerminal,
826
801
  Ne as useDefaultShell,
827
- l as useDisposable,
802
+ c as useDisposable,
828
803
  ge as useDocumentText,
829
804
  he as useEditorDecorations,
830
- p as useEvent,
831
- P as useEventEmitter,
805
+ x as useEvent,
806
+ O as useEventEmitter,
832
807
  je as useExtensionSecret,
833
808
  He as useFetchTasks,
834
809
  Be as useFileUri,
835
- qe as useFoldingRangeProvider,
836
- ze as useFsWatcher,
837
- Ke as useIsDarkTheme,
810
+ Ke as useFoldingRangeProvider,
811
+ qe as useFsWatcher,
812
+ ze as useIsDarkTheme,
838
813
  Qe as useIsTelemetryEnabled,
839
814
  Ue as useL10nText,
840
815
  Ye as useLmTools,
841
816
  Je as useLogLevel,
842
- we as useLogger,
817
+ be as useLogger,
843
818
  Xe as useNotebookEditorSelection,
844
- Ce as useNotebookEditorSelections,
819
+ we as useNotebookEditorSelections,
845
820
  Ze as useNotebookEditorVisibleRanges,
846
821
  _e as useOpenedTerminals,
847
- be as useOutputChannel,
822
+ pe as useOutputChannel,
848
823
  et as useQuickPick,
849
824
  _ as useReactiveOptions,
850
825
  tt as useStatusBarItem,
851
826
  nt as useTaskExecutions,
852
827
  it as useTerminal,
853
828
  ee as useTerminalState,
854
- De as useTextEditorCommand,
855
- at as useTextEditorCommands,
856
- rt as useTextEditorSelection,
857
- Te as useTextEditorSelections,
858
- ot as useTextEditorViewColumn,
859
- st as useTextEditorVisibleRanges,
860
- ut as useTreeView,
829
+ Ce as useTextEditorCommand,
830
+ ot as useTextEditorCommands,
831
+ at as useTextEditorSelection,
832
+ De as useTextEditorSelections,
833
+ st as useTextEditorViewColumn,
834
+ rt as useTextEditorVisibleRanges,
835
+ ct as useTreeView,
861
836
  te as useViewBadge,
862
- H as useViewTitle,
863
- ct as useViewVisibility,
837
+ j as useViewTitle,
838
+ ut as useViewVisibility,
864
839
  lt as useVisibleNotebookEditors,
865
840
  dt as useVisibleTextEditors,
866
841
  ft as useVscodeContext,