@codingame/monaco-vscode-api 1.83.5 → 1.83.7

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.
Files changed (213) hide show
  1. package/assets.js +3 -14
  2. package/lifecycle.js +3 -1
  3. package/missing-services.js +32 -28
  4. package/monaco-editor-treemending.patch +26330 -3867
  5. package/monaco.js +4 -0
  6. package/package.json +1 -1
  7. package/service-override/extensions.js +5 -5
  8. package/service-override/files.js +37 -13
  9. package/service-override/keybindings.js +10 -4
  10. package/service-override/layout.js +1 -3
  11. package/services.d.ts +13 -2
  12. package/services.js +35 -5
  13. package/vscode/src/vs/base/browser/broadcast.js +52 -0
  14. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
  16. package/vscode/src/vs/base/common/date.js +244 -54
  17. package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
  18. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
  21. package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
  22. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
  24. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
  25. package/vscode/src/vs/platform/files/common/fileService.js +13 -2
  26. package/vscode/src/vs/platform/files/common/files.js +25 -5
  27. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
  28. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
  29. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
  30. package/vscode/src/vs/platform/request/common/request.js +1 -1
  31. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
  32. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
  33. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
  34. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
  35. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
  36. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
  37. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
  38. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
  39. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
  40. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
  41. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
  42. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
  43. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
  44. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
  45. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
  46. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
  47. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
  48. package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
  49. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
  50. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
  51. package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
  52. package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
  53. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
  54. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
  55. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
  56. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
  57. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
  58. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
  59. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
  60. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
  61. package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
  62. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
  63. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
  64. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  65. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
  66. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
  67. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
  68. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
  69. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
  70. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
  71. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
  72. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
  73. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
  74. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
  75. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
  76. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
  77. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
  78. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
  79. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
  80. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  81. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
  82. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
  83. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
  84. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
  85. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
  86. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
  87. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
  88. package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
  89. package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
  90. package/vscode/src/vs/workbench/common/configuration.js +25 -11
  91. package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
  92. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
  93. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  94. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
  95. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
  96. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
  97. package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
  98. package/vscode/src/vs/workbench/common/editor.js +26 -5
  99. package/vscode/src/vs/workbench/common/theme.js +676 -136
  100. package/vscode/src/vs/workbench/common/views.js +8 -3
  101. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
  102. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
  104. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
  105. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
  106. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
  108. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
  109. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
  110. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
  111. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
  112. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
  113. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
  125. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
  131. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
  132. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
  133. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
  137. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
  138. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
  139. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
  140. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
  141. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
  142. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
  143. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
  144. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
  145. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
  146. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
  147. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
  148. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
  149. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
  151. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
  152. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
  153. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
  156. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
  157. package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
  158. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
  159. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
  160. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
  161. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
  162. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
  163. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
  164. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
  166. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
  167. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
  168. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
  169. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
  170. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
  171. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
  172. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
  173. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
  174. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
  175. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
  176. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
  177. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
  178. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
  179. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
  180. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
  181. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
  182. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
  183. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
  184. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
  185. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
  186. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
  187. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
  188. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
  189. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
  190. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
  191. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
  192. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
  193. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
  194. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
  195. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
  196. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
  197. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
  198. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
  199. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
  200. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
  201. package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
  202. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
  203. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
  204. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
  205. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
  206. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
  207. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
  208. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
  209. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
  210. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
  211. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  212. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
  213. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
@@ -6,22 +6,24 @@ import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
6
  import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
7
7
  import { IRemoteAgentService } from '../services/remote/common/remoteAgentService.js';
8
8
  import { isWindows } from 'monaco-editor/esm/vs/base/common/platform.js';
9
- ( Object.freeze({
10
- 'id': 'application',
11
- 'order': 100,
12
- 'title': localizeWithPath('vs/workbench/common/configuration', 'applicationConfigurationTitle', "Application"),
13
- 'type': 'object'
14
- }));
15
9
  const workbenchConfigurationNodeBase = ( Object.freeze({
16
10
  'id': 'workbench',
17
11
  'order': 7,
18
- 'title': localizeWithPath('vs/workbench/common/configuration', 'workbenchConfigurationTitle', "Workbench"),
12
+ 'title': ( localizeWithPath(
13
+ 'vs/workbench/common/configuration',
14
+ 'workbenchConfigurationTitle',
15
+ "Workbench"
16
+ )),
19
17
  'type': 'object',
20
18
  }));
21
19
  const securityConfigurationNodeBase = ( Object.freeze({
22
20
  'id': 'security',
23
21
  'scope': 1 ,
24
- 'title': localizeWithPath('vs/workbench/common/configuration', 'securityConfigurationTitle', "Security"),
22
+ 'title': ( localizeWithPath(
23
+ 'vs/workbench/common/configuration',
24
+ 'securityConfigurationTitle',
25
+ "Security"
26
+ )),
25
27
  'type': 'object',
26
28
  'order': 7
27
29
  }));
