@codingame/monaco-vscode-base-service-override
Advanced tools
Comparing version 8.0.4 to 9.0.0
{ | ||
"name": "@codingame/monaco-vscode-base-service-override", | ||
"version": "8.0.4", | ||
"version": "9.0.0", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4" | ||
"vscode": "npm:@codingame/monaco-vscode-api@9.0.0" | ||
} | ||
} |
@@ -110,3 +110,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
return ( localize( | ||
856, | ||
1026, | ||
"Unable to write into the file. Please open the file to correct errors/warnings in the file and try again." | ||
@@ -113,0 +113,0 @@ )); |
@@ -162,3 +162,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
badgeClassName = rule.bubbleBadgeClassName; | ||
tooltip = ( localize(857, "Contains emphasized items")); | ||
tooltip = ( localize(1027, "Contains emphasized items")); | ||
} | ||
@@ -165,0 +165,0 @@ return { |
@@ -34,3 +34,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
jsonSchema: { | ||
description: ( localize(858, 'Contributes resource label formatting rules.')), | ||
description: ( localize(1028, 'Contributes resource label formatting rules.')), | ||
type: 'array', | ||
@@ -44,3 +44,3 @@ items: { | ||
description: ( localize( | ||
859, | ||
1029, | ||
'URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.' | ||
@@ -52,3 +52,3 @@ )), | ||
description: ( localize( | ||
860, | ||
1030, | ||
'URI authority on which to match the formatter on. Simple glob patterns are supported.' | ||
@@ -58,3 +58,3 @@ )), | ||
formatting: { | ||
description: ( localize(861, "Rules for formatting uri resource labels.")), | ||
description: ( localize(1031, "Rules for formatting uri resource labels.")), | ||
type: 'object', | ||
@@ -65,3 +65,3 @@ properties: { | ||
description: ( localize( | ||
862, | ||
1032, | ||
"Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables." | ||
@@ -73,3 +73,3 @@ )) | ||
description: ( localize( | ||
863, | ||
1033, | ||
"Separator to be used in the uri label display. '/' or '\' as an example." | ||
@@ -81,3 +81,3 @@ )) | ||
description: ( localize( | ||
864, | ||
1034, | ||
"Controls whether `${path}` substitutions should have starting separator characters stripped." | ||
@@ -89,3 +89,3 @@ )) | ||
description: ( localize( | ||
865, | ||
1035, | ||
"Controls if the start of the uri label should be tildified when possible." | ||
@@ -96,3 +96,3 @@ )) | ||
type: 'string', | ||
description: ( localize(866, "Suffix appended to the workspace label.")) | ||
description: ( localize(1036, "Suffix appended to the workspace label.")) | ||
} | ||
@@ -276,6 +276,6 @@ } | ||
if (isUntitledWorkspace(workspaceUri, this.environmentService)) { | ||
return ( localize(867, "Untitled (Workspace)")); | ||
return ( localize(1037, "Untitled (Workspace)")); | ||
} | ||
if (isTemporaryWorkspace(workspaceUri)) { | ||
return ( localize(868, "Workspace")); | ||
return ( localize(1038, "Workspace")); | ||
} | ||
@@ -293,3 +293,3 @@ let filename = basename(workspaceUri); | ||
label = ( localize( | ||
869, | ||
1039, | ||
"{0} (Workspace)", | ||
@@ -301,3 +301,3 @@ this.getUriLabel(joinPath(dirname(workspaceUri), filename)) | ||
default: | ||
label = ( localize(870, "{0} (Workspace)", filename)); | ||
label = ( localize(1040, "{0} (Workspace)", filename)); | ||
break; | ||
@@ -304,0 +304,0 @@ } |
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { RunOnceScheduler, runWhenGlobalIdle } from 'vscode/vscode/vs/base/common/async'; | ||
import { RunOnceScheduler, runWhenGlobalIdle, disposableTimeout } from 'vscode/vscode/vs/base/common/async'; | ||
import { Emitter } from 'vscode/vscode/vs/base/common/event'; | ||
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle'; | ||
import { Disposable, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle'; | ||
import 'vscode/vscode/vs/platform/instantiation/common/extensions'; | ||
@@ -9,2 +9,3 @@ import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation'; | ||
const MARK_INACTIVE_DEBOUNCE = 10000; | ||
let UserActivityService = class UserActivityService extends Disposable { | ||
@@ -16,3 +17,3 @@ constructor(instantiationService) { | ||
this.changeEmitter.fire(false); | ||
}, 10_000))); | ||
}, MARK_INACTIVE_DEBOUNCE))); | ||
this.changeEmitter = this._register(( new Emitter())); | ||
@@ -24,3 +25,8 @@ this.active = 0; | ||
} | ||
markActive() { | ||
markActive(opts) { | ||
if (opts?.whenHeldFor) { | ||
const store = ( new DisposableStore()); | ||
store.add(disposableTimeout(() => store.add(this.markActive()), opts.whenHeldFor)); | ||
return store; | ||
} | ||
if (++this.active === 1) { | ||
@@ -27,0 +33,0 @@ this.isActive = true; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78622
1698
+ Added@codingame/monaco-vscode-api@9.0.0(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-files-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-host-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@9.0.0(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@9.0.0(transitive)
+ Addedmarked@14.0.0(transitive)
- Removed@codingame/monaco-vscode-api@8.0.4(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-files-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-host-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@8.0.4(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@8.0.4(transitive)