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