@@ -59,16 +61,28 @@ let DynamicWorkbenchConfigurationWorkbenchContribution = class DynamicWorkbenchC
59
61
  'items': {
60
62
  'type': 'string',
61
63
  'pattern': '^[^\\\\]+$',
62
- 'patternErrorMessage': localizeWithPath('vs/workbench/common/configuration', 'security.allowedUNCHosts.patternErrorMessage', 'UNC host names must not contain backslashes.')
64
+ 'patternErrorMessage': ( localizeWithPath(
65
+ 'vs/workbench/common/configuration',
66
+ 'security.allowedUNCHosts.patternErrorMessage',
67
+ 'UNC host names must not contain backslashes.'
68
+ ))
63
69
  },
64
70
  'default': [],
65
- 'markdownDescription': localizeWithPath('vs/workbench/common/configuration', 'security.allowedUNCHosts', 'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'),
71
+ 'markdownDescription': ( localizeWithPath(
72
+ 'vs/workbench/common/configuration',
73
+ 'security.allowedUNCHosts',
74
+ 'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
75
+ )),
66
76
  'scope': 2
67
77
  },
68
78
  'security.restrictUNCAccess': {
69
79
  'type': 'boolean',
70
80
  'default': true,
71
- 'markdownDescription': localizeWithPath('vs/workbench/common/configuration', 'security.restrictUNCAccess', 'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'),
81
+ 'markdownDescription': ( localizeWithPath(
82
+ 'vs/workbench/common/configuration',
83
+ 'security.restrictUNCAccess',
84
+ 'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
85
+ )),
72
86
  'scope': 2
73
87
  }
74
88
  }
@@ -9,315 +9,331 @@ import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model
9
9
  import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
10
10
  import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
11
11
  var ResourceContextKey_1;
12
- const WorkbenchStateContext = ( new RawContextKey(
12
+ const WorkbenchStateContext = ( new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localizeWithPath(
13
+ 'vs/workbench/common/contextkeys',
13
14
  'workbenchState',
14
- undefined,
15
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'workbenchState', "The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)") }
16
- ));
17
- const WorkspaceFolderCountContext = ( new RawContextKey(
15
+ "The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
16
+ )) }));
17
+ const WorkspaceFolderCountContext = ( new RawContextKey('workspaceFolderCount', 0, ( localizeWithPath(
18
+ 'vs/workbench/common/contextkeys',
18
19
  'workspaceFolderCount',
19
- 0,
20
- localizeWithPath('vs/workbench/common/contextkeys', 'workspaceFolderCount', "The number of root folders in the workspace")
21
- ));
20
+ "The number of root folders in the workspace"
21
+ ))));
22
22
  const OpenFolderWorkspaceSupportContext = ( new RawContextKey('openFolderWorkspaceSupport', true, true));
23
23
  const EnterMultiRootWorkspaceSupportContext = ( new RawContextKey('enterMultiRootWorkspaceSupport', true, true));
24
24
  const EmptyWorkspaceSupportContext = ( new RawContextKey('emptyWorkspaceSupport', true, true));
25
- const DirtyWorkingCopiesContext = ( new RawContextKey(
25
+ const DirtyWorkingCopiesContext = ( new RawContextKey('dirtyWorkingCopies', false, ( localizeWithPath(
26
+ 'vs/workbench/common/contextkeys',
26
27
  'dirtyWorkingCopies',
27
- false,
28
- localizeWithPath('vs/workbench/common/contextkeys', 'dirtyWorkingCopies', "Whether there are any working copies with unsaved changes")
29
- ));
30
- const RemoteNameContext = ( new RawContextKey(
28
+ "Whether there are any working copies with unsaved changes"
29
+ ))));
30
+ const RemoteNameContext = ( new RawContextKey('remoteName', '', ( localizeWithPath(
31
+ 'vs/workbench/common/contextkeys',
31
32
  'remoteName',
32
- '',
33
- localizeWithPath('vs/workbench/common/contextkeys', 'remoteName', "The name of the remote the window is connected to or an empty string if not connected to any remote")
34
- ));
35
- const VirtualWorkspaceContext = ( new RawContextKey(
33
+ "The name of the remote the window is connected to or an empty string if not connected to any remote"
34
+ ))));
35
+ const VirtualWorkspaceContext = ( new RawContextKey('virtualWorkspace', '', ( localizeWithPath(
36
+ 'vs/workbench/common/contextkeys',
36
37
  'virtualWorkspace',
37
- '',
38
- localizeWithPath('vs/workbench/common/contextkeys', 'virtualWorkspace', "The scheme of the current workspace is from a virtual file system or an empty string.")
39
- ));
40
- const TemporaryWorkspaceContext = ( new RawContextKey(
38
+ "The scheme of the current workspace is from a virtual file system or an empty string."
39
+ ))));
40
+ const TemporaryWorkspaceContext = ( new RawContextKey('temporaryWorkspace', false, ( localizeWithPath(
41
+ 'vs/workbench/common/contextkeys',
41
42
  'temporaryWorkspace',
42
- false,
43
- localizeWithPath('vs/workbench/common/contextkeys', 'temporaryWorkspace', "The scheme of the current workspace is from a temporary file system.")
44
- ));
45
- const IsFullscreenContext = ( new RawContextKey(
43
+ "The scheme of the current workspace is from a temporary file system."
44
+ ))));
45
+ const IsFullscreenContext = ( new RawContextKey('isFullscreen', false, ( localizeWithPath(
46
+ 'vs/workbench/common/contextkeys',
46
47
  'isFullscreen',
47
- false,
48
- localizeWithPath('vs/workbench/common/contextkeys', 'isFullscreen', "Whether the window is in fullscreen mode")
49
- ));
48
+ "Whether the window is in fullscreen mode"
49
+ ))));
50
50
  const HasWebFileSystemAccess = ( new RawContextKey('hasWebFileSystemAccess', false, true));
