@theia/plugin-ext 1.28.0-next.3 → 1.28.0-next.30
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/lib/common/plugin-api-rpc-model.d.ts +1 -0
- package/lib/common/plugin-api-rpc-model.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc-model.js.map +1 -1
- package/lib/common/plugin-api-rpc.d.ts +2 -0
- package/lib/common/plugin-api-rpc.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc.js.map +1 -1
- package/lib/common/plugin-protocol.d.ts +4 -0
- package/lib/common/plugin-protocol.d.ts.map +1 -1
- package/lib/common/plugin-protocol.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-deployer-handler.js +1 -0
- package/lib/hosted/node/hosted-plugin-deployer-handler.js.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts +15 -2
- package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-localization-service.js +33 -3
- package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +1 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js +1 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts +5 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.js +22 -15
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
- package/lib/main/browser/comments/comment-thread-widget.js +5 -5
- package/lib/main/browser/comments/comment-thread-widget.js.map +1 -1
- package/lib/main/browser/debug/debug-main.d.ts +1 -0
- package/lib/main/browser/debug/debug-main.d.ts.map +1 -1
- package/lib/main/browser/debug/debug-main.js +10 -0
- package/lib/main/browser/debug/debug-main.js.map +1 -1
- package/lib/main/browser/languages-main.d.ts.map +1 -1
- package/lib/main/browser/languages-main.js.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.d.ts +24 -88
- package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.js +108 -518
- package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +44 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +274 -0
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +18 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js +88 -0
- package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -0
- package/lib/main/browser/plugin-contribution-handler.d.ts.map +1 -1
- package/lib/main/browser/plugin-contribution-handler.js +9 -4
- package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
- package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -1
- package/lib/main/browser/plugin-ext-frontend-module.js +4 -1
- package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -1
- package/lib/main/browser/plugin-shared-style.d.ts.map +1 -1
- package/lib/main/browser/plugin-shared-style.js +0 -1
- package/lib/main/browser/plugin-shared-style.js.map +1 -1
- package/lib/main/browser/scm-main.d.ts +1 -0
- package/lib/main/browser/scm-main.d.ts.map +1 -1
- package/lib/main/browser/scm-main.js +7 -0
- package/lib/main/browser/scm-main.js.map +1 -1
- package/lib/main/browser/terminal-main.d.ts.map +1 -1
- package/lib/main/browser/terminal-main.js +4 -1
- package/lib/main/browser/terminal-main.js.map +1 -1
- package/lib/main/browser/view/tree-view-widget.js +2 -2
- package/lib/main/browser/view/tree-view-widget.js.map +1 -1
- package/lib/plugin/debug/debug-ext.d.ts +3 -1
- package/lib/plugin/debug/debug-ext.d.ts.map +1 -1
- package/lib/plugin/debug/debug-ext.js +26 -4
- package/lib/plugin/debug/debug-ext.js.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +1 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -1
- package/lib/plugin/debug/plugin-debug-adapter-session.js +3 -0
- package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -1
- package/lib/plugin/languages/signature.d.ts.map +1 -1
- package/lib/plugin/languages/signature.js +5 -1
- package/lib/plugin/languages/signature.js.map +1 -1
- package/lib/plugin/node/debug/debug.spec.d.ts +2 -0
- package/lib/plugin/node/debug/debug.spec.d.ts.map +1 -0
- package/lib/plugin/node/debug/debug.spec.js +68 -0
- package/lib/plugin/node/debug/debug.spec.js.map +1 -0
- package/lib/plugin/plugin-context.d.ts.map +1 -1
- package/lib/plugin/plugin-context.js +3 -0
- package/lib/plugin/plugin-context.js.map +1 -1
- package/lib/plugin/quick-open.d.ts.map +1 -1
- package/lib/plugin/quick-open.js +1 -0
- package/lib/plugin/quick-open.js.map +1 -1
- package/lib/plugin/scm.d.ts +3 -0
- package/lib/plugin/scm.d.ts.map +1 -1
- package/lib/plugin/scm.js +8 -0
- package/lib/plugin/scm.js.map +1 -1
- package/lib/plugin/type-converters.d.ts.map +1 -1
- package/lib/plugin/type-converters.js +4 -2
- package/lib/plugin/type-converters.js.map +1 -1
- package/lib/plugin/types-impl.d.ts +4 -3
- package/lib/plugin/types-impl.d.ts.map +1 -1
- package/lib/plugin/types-impl.js +9 -8
- package/lib/plugin/types-impl.js.map +1 -1
- package/package.json +26 -26
- package/src/common/plugin-api-rpc-model.ts +1 -0
- package/src/common/plugin-api-rpc.ts +2 -0
- package/src/common/plugin-protocol.ts +4 -0
- package/src/hosted/node/hosted-plugin-deployer-handler.ts +1 -0
- package/src/hosted/node/hosted-plugin-localization-service.ts +39 -5
- package/src/hosted/node/plugin-ext-hosted-backend-module.ts +1 -0
- package/src/hosted/node/scanners/scanner-theia.ts +21 -15
- package/src/main/browser/comments/comment-thread-widget.tsx +5 -5
- package/src/main/browser/debug/debug-main.ts +9 -0
- package/src/main/browser/languages-main.ts +5 -0
- package/src/main/browser/menus/menus-contribution-handler.ts +104 -578
- package/src/main/browser/menus/plugin-menu-command-adapter.ts +259 -0
- package/src/main/browser/menus/vscode-theia-menu-mappings.ts +85 -0
- package/src/main/browser/plugin-contribution-handler.ts +3 -1
- package/src/main/browser/plugin-ext-frontend-module.ts +4 -1
- package/src/main/browser/plugin-shared-style.ts +0 -1
- package/src/main/browser/scm-main.ts +10 -0
- package/src/main/browser/terminal-main.ts +4 -1
- package/src/main/browser/view/tree-view-widget.tsx +2 -2
- package/src/plugin/debug/debug-ext.ts +30 -5
- package/src/plugin/debug/plugin-debug-adapter-session.ts +4 -0
- package/src/plugin/languages/signature.ts +3 -1
- package/src/plugin/node/debug/debug.spec.ts +94 -0
- package/src/plugin/plugin-context.ts +3 -0
- package/src/plugin/quick-open.ts +1 -0
- package/src/plugin/scm.ts +11 -0
- package/src/plugin/type-converters.ts +4 -2
- package/src/plugin/types-impl.ts +7 -5
package/src/plugin/scm.ts
CHANGED
|
@@ -311,6 +311,17 @@ export class ScmInputBoxImpl implements theia.SourceControlInputBox {
|
|
|
311
311
|
this._placeholder = placeholder;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
+
private _visible: boolean = true;
|
|
315
|
+
|
|
316
|
+
get visible(): boolean {
|
|
317
|
+
return this._visible;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
set visible(visible: boolean) {
|
|
321
|
+
this.proxy.$setInputBoxVisible(this.sourceControlHandle, visible);
|
|
322
|
+
this._visible = visible;
|
|
323
|
+
}
|
|
324
|
+
|
|
314
325
|
private _validateInput: ValidateInput | undefined;
|
|
315
326
|
|
|
316
327
|
get validateInput(): ValidateInput | undefined {
|
|
@@ -482,7 +482,8 @@ export namespace SignatureInformation {
|
|
|
482
482
|
return {
|
|
483
483
|
label: info.label,
|
|
484
484
|
documentation: info.documentation ? fromMarkdown(info.documentation) : undefined,
|
|
485
|
-
parameters: info.parameters && info.parameters.map(ParameterInformation.from)
|
|
485
|
+
parameters: info.parameters && info.parameters.map(ParameterInformation.from),
|
|
486
|
+
activeParameter: info.activeParameter
|
|
486
487
|
};
|
|
487
488
|
}
|
|
488
489
|
|
|
@@ -490,7 +491,8 @@ export namespace SignatureInformation {
|
|
|
490
491
|
return {
|
|
491
492
|
label: info.label,
|
|
492
493
|
documentation: MarkdownStringDTO.is(info.documentation) ? toMarkdown(info.documentation) : info.documentation,
|
|
493
|
-
parameters: info.parameters && info.parameters.map(ParameterInformation.to)
|
|
494
|
+
parameters: info.parameters && info.parameters.map(ParameterInformation.to),
|
|
495
|
+
activeParameter: info.activeParameter
|
|
494
496
|
};
|
|
495
497
|
}
|
|
496
498
|
}
|
package/src/plugin/types-impl.ts
CHANGED
|
@@ -1071,6 +1071,7 @@ export class SignatureInformation {
|
|
|
1071
1071
|
label: string;
|
|
1072
1072
|
documentation?: string | theia.MarkdownString;
|
|
1073
1073
|
parameters: ParameterInformation[];
|
|
1074
|
+
activeParameter?: number;
|
|
1074
1075
|
|
|
1075
1076
|
constructor(label: string, documentation?: string | theia.MarkdownString) {
|
|
1076
1077
|
this.label = label;
|
|
@@ -2249,11 +2250,12 @@ export class Breakpoint {
|
|
|
2249
2250
|
*/
|
|
2250
2251
|
logMessage?: string;
|
|
2251
2252
|
|
|
2252
|
-
protected constructor(enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string) {
|
|
2253
|
+
protected constructor(enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string, id?: string) {
|
|
2253
2254
|
this.enabled = enabled || false;
|
|
2254
2255
|
this.condition = condition;
|
|
2255
2256
|
this.hitCondition = hitCondition;
|
|
2256
2257
|
this.logMessage = logMessage;
|
|
2258
|
+
this._id = id;
|
|
2257
2259
|
}
|
|
2258
2260
|
|
|
2259
2261
|
private _id: string | undefined;
|
|
@@ -2282,8 +2284,8 @@ export class SourceBreakpoint extends Breakpoint {
|
|
|
2282
2284
|
/**
|
|
2283
2285
|
* Create a new breakpoint for a source location.
|
|
2284
2286
|
*/
|
|
2285
|
-
constructor(location: Location, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string) {
|
|
2286
|
-
super(enabled, condition, hitCondition, logMessage);
|
|
2287
|
+
constructor(location: Location, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string, id?: string) {
|
|
2288
|
+
super(enabled, condition, hitCondition, logMessage, id);
|
|
2287
2289
|
this.location = location;
|
|
2288
2290
|
}
|
|
2289
2291
|
}
|
|
@@ -2301,8 +2303,8 @@ export class FunctionBreakpoint extends Breakpoint {
|
|
|
2301
2303
|
/**
|
|
2302
2304
|
* Create a new function breakpoint.
|
|
2303
2305
|
*/
|
|
2304
|
-
constructor(functionName: string, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string) {
|
|
2305
|
-
super(enabled, condition, hitCondition, logMessage);
|
|
2306
|
+
constructor(functionName: string, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string, id?: string) {
|
|
2307
|
+
super(enabled, condition, hitCondition, logMessage, id);
|
|
2306
2308
|
this.functionName = functionName;
|
|
2307
2309
|
}
|
|
2308
2310
|
}
|