@codingame/monaco-vscode-quickaccess-service-override
Advanced tools
Comparing version 2.0.3 to 2.1.0-update-vscode-1.86.1
{ | ||
"name": "@codingame/monaco-vscode-quickaccess-service-override", | ||
"version": "2.0.3", | ||
"version": "2.1.0-update-vscode-1.86.1", | ||
"keywords": [], | ||
@@ -21,5 +21,5 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@2.0.3", | ||
"vscode": "npm:@codingame/monaco-vscode-api@2.1.0-update-vscode-1.86.1", | ||
"vscode-marked": "npm:marked@=3.0.2" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions'; | ||
@@ -184,7 +184,7 @@ import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry'; | ||
constructor() { | ||
super('workbench.action.quickOpenNavigateNext', { value: ( localizeWithPath( | ||
super('workbench.action.quickOpenNavigateNext', ( localize2WithPath( | ||
'vs/workbench/browser/actions/quickAccessActions', | ||
'quickNavigateNext', | ||
"Navigate Next in Quick Open" | ||
)), original: 'Navigate Next in Quick Open' }, true, true); | ||
'Navigate Next in Quick Open' | ||
)), true, true); | ||
} | ||
@@ -194,7 +194,7 @@ } | ||
constructor() { | ||
super('workbench.action.quickOpenNavigatePrevious', { value: ( localizeWithPath( | ||
super('workbench.action.quickOpenNavigatePrevious', ( localize2WithPath( | ||
'vs/workbench/browser/actions/quickAccessActions', | ||
'quickNavigatePrevious', | ||
"Navigate Previous in Quick Open" | ||
)), original: 'Navigate Previous in Quick Open' }, false, true); | ||
'Navigate Previous in Quick Open' | ||
)), false, true); | ||
} | ||
@@ -204,7 +204,7 @@ } | ||
constructor() { | ||
super('workbench.action.quickOpenSelectNext', { value: ( localizeWithPath( | ||
super('workbench.action.quickOpenSelectNext', ( localize2WithPath( | ||
'vs/workbench/browser/actions/quickAccessActions', | ||
'quickSelectNext', | ||
"Select Next in Quick Open" | ||
)), original: 'Select Next in Quick Open' }, true, false, { | ||
'Select Next in Quick Open' | ||
)), true, false, { | ||
weight: 200 + 50, | ||
@@ -219,7 +219,7 @@ when: inQuickPickContext, | ||
constructor() { | ||
super('workbench.action.quickOpenSelectPrevious', { value: ( localizeWithPath( | ||
super('workbench.action.quickOpenSelectPrevious', ( localize2WithPath( | ||
'vs/workbench/browser/actions/quickAccessActions', | ||
'quickSelectPrevious', | ||
"Select Previous in Quick Open" | ||
)), original: 'Select Previous in Quick Open' }, false, false, { | ||
'Select Previous in Quick Open' | ||
)), false, false, { | ||
weight: 200 + 50, | ||
@@ -226,0 +226,0 @@ when: inQuickPickContext, |
import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput'; | ||
@@ -54,7 +54,7 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService'; | ||
id: GotoLineAction.ID, | ||
title: { value: ( localizeWithPath( | ||
title: ( localize2WithPath( | ||
'vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess', | ||
'gotoLine', | ||
"Go to Line/Column..." | ||
)), original: 'Go to Line/Column...' }, | ||
'Go to Line/Column...' | ||
)), | ||
f1: true, | ||
@@ -61,0 +61,0 @@ keybinding: { |
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { CommandsHistory } from '../../../../platform/quickinput/browser/commandsQuickAccess.js'; | ||
@@ -233,7 +233,7 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService'; | ||
id: ShowAllCommandsAction.ID, | ||
title: { value: ( localizeWithPath( | ||
title: ( localize2WithPath( | ||
'vs/workbench/contrib/quickaccess/browser/commandsQuickAccess', | ||
'showTriggerActions', | ||
"Show All Commands" | ||
)), original: 'Show All Commands' }, | ||
'Show All Commands' | ||
)), | ||
keybinding: { | ||
@@ -256,7 +256,7 @@ weight: 200 , | ||
id: 'workbench.action.clearCommandHistory', | ||
title: { value: ( localizeWithPath( | ||
title: ( localize2WithPath( | ||
'vs/workbench/contrib/quickaccess/browser/commandsQuickAccess', | ||
'clearCommandHistory', | ||
"Clear Command History" | ||
)), original: 'Clear Command History' }, | ||
'Clear Command History' | ||
)), | ||
f1: true | ||
@@ -263,0 +263,0 @@ }); |
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { IQuickInputService, ItemActivation } from 'vscode/vscode/vs/platform/quickinput/common/quickInput'; | ||
import { PickerQuickAccessProvider } from 'vscode/vscode/vs/platform/quickinput/browser/pickerQuickAccess'; | ||
import { IViewDescriptorService, IViewsService } from 'vscode/vscode/vs/workbench/common/views'; | ||
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views'; | ||
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService'; | ||
import { IOutputService } from 'vscode/vscode/vs/workbench/services/output/common/output'; | ||
@@ -220,7 +221,7 @@ import { ITerminalService, ITerminalGroupService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal'; | ||
id: OpenViewPickerAction.ID, | ||
title: { value: ( localizeWithPath( | ||
title: ( localize2WithPath( | ||
'vs/workbench/contrib/quickaccess/browser/viewQuickAccess', | ||
'openView', | ||
"Open View" | ||
)), original: 'Open View' }, | ||
'Open View' | ||
)), | ||
category: Categories.View, | ||
@@ -244,7 +245,7 @@ f1: true | ||
id: QuickAccessViewPickerAction.ID, | ||
title: { value: ( localizeWithPath( | ||
title: ( localize2WithPath( | ||
'vs/workbench/contrib/quickaccess/browser/viewQuickAccess', | ||
'quickOpenView', | ||
"Quick Open View" | ||
)), original: 'Quick Open View' }, | ||
'Quick Open View' | ||
)), | ||
category: Categories.View, | ||
@@ -251,0 +252,0 @@ f1: false, |
import { URI } from 'vscode/vscode/vs/base/common/uri'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { registerAction2, MenuRegistry, MenuId, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions'; | ||
@@ -21,3 +21,3 @@ import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands'; | ||
id: 'workbench.action.url.openUrl', | ||
title: { value: ( localizeWithPath('vs/workbench/contrib/url/browser/url.contribution', 'openUrl', "Open URL")), original: 'Open URL' }, | ||
title: ( localize2WithPath('vs/workbench/contrib/url/browser/url.contribution', 'openUrl', 'Open URL')), | ||
category: Categories.Developer, | ||
@@ -24,0 +24,0 @@ f1: true |
@@ -10,11 +10,8 @@ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js'; | ||
import { InQuickPickContextKey } from 'vscode/vscode/vs/workbench/browser/quickaccess'; | ||
import { IHoverService } from 'vscode/vscode/vs/workbench/services/hover/browser/hover'; | ||
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover'; | ||
let QuickInputService = class QuickInputService extends QuickInputService$1 { | ||
constructor(configurationService, instantiationService, keybindingService, contextKeyService, themeService, layoutService, hoverService) { | ||
super(instantiationService, contextKeyService, themeService, layoutService); | ||
this.configurationService = configurationService; | ||
super(instantiationService, contextKeyService, themeService, layoutService, configurationService, hoverService); | ||
this.keybindingService = keybindingService; | ||
this.hoverService = hoverService; | ||
this.hoverDelegate = ( new QuickInputHoverDelegate(this.configurationService, this.hoverService)); | ||
this.inQuickInputContext = InQuickPickContextKey.bindTo(this.contextKeyService); | ||
@@ -31,3 +28,2 @@ this.registerListeners(); | ||
backKeybindingLabel: () => this.keybindingService.lookupKeybinding('workbench.action.quickInputBack')?.getLabel() || undefined, | ||
hoverDelegate: this.hoverDelegate | ||
}); | ||
@@ -45,37 +41,3 @@ } | ||
], QuickInputService)); | ||
class QuickInputHoverDelegate { | ||
get delay() { | ||
if (Date.now() - this.lastHoverHideTime < 200) { | ||
return 0; | ||
} | ||
return this.configurationService.getValue('workbench.hover.delay'); | ||
} | ||
constructor(configurationService, hoverService) { | ||
this.configurationService = configurationService; | ||
this.hoverService = hoverService; | ||
this.lastHoverHideTime = 0; | ||
this.placement = 'element'; | ||
} | ||
showHover(options, focus) { | ||
const showHoverHint = (options.content instanceof HTMLElement | ||
? options.content.textContent ?? '' | ||
: typeof options.content === 'string' | ||
? options.content | ||
: options.content.value).length > 20; | ||
return this.hoverService.showHover({ | ||
...options, | ||
persistence: { | ||
hideOnKeyDown: false, | ||
}, | ||
appearance: { | ||
showHoverHint, | ||
skipFadeInAnimation: true, | ||
}, | ||
}, focus); | ||
} | ||
onDidHideHover() { | ||
this.lastHoverHideTime = Date.now(); | ||
} | ||
} | ||
export { QuickInputService }; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
109221
2275
2
+ Added@codingame/monaco-vscode-api@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-base-service-override@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-files-service-override@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-host-service-override@2.1.0-update-vscode-1.86.1(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@2.1.0-update-vscode-1.86.1(transitive)
- Removed@codingame/monaco-vscode-api@2.0.3(transitive)
- Removed@codingame/monaco-vscode-base-service-override@2.0.3(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@2.0.3(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@2.0.3(transitive)
- Removed@codingame/monaco-vscode-files-service-override@2.0.3(transitive)
- Removed@codingame/monaco-vscode-host-service-override@2.0.3(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@2.0.3(transitive)
Updatedvscode@npm:@codingame/monaco-vscode-api@2.1.0-update-vscode-1.86.1