51
- const EmbedderIdentifierContext = ( new RawContextKey(
51
+ const EmbedderIdentifierContext = ( new RawContextKey('embedderIdentifier', undefined, ( localizeWithPath(
52
+ 'vs/workbench/common/contextkeys',
52
53
  'embedderIdentifier',
53
- undefined,
54
- localizeWithPath('vs/workbench/common/contextkeys', 'embedderIdentifier', 'The identifier of the embedder according to the product service, if one is defined')
55
- ));
56
- const ActiveEditorDirtyContext = ( new RawContextKey(
54
+ 'The identifier of the embedder according to the product service, if one is defined'
55
+ ))));
56
+ const ActiveEditorDirtyContext = ( new RawContextKey('activeEditorIsDirty', false, ( localizeWithPath(
57
+ 'vs/workbench/common/contextkeys',
57
58
  'activeEditorIsDirty',
58
- false,
59
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsDirty', "Whether the active editor has unsaved changes")
60
- ));
61
- const ActiveEditorPinnedContext = ( new RawContextKey(
59
+ "Whether the active editor has unsaved changes"
60
+ ))));
61
+ const ActiveEditorPinnedContext = ( new RawContextKey('activeEditorIsNotPreview', false, ( localizeWithPath(
62
+ 'vs/workbench/common/contextkeys',
62
63
  'activeEditorIsNotPreview',
63
- false,
64
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsNotPreview', "Whether the active editor is not in preview mode")
65
- ));
66
- const ActiveEditorFirstInGroupContext = ( new RawContextKey(
64
+ "Whether the active editor is not in preview mode"
65
+ ))));
66
+ const ActiveEditorFirstInGroupContext = ( new RawContextKey('activeEditorIsFirstInGroup', false, ( localizeWithPath(
67
+ 'vs/workbench/common/contextkeys',
67
68
  'activeEditorIsFirstInGroup',
68
- false,
69
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsFirstInGroup', "Whether the active editor is the first one in its group")
70
- ));
71
- const ActiveEditorLastInGroupContext = ( new RawContextKey(
69
+ "Whether the active editor is the first one in its group"
70
+ ))));
71
+ const ActiveEditorLastInGroupContext = ( new RawContextKey('activeEditorIsLastInGroup', false, ( localizeWithPath(
72
+ 'vs/workbench/common/contextkeys',
72
73
  'activeEditorIsLastInGroup',
73
- false,
74
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsLastInGroup', "Whether the active editor is the last one in its group")
75
- ));
76
- const ActiveEditorStickyContext = ( new RawContextKey(
74
+ "Whether the active editor is the last one in its group"
75
+ ))));
76
+ const ActiveEditorStickyContext = ( new RawContextKey('activeEditorIsPinned', false, ( localizeWithPath(
77
+ 'vs/workbench/common/contextkeys',
77
78
  'activeEditorIsPinned',
78
- false,
79
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsPinned', "Whether the active editor is pinned")
80
- ));
81
- const ActiveEditorReadonlyContext = ( new RawContextKey(
79
+ "Whether the active editor is pinned"
80
+ ))));
81
+ const ActiveEditorReadonlyContext = ( new RawContextKey('activeEditorIsReadonly', false, ( localizeWithPath(
82
+ 'vs/workbench/common/contextkeys',
82
83
  'activeEditorIsReadonly',
83
- false,
84
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorIsReadonly', "Whether the active editor is read-only")
85
- ));
86
- const ActiveEditorCanToggleReadonlyContext = ( new RawContextKey(
84
+ "Whether the active editor is read-only"
85
+ ))));
86
+ const ActiveEditorCanToggleReadonlyContext = ( new RawContextKey('activeEditorCanToggleReadonly', true, ( localizeWithPath(
87
+ 'vs/workbench/common/contextkeys',
87
88
  'activeEditorCanToggleReadonly',
88
- true,
89
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorCanToggleReadonly', "Whether the active editor can toggle between being read-only or writeable")
90
- ));
91
- const ActiveEditorCanRevertContext = ( new RawContextKey(
89
+ "Whether the active editor can toggle between being read-only or writeable"
90
+ ))));
91
+ const ActiveEditorCanRevertContext = ( new RawContextKey('activeEditorCanRevert', false, ( localizeWithPath(
92
+ 'vs/workbench/common/contextkeys',
92
93
  'activeEditorCanRevert',
93
- false,
94
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorCanRevert', "Whether the active editor can revert")
95
- ));
94
+ "Whether the active editor can revert"
95
+ ))));
96
96
  const ActiveEditorCanSplitInGroupContext = ( new RawContextKey('activeEditorCanSplitInGroup', true));
97
- const ActiveEditorContext = ( new RawContextKey(
97
+ const ActiveEditorContext = ( new RawContextKey('activeEditor', null, { type: 'string', description: ( localizeWithPath(
98
+ 'vs/workbench/common/contextkeys',
98
99
  'activeEditor',
99
- null,
100
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'activeEditor', "The identifier of the active editor") }
101
- ));
102
- const ActiveEditorAvailableEditorIdsContext = ( new RawContextKey(
100
+ "The identifier of the active editor"
101
+ )) }));
102
+ const ActiveEditorAvailableEditorIdsContext = ( new RawContextKey('activeEditorAvailableEditorIds', '', ( localizeWithPath(
103
+ 'vs/workbench/common/contextkeys',
103
104
  'activeEditorAvailableEditorIds',
104
- '',
105
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorAvailableEditorIds', "The available editor identifiers that are usable for the active editor")
106
- ));
107
- const TextCompareEditorVisibleContext = ( new RawContextKey(
105
+ "The available editor identifiers that are usable for the active editor"
106
+ ))));
107
+ const TextCompareEditorVisibleContext = ( new RawContextKey('textCompareEditorVisible', false, ( localizeWithPath(
108
+ 'vs/workbench/common/contextkeys',
108
109
  'textCompareEditorVisible',
109
- false,
110
- localizeWithPath('vs/workbench/common/contextkeys', 'textCompareEditorVisible', "Whether a text compare editor is visible")
111
- ));
112
- const TextCompareEditorActiveContext = ( new RawContextKey(
110
+ "Whether a text compare editor is visible"
111
+ ))));
112
+ const TextCompareEditorActiveContext = ( new RawContextKey('textCompareEditorActive', false, ( localizeWithPath(
113
+ 'vs/workbench/common/contextkeys',
113
114
  'textCompareEditorActive',
114
- false,
115
- localizeWithPath('vs/workbench/common/contextkeys', 'textCompareEditorActive', "Whether a text compare editor is active")
116
- ));
117
- const SideBySideEditorActiveContext = ( new RawContextKey(
115
+ "Whether a text compare editor is active"
116
+ ))));
117
+ const SideBySideEditorActiveContext = ( new RawContextKey('sideBySideEditorActive', false, ( localizeWithPath(
118
+ 'vs/workbench/common/contextkeys',
118
119
  'sideBySideEditorActive',
119
- false,
120
- localizeWithPath('vs/workbench/common/contextkeys', 'sideBySideEditorActive', "Whether a side by side editor is active")
121
- ));
122
- const EditorGroupEditorsCountContext = ( new RawContextKey(
120
+ "Whether a side by side editor is active"
121
+ ))));
122
+ const EditorGroupEditorsCountContext = ( new RawContextKey('groupEditorsCount', 0, ( localizeWithPath(
123
+ 'vs/workbench/common/contextkeys',
123
124
  'groupEditorsCount',
124
- 0,
125
- localizeWithPath('vs/workbench/common/contextkeys', 'groupEditorsCount', "The number of opened editor groups")
126
- ));
127
- const ActiveEditorGroupEmptyContext = ( new RawContextKey(
125
+ "The number of opened editor groups"
126
+ ))));
127
+ const ActiveEditorGroupEmptyContext = ( new RawContextKey('activeEditorGroupEmpty', false, ( localizeWithPath(
128
+ 'vs/workbench/common/contextkeys',
128
129
  'activeEditorGroupEmpty',
129
- false,
130
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorGroupEmpty', "Whether the active editor group is empty")
131
- ));
132
- const ActiveEditorGroupIndexContext = ( new RawContextKey(
130
+ "Whether the active editor group is empty"
131
+ ))));
132
+ const ActiveEditorGroupIndexContext = ( new RawContextKey('activeEditorGroupIndex', 0, ( localizeWithPath(
133
+ 'vs/workbench/common/contextkeys',
133
134
  'activeEditorGroupIndex',
134
- 0,
135
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorGroupIndex', "The index of the active editor group")
136
- ));
137
- const ActiveEditorGroupLastContext = ( new RawContextKey(
135
+ "The index of the active editor group"
136
+ ))));
137
+ const ActiveEditorGroupLastContext = ( new RawContextKey('activeEditorGroupLast', false, ( localizeWithPath(
138
+ 'vs/workbench/common/contextkeys',
138
139
  'activeEditorGroupLast',
139
- false,
140
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorGroupLast', "Whether the active editor group is the last group")
141
- ));
142
- const ActiveEditorGroupLockedContext = ( new RawContextKey(
140
+ "Whether the active editor group is the last group"
141
+ ))));
142
+ const ActiveEditorGroupLockedContext = ( new RawContextKey('activeEditorGroupLocked', false, ( localizeWithPath(
143
+ 'vs/workbench/common/contextkeys',
143
144
  'activeEditorGroupLocked',
144
- false,
145
- localizeWithPath('vs/workbench/common/contextkeys', 'activeEditorGroupLocked', "Whether the active editor group is locked")
146
- ));
147
- const MultipleEditorGroupsContext = ( new RawContextKey(
145
+ "Whether the active editor group is locked"
146
+ ))));
147
+ const MultipleEditorGroupsContext = ( new RawContextKey('multipleEditorGroups', false, ( localizeWithPath(
148
+ 'vs/workbench/common/contextkeys',
148
149
  'multipleEditorGroups',
149
- false,
150
- localizeWithPath('vs/workbench/common/contextkeys', 'multipleEditorGroups', "Whether there are multiple editor groups opened")
151
- ));
152
- const EditorsVisibleContext = ( new RawContextKey(
150
+ "Whether there are multiple editor groups opened"
151
+ ))));
152
+ const EditorsVisibleContext = ( new RawContextKey('editorIsOpen', false, ( localizeWithPath(
153
+ 'vs/workbench/common/contextkeys',
153
154
  'editorIsOpen',
154
- false,
155
- localizeWithPath('vs/workbench/common/contextkeys', 'editorIsOpen', "Whether an editor is open")
156
- ));
157
- const InEditorZenModeContext = ( new RawContextKey(
155
+ "Whether an editor is open"
156
+ ))));
157
+ const InEditorZenModeContext = ( new RawContextKey('inZenMode', false, ( localizeWithPath(
158
+ 'vs/workbench/common/contextkeys',
158
159
  'inZenMode',
159
- false,
160
- localizeWithPath('vs/workbench/common/contextkeys', 'inZenMode', "Whether Zen mode is enabled")
161
- ));
162
- const IsCenteredLayoutContext = ( new RawContextKey(
160
+ "Whether Zen mode is enabled"
161
+ ))));
162
+ const IsCenteredLayoutContext = ( new RawContextKey('isCenteredLayout', false, ( localizeWithPath(
163
+ 'vs/workbench/common/contextkeys',
163
164
  'isCenteredLayout',
164
- false,
165
- localizeWithPath('vs/workbench/common/contextkeys', 'isCenteredLayout', "Whether centered layout is enabled")
166
- ));
167
- const SplitEditorsVertically = ( new RawContextKey(
165
+ "Whether centered layout is enabled"
166
+ ))));
167
+ const SplitEditorsVertically = ( new RawContextKey('splitEditorsVertically', false, ( localizeWithPath(
168
+ 'vs/workbench/common/contextkeys',
168
169
  'splitEditorsVertically',
169
- false,
170
- localizeWithPath('vs/workbench/common/contextkeys', 'splitEditorsVertically', "Whether editors split vertically")
171
- ));
172
- const EditorAreaVisibleContext = ( new RawContextKey(
170
+ "Whether editors split vertically"
171
+ ))));
172
+ const EditorAreaVisibleContext = ( new RawContextKey('editorAreaVisible', true, ( localizeWithPath(
173
+ 'vs/workbench/common/contextkeys',
173
174
  'editorAreaVisible',
174
- true,
175
- localizeWithPath('vs/workbench/common/contextkeys', 'editorAreaVisible', "Whether the editor area is visible")
176
- ));
177
- const EditorTabsVisibleContext = ( new RawContextKey(
175
+ "Whether the editor area is visible"
176
+ ))));
177
+ const EditorTabsVisibleContext = ( new RawContextKey('editorTabsVisible', true, ( localizeWithPath(
178
+ 'vs/workbench/common/contextkeys',
178
179
  'editorTabsVisible',
179
- true,
180
- localizeWithPath('vs/workbench/common/contextkeys', 'editorTabsVisible', "Whether editor tabs are visible")
181
- ));
180
+ "Whether editor tabs are visible"
181
+ ))));
182
182
  const EditorPinnedAndUnpinnedTabsContext = ( new RawContextKey('editorPinnedAndUnpinnedTabsVisible', false, true));
183
- const SideBarVisibleContext = ( new RawContextKey(
183
+ const SideBarVisibleContext = ( new RawContextKey('sideBarVisible', false, ( localizeWithPath(
184
+ 'vs/workbench/common/contextkeys',
184
185
  'sideBarVisible',
185
- false,
186
- localizeWithPath('vs/workbench/common/contextkeys', 'sideBarVisible', "Whether the sidebar is visible")
187
- ));
188
- const SidebarFocusContext = ( new RawContextKey(
186
+ "Whether the sidebar is visible"
187
+ ))));
188
+ const SidebarFocusContext = ( new RawContextKey('sideBarFocus', false, ( localizeWithPath(
189
+ 'vs/workbench/common/contextkeys',
189
190
  'sideBarFocus',
190
- false,
191
- localizeWithPath('vs/workbench/common/contextkeys', 'sideBarFocus', "Whether the sidebar has keyboard focus")
192
- ));
193
- const ActiveViewletContext = ( new RawContextKey(
191
+ "Whether the sidebar has keyboard focus"
192
+ ))));
193
+ const ActiveViewletContext = ( new RawContextKey('activeViewlet', '', ( localizeWithPath(
194
+ 'vs/workbench/common/contextkeys',
194
195
  'activeViewlet',
195
- '',
196
- localizeWithPath('vs/workbench/common/contextkeys', 'activeViewlet', "The identifier of the active viewlet")
197
- ));
198
- const StatusBarFocused = ( new RawContextKey(
196
+ "The identifier of the active viewlet"
197
+ ))));
198
+ const StatusBarFocused = ( new RawContextKey('statusBarFocused', false, ( localizeWithPath(
199
+ 'vs/workbench/common/contextkeys',
199
200
  'statusBarFocused',
200
- false,
201
- localizeWithPath('vs/workbench/common/contextkeys', 'statusBarFocused', "Whether the status bar has keyboard focus")
202
- ));
203
- const BannerFocused = ( new RawContextKey(
201
+ "Whether the status bar has keyboard focus"
202
+ ))));
203
+ const BannerFocused = ( new RawContextKey('bannerFocused', false, ( localizeWithPath(
204
+ 'vs/workbench/common/contextkeys',
204
205
  'bannerFocused',
205
- false,
206
- localizeWithPath('vs/workbench/common/contextkeys', 'bannerFocused', "Whether the banner has keyboard focus")
207
- ));
208
- const NotificationFocusedContext = ( new RawContextKey(
206
+ "Whether the banner has keyboard focus"
207
+ ))));
208
+ const NotificationFocusedContext = ( new RawContextKey('notificationFocus', true, ( localizeWithPath(
209
+ 'vs/workbench/common/contextkeys',
209
210
  'notificationFocus',
210
- true,
211
- localizeWithPath('vs/workbench/common/contextkeys', 'notificationFocus', "Whether a notification has keyboard focus")
212
- ));
213
- const NotificationsCenterVisibleContext = ( new RawContextKey(
211
+ "Whether a notification has keyboard focus"
212
+ ))));
213
+ const NotificationsCenterVisibleContext = ( new RawContextKey('notificationCenterVisible', false, ( localizeWithPath(
214
+ 'vs/workbench/common/contextkeys',
214
215
  'notificationCenterVisible',
215
- false,
216
- localizeWithPath('vs/workbench/common/contextkeys', 'notificationCenterVisible', "Whether the notifications center is visible")
217
- ));
218
- const NotificationsToastsVisibleContext = ( new RawContextKey(
216
+ "Whether the notifications center is visible"
217
+ ))));
218
+ const NotificationsToastsVisibleContext = ( new RawContextKey('notificationToastsVisible', false, ( localizeWithPath(
219
+ 'vs/workbench/common/contextkeys',
219
220
  'notificationToastsVisible',
220
- false,
221
- localizeWithPath('vs/workbench/common/contextkeys', 'notificationToastsVisible', "Whether a notification toast is visible")
222
- ));
223
- const ActiveAuxiliaryContext = ( new RawContextKey(
221
+ "Whether a notification toast is visible"
222
+ ))));
223
+ const ActiveAuxiliaryContext = ( new RawContextKey('activeAuxiliary', '', ( localizeWithPath(
224
+ 'vs/workbench/common/contextkeys',
224
225
  'activeAuxiliary',
225
- '',
226
- localizeWithPath('vs/workbench/common/contextkeys', 'activeAuxiliary', "The identifier of the active auxiliary panel")
227
- ));
228
- const AuxiliaryBarFocusContext = ( new RawContextKey(
226
+ "The identifier of the active auxiliary panel"
227
+ ))));
228
+ const AuxiliaryBarFocusContext = ( new RawContextKey('auxiliaryBarFocus', false, ( localizeWithPath(
229
+ 'vs/workbench/common/contextkeys',
229
230
  'auxiliaryBarFocus',
230
- false,
231
- localizeWithPath('vs/workbench/common/contextkeys', 'auxiliaryBarFocus', "Whether the auxiliary bar has keyboard focus")
232
- ));
233
- const AuxiliaryBarVisibleContext = ( new RawContextKey(
231
+ "Whether the auxiliary bar has keyboard focus"
232
+ ))));
233
+ const AuxiliaryBarVisibleContext = ( new RawContextKey('auxiliaryBarVisible', false, ( localizeWithPath(
234
+ 'vs/workbench/common/contextkeys',
234
235
  'auxiliaryBarVisible',
235
- false,
236
- localizeWithPath('vs/workbench/common/contextkeys', 'auxiliaryBarVisible', "Whether the auxiliary bar is visible")
237
- ));
238
- const ActivePanelContext = ( new RawContextKey(
236
+ "Whether the auxiliary bar is visible"
237
+ ))));
238
+ const ActivePanelContext = ( new RawContextKey('activePanel', '', ( localizeWithPath(
239
+ 'vs/workbench/common/contextkeys',
239
240
  'activePanel',
240
- '',
241
- localizeWithPath('vs/workbench/common/contextkeys', 'activePanel', "The identifier of the active panel")
242
- ));
243
- const PanelFocusContext = ( new RawContextKey(
241
+ "The identifier of the active panel"
242
+ ))));
243
+ const PanelFocusContext = ( new RawContextKey('panelFocus', false, ( localizeWithPath(
244
+ 'vs/workbench/common/contextkeys',
244
245
  'panelFocus',
245
- false,
246
- localizeWithPath('vs/workbench/common/contextkeys', 'panelFocus', "Whether the panel has keyboard focus")
247
- ));
248
- const PanelPositionContext = ( new RawContextKey(
246
+ "Whether the panel has keyboard focus"
247
+ ))));
248
+ const PanelPositionContext = ( new RawContextKey('panelPosition', 'bottom', ( localizeWithPath(
249
+ 'vs/workbench/common/contextkeys',
249
250
  'panelPosition',
250
- 'bottom',
251
- localizeWithPath('vs/workbench/common/contextkeys', 'panelPosition', "The position of the panel, always 'bottom'")
252
- ));
253
- const PanelAlignmentContext = ( new RawContextKey(
251
+ "The position of the panel, always 'bottom'"
252
+ ))));
253
+ const PanelAlignmentContext = ( new RawContextKey('panelAlignment', 'center', ( localizeWithPath(
254
+ 'vs/workbench/common/contextkeys',
254
255
  'panelAlignment',
255
- 'center',
256
- localizeWithPath('vs/workbench/common/contextkeys', 'panelAlignment', "The alignment of the panel, either 'center', 'left', 'right' or 'justify'")
257
- ));
258
- const PanelVisibleContext = ( new RawContextKey(
256
+ "The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
257
+ ))));
258
+ const PanelVisibleContext = ( new RawContextKey('panelVisible', false, ( localizeWithPath(
259
+ 'vs/workbench/common/contextkeys',
259
260
  'panelVisible',
260
- false,
261
- localizeWithPath('vs/workbench/common/contextkeys', 'panelVisible', "Whether the panel is visible")
262
- ));
263
- const PanelMaximizedContext = ( new RawContextKey(
261
+ "Whether the panel is visible"
262
+ ))));
263
+ const PanelMaximizedContext = ( new RawContextKey('panelMaximized', false, ( localizeWithPath(
264
+ 'vs/workbench/common/contextkeys',
264
265
  'panelMaximized',
265
- false,
266
- localizeWithPath('vs/workbench/common/contextkeys', 'panelMaximized', "Whether the panel is maximized")
267
- ));
268
- const FocusedViewContext = ( new RawContextKey(
266
+ "Whether the panel is maximized"
267
+ ))));
268
+ const FocusedViewContext = ( new RawContextKey('focusedView', '', ( localizeWithPath(
269
+ 'vs/workbench/common/contextkeys',
269
270
  'focusedView',
270
- '',
271
- localizeWithPath('vs/workbench/common/contextkeys', 'focusedView', "The identifier of the view that has keyboard focus")
272
- ));
271
+ "The identifier of the view that has keyboard focus"
272
+ ))));
273
273
  function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
274
274
  function getEnabledViewContainerContextKey(viewContainerId) { return `viewContainer.${viewContainerId}.enabled`; }
275
275
  let ResourceContextKey = class ResourceContextKey {
276
276
  static { ResourceContextKey_1 = this; }
277
- static { this.Scheme = ( new RawContextKey(
277
+ static { this.Scheme = ( new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localizeWithPath(
278
+ 'vs/workbench/common/contextkeys',
278
279
  'resourceScheme',
279
- undefined,
280
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceScheme', "The scheme of the resource") }
281
- )); }
280
+ "The scheme of the resource"
281
+ )) })); }
282
282
  static { this.Filename = ( new RawContextKey(
283
283
  'resourceFilename',
284
284
  undefined,
285
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceFilename', "The file name of the resource") }
285
+ { type: 'string', description: ( localizeWithPath(
286
+ 'vs/workbench/common/contextkeys',
287
+ 'resourceFilename',
288
+ "The file name of the resource"
289
+ )) }
286
290
  )); }
287
291
  static { this.Dirname = ( new RawContextKey(
288
292
  'resourceDirname',
289
293
  undefined,
290
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceDirname', "The folder name the resource is contained in") }
294
+ { type: 'string', description: ( localizeWithPath(
295
+ 'vs/workbench/common/contextkeys',
296
+ 'resourceDirname',
297
+ "The folder name the resource is contained in"
298
+ )) }
291
299
  )); }
292
- static { this.Path = ( new RawContextKey(
300
+ static { this.Path = ( new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localizeWithPath(
301
+ 'vs/workbench/common/contextkeys',
293
302
  'resourcePath',
294
- undefined,
295
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourcePath', "The full path of the resource") }
296
- )); }
297
- static { this.LangId = ( new RawContextKey(
303
+ "The full path of the resource"
304
+ )) })); }
305
+ static { this.LangId = ( new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localizeWithPath(
306
+ 'vs/workbench/common/contextkeys',
298
307
  'resourceLangId',
299
- undefined,
300
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceLangId', "The language identifier of the resource") }
301
- )); }
302
- static { this.Resource = ( new RawContextKey(
308
+ "The language identifier of the resource"
309
+ )) })); }
310
+ static { this.Resource = ( new RawContextKey('resource', undefined, { type: 'URI', description: ( localizeWithPath(
311
+ 'vs/workbench/common/contextkeys',
303
312
  'resource',
304
- undefined,
305
- { type: 'URI', description: localizeWithPath('vs/workbench/common/contextkeys', 'resource', "The full value of the resource including scheme and path") }
306
- )); }
313
+ "The full value of the resource including scheme and path"
314
+ )) })); }
307
315
  static { this.Extension = ( new RawContextKey(
308
316
  'resourceExtname',
309
317
  undefined,
310
- { type: 'string', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceExtname', "The extension name of the resource") }
318
+ { type: 'string', description: ( localizeWithPath(
319
+ 'vs/workbench/common/contextkeys',
320
+ 'resourceExtname',
321
+ "The extension name of the resource"
322
+ )) }
311
323
  )); }
312
- static { this.HasResource = ( new RawContextKey(
324
+ static { this.HasResource = ( new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localizeWithPath(
325
+ 'vs/workbench/common/contextkeys',
313
326
  'resourceSet',
314
- undefined,
315
- { type: 'boolean', description: localizeWithPath('vs/workbench/common/contextkeys', 'resourceSet', "Whether a resource is present or not") }
316
- )); }
327
+ "Whether a resource is present or not"
328
+ )) })); }
317
329
  static { this.IsFileSystemResource = ( new RawContextKey(
318
330
  'isFileSystemResource',
319
331
  undefined,
320
- { type: 'boolean', description: localizeWithPath('vs/workbench/common/contextkeys', 'isFileSystemResource', "Whether the resource is backed by a file system provider") }
332
+ { type: 'boolean', description: ( localizeWithPath(
333
+ 'vs/workbench/common/contextkeys',
334
+ 'isFileSystemResource',
335
+ "Whether the resource is backed by a file system provider"
336
+ )) }
321
337
  )); }
322
338
  constructor(_contextKeyService, _fileService, _languageService, _modelService) {
323
339
  this._contextKeyService = _contextKeyService;