@codingame/monaco-vscode-api 1.83.5 → 1.83.6

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 (212) hide show
  1. package/lifecycle.js +3 -1
  2. package/missing-services.js +32 -28
  3. package/monaco-editor-treemending.patch +786 -760
  4. package/monaco.js +1 -0
  5. package/package.json +1 -1
  6. package/service-override/extensions.js +5 -5
  7. package/service-override/files.js +37 -13
  8. package/service-override/keybindings.js +10 -4
  9. package/service-override/layout.js +1 -3
  10. package/services.d.ts +13 -2
  11. package/services.js +35 -5
  12. package/vscode/src/vs/base/browser/broadcast.js +52 -0
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
  15. package/vscode/src/vs/base/common/date.js +244 -54
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
  17. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
  20. package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
  21. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
  22. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
  23. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
  24. package/vscode/src/vs/platform/files/common/fileService.js +13 -2
  25. package/vscode/src/vs/platform/files/common/files.js +25 -5
  26. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
  27. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
  28. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
  29. package/vscode/src/vs/platform/request/common/request.js +1 -1
  30. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
  31. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
  32. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
  33. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
  34. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
  35. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
  36. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
  37. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
  38. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
  39. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
  40. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
  41. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
  42. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
  44. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
  46. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
  47. package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
  48. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
  49. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
  50. package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
  51. package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
  52. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
  53. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
  54. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
  55. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
  56. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
  57. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
  58. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
  59. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
  60. package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
  61. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
  62. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
  63. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  64. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
  65. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
  66. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
  67. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
  68. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
  69. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
  70. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
  71. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
  72. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
  73. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
  74. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
  75. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
  76. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
  77. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
  78. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
  79. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  80. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
  81. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
  82. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
  83. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
  84. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
  85. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
  86. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
  87. package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
  88. package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
  89. package/vscode/src/vs/workbench/common/configuration.js +25 -11
  90. package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
  91. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
  92. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  93. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
  94. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
  95. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
  96. package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
  97. package/vscode/src/vs/workbench/common/editor.js +26 -5
  98. package/vscode/src/vs/workbench/common/theme.js +676 -136
  99. package/vscode/src/vs/workbench/common/views.js +8 -3
  100. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
  101. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
  102. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
  104. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
  105. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
  106. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
  108. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
  109. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
  110. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
  111. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
  112. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
  113. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
  124. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
  125. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
  131. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
  133. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
  136. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
  137. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
  138. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
  139. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
  140. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
  141. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
  142. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
  143. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
  144. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
  145. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
  146. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
  147. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
  148. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
  149. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
  151. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
  152. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
  153. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
  156. package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
  157. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
  158. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
  159. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
  160. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
  161. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
  162. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
  163. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
  164. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
  166. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
  167. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
  168. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
  169. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
  170. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
  171. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
  172. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
  173. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
  174. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
  175. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
  176. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
  177. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
  178. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
  179. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
  180. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
  181. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
  182. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
  183. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
  184. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
  185. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
  186. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
  187. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
  188. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
  189. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
  190. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
  191. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
  192. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
  193. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
  194. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
  195. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
  196. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
  197. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
  198. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
  199. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
  200. package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
  201. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
  202. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
  203. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
  204. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
  205. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
  206. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
  207. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
  208. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
  209. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
  210. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  211. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
  212. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
@@ -156,25 +156,49 @@ class TokenClassificationRegistry {
156
156
  definitions: {
157
157
  style: {
158
158
  type: 'object',
159
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.settings', 'Colors and styles for the token.'),
159
+ description: ( nls.localizeWithPath(
160
+ 'vs/platform/theme/common/tokenClassificationRegistry',
161
+ 'schema.token.settings',
162
+ 'Colors and styles for the token.'
163
+ )),
160
164
  properties: {
161
165
  foreground: {
162
166
  type: 'string',
163
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.foreground', 'Foreground color for the token.'),
167
+ description: ( nls.localizeWithPath(
168
+ 'vs/platform/theme/common/tokenClassificationRegistry',
169
+ 'schema.token.foreground',
170
+ 'Foreground color for the token.'
171
+ )),
164
172
  format: 'color-hex',
165
173
  default: '#ff0000'
166
174
  },
167
175
  background: {
168
176
  type: 'string',
169
- deprecationMessage: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.background.warning', 'Token background colors are currently not supported.')
177
+ deprecationMessage: ( nls.localizeWithPath(
178
+ 'vs/platform/theme/common/tokenClassificationRegistry',
179
+ 'schema.token.background.warning',
180
+ 'Token background colors are currently not supported.'
181
+ ))
170
182
  },
171
183
  fontStyle: {
172
184
  type: 'string',
173
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.fontStyle', 'Sets the all font styles of the rule: \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. All styles that are not listed are unset. The empty string unsets all styles.'),
185
+ description: ( nls.localizeWithPath(
186
+ 'vs/platform/theme/common/tokenClassificationRegistry',
187
+ 'schema.token.fontStyle',
188
+ 'Sets the all font styles of the rule: \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. All styles that are not listed are unset. The empty string unsets all styles.'
189
+ )),
174
190
  pattern: fontStylePattern,
175
- patternErrorMessage: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.fontStyle.error', 'Font style must be \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. The empty string unsets all styles.'),
191
+ patternErrorMessage: ( nls.localizeWithPath(
192
+ 'vs/platform/theme/common/tokenClassificationRegistry',
193
+ 'schema.fontStyle.error',
194
+ 'Font style must be \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. The empty string unsets all styles.'
195
+ )),
176
196
  defaultSnippets: [
177
- { label: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.fontStyle.none', 'None (clear inherited style)'), bodyText: '""' },
197
+ { label: ( nls.localizeWithPath(
198
+ 'vs/platform/theme/common/tokenClassificationRegistry',
199
+ 'schema.token.fontStyle.none',
200
+ 'None (clear inherited style)'
201
+ )), bodyText: '""' },
178
202
  { body: 'italic' },
179
203
  { body: 'bold' },
180
204
  { body: 'underline' },
@@ -194,19 +218,35 @@ class TokenClassificationRegistry {
194
218
  },
195
219
  bold: {
196
220
  type: 'boolean',
197
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.bold', 'Sets or unsets the font style to bold. Note, the presence of \'fontStyle\' overrides this setting.'),
221
+ description: ( nls.localizeWithPath(
222
+ 'vs/platform/theme/common/tokenClassificationRegistry',
223
+ 'schema.token.bold',
224
+ 'Sets or unsets the font style to bold. Note, the presence of \'fontStyle\' overrides this setting.'
225
+ )),
198
226
  },
199
227
  italic: {
200
228
  type: 'boolean',
201
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.italic', 'Sets or unsets the font style to italic. Note, the presence of \'fontStyle\' overrides this setting.'),
229
+ description: ( nls.localizeWithPath(
230
+ 'vs/platform/theme/common/tokenClassificationRegistry',
231
+ 'schema.token.italic',
232
+ 'Sets or unsets the font style to italic. Note, the presence of \'fontStyle\' overrides this setting.'
233
+ )),
202
234
  },
203
235
  underline: {
204
236
  type: 'boolean',
205
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.underline', 'Sets or unsets the font style to underline. Note, the presence of \'fontStyle\' overrides this setting.'),
237
+ description: ( nls.localizeWithPath(
238
+ 'vs/platform/theme/common/tokenClassificationRegistry',
239
+ 'schema.token.underline',
240
+ 'Sets or unsets the font style to underline. Note, the presence of \'fontStyle\' overrides this setting.'
241
+ )),
206
242
  },
207
243
  strikethrough: {
208
244
  type: 'boolean',
209
- description: nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'schema.token.strikethrough', 'Sets or unsets the font style to strikethrough. Note, the presence of \'fontStyle\' overrides this setting.'),
245
+ description: ( nls.localizeWithPath(
246
+ 'vs/platform/theme/common/tokenClassificationRegistry',
247
+ 'schema.token.strikethrough',
248
+ 'Sets or unsets the font style to strikethrough. Note, the presence of \'fontStyle\' overrides this setting.'
249
+ )),
210
250
  }
211
251
  },
212
252
  defaultSnippets: [{ body: { foreground: '${1:#FF0000}', fontStyle: '${2:bold}' } }]
@@ -369,38 +409,166 @@ function createDefaultTokenClassificationRegistry() {
369
409
  console.log(e);
370
410
  }
371
411
  }
372
- registerTokenType('comment', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'comment', "Style for comments."), [['comment']]);
373
- registerTokenType('string', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'string', "Style for strings."), [['string']]);
374
- registerTokenType('keyword', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'keyword', "Style for keywords."), [['keyword.control']]);
375
- registerTokenType('number', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'number', "Style for numbers."), [['constant.numeric']]);
376
- registerTokenType('regexp', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'regexp', "Style for expressions."), [['constant.regexp']]);
377
- registerTokenType('operator', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'operator', "Style for operators."), [['keyword.operator']]);
378
- registerTokenType('namespace', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'namespace', "Style for namespaces."), [['entity.name.namespace']]);
379
- registerTokenType('type', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'type', "Style for types."), [['entity.name.type'], ['support.type']]);
380
- registerTokenType('struct', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'struct', "Style for structs."), [['entity.name.type.struct']]);
381
- registerTokenType('class', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'class', "Style for classes."), [['entity.name.type.class'], ['support.class']]);
382
- registerTokenType('interface', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'interface', "Style for interfaces."), [['entity.name.type.interface']]);
383
- registerTokenType('enum', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'enum', "Style for enums."), [['entity.name.type.enum']]);
384
- registerTokenType('typeParameter', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'typeParameter', "Style for type parameters."), [['entity.name.type.parameter']]);
385
- registerTokenType('function', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'function', "Style for functions"), [['entity.name.function'], ['support.function']]);
386
- registerTokenType('member', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'member', "Style for member functions"), [], 'method', 'Deprecated use `method` instead');
387
- registerTokenType('method', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'method', "Style for method (member functions)"), [['entity.name.function.member'], ['support.function']]);
388
- registerTokenType('macro', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'macro', "Style for macros."), [['entity.name.function.preprocessor']]);
389
- registerTokenType('variable', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'variable', "Style for variables."), [['variable.other.readwrite'], ['entity.name.variable']]);
390
- registerTokenType('parameter', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'parameter', "Style for parameters."), [['variable.parameter']]);
391
- registerTokenType('property', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'property', "Style for properties."), [['variable.other.property']]);
392
- registerTokenType('enumMember', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'enumMember', "Style for enum members."), [['variable.other.enummember']]);
393
- registerTokenType('event', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'event', "Style for events."), [['variable.other.event']]);
394
- registerTokenType('decorator', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'decorator', "Style for decorators & annotations."), [['entity.name.decorator'], ['entity.name.function']]);
395
- registerTokenType('label', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'labels', "Style for labels. "), undefined);
396
- registry.registerTokenModifier('declaration', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'declaration', "Style for all symbol declarations."), undefined);
397
- registry.registerTokenModifier('documentation', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'documentation', "Style to use for references in documentation."), undefined);
398
- registry.registerTokenModifier('static', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'static', "Style to use for symbols that are static."), undefined);
399
- registry.registerTokenModifier('abstract', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'abstract', "Style to use for symbols that are abstract."), undefined);
400
- registry.registerTokenModifier('deprecated', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'deprecated', "Style to use for symbols that are deprecated."), undefined);
401
- registry.registerTokenModifier('modification', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'modification', "Style to use for write accesses."), undefined);
402
- registry.registerTokenModifier('async', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'async', "Style to use for symbols that are async."), undefined);
403
- registry.registerTokenModifier('readonly', nls.localizeWithPath('vs/platform/theme/common/tokenClassificationRegistry', 'readonly', "Style to use for symbols that are read-only."), undefined);
412
+ registerTokenType('comment', ( nls.localizeWithPath(
413
+ 'vs/platform/theme/common/tokenClassificationRegistry',
414
+ 'comment',
415
+ "Style for comments."
416
+ )), [['comment']]);
417
+ registerTokenType('string', ( nls.localizeWithPath(
418
+ 'vs/platform/theme/common/tokenClassificationRegistry',
419
+ 'string',
420
+ "Style for strings."
421
+ )), [['string']]);
422
+ registerTokenType('keyword', ( nls.localizeWithPath(
423
+ 'vs/platform/theme/common/tokenClassificationRegistry',
424
+ 'keyword',
425
+ "Style for keywords."
426
+ )), [['keyword.control']]);
427
+ registerTokenType('number', ( nls.localizeWithPath(
428
+ 'vs/platform/theme/common/tokenClassificationRegistry',
429
+ 'number',
430
+ "Style for numbers."
431
+ )), [['constant.numeric']]);
432
+ registerTokenType('regexp', ( nls.localizeWithPath(
433
+ 'vs/platform/theme/common/tokenClassificationRegistry',
434
+ 'regexp',
435
+ "Style for expressions."
436
+ )), [['constant.regexp']]);
437
+ registerTokenType('operator', ( nls.localizeWithPath(
438
+ 'vs/platform/theme/common/tokenClassificationRegistry',
439
+ 'operator',
440
+ "Style for operators."
441
+ )), [['keyword.operator']]);
442
+ registerTokenType('namespace', ( nls.localizeWithPath(
443
+ 'vs/platform/theme/common/tokenClassificationRegistry',
444
+ 'namespace',
445
+ "Style for namespaces."
446
+ )), [['entity.name.namespace']]);
447
+ registerTokenType('type', ( nls.localizeWithPath(
448
+ 'vs/platform/theme/common/tokenClassificationRegistry',
449
+ 'type',
450
+ "Style for types."
451
+ )), [['entity.name.type'], ['support.type']]);
452
+ registerTokenType('struct', ( nls.localizeWithPath(
453
+ 'vs/platform/theme/common/tokenClassificationRegistry',
454
+ 'struct',
455
+ "Style for structs."
456
+ )), [['entity.name.type.struct']]);
457
+ registerTokenType('class', ( nls.localizeWithPath(
458
+ 'vs/platform/theme/common/tokenClassificationRegistry',
459
+ 'class',
460
+ "Style for classes."
461
+ )), [['entity.name.type.class'], ['support.class']]);
462
+ registerTokenType('interface', ( nls.localizeWithPath(
463
+ 'vs/platform/theme/common/tokenClassificationRegistry',
464
+ 'interface',
465
+ "Style for interfaces."
466
+ )), [['entity.name.type.interface']]);
467
+ registerTokenType('enum', ( nls.localizeWithPath(
468
+ 'vs/platform/theme/common/tokenClassificationRegistry',
469
+ 'enum',
470
+ "Style for enums."
471
+ )), [['entity.name.type.enum']]);
472
+ registerTokenType('typeParameter', ( nls.localizeWithPath(
473
+ 'vs/platform/theme/common/tokenClassificationRegistry',
474
+ 'typeParameter',
475
+ "Style for type parameters."
476
+ )), [['entity.name.type.parameter']]);
477
+ registerTokenType('function', ( nls.localizeWithPath(
478
+ 'vs/platform/theme/common/tokenClassificationRegistry',
479
+ 'function',
480
+ "Style for functions"
481
+ )), [['entity.name.function'], ['support.function']]);
482
+ registerTokenType('member', ( nls.localizeWithPath(
483
+ 'vs/platform/theme/common/tokenClassificationRegistry',
484
+ 'member',
485
+ "Style for member functions"
486
+ )), [], 'method', 'Deprecated use `method` instead');
487
+ registerTokenType('method', ( nls.localizeWithPath(
488
+ 'vs/platform/theme/common/tokenClassificationRegistry',
489
+ 'method',
490
+ "Style for method (member functions)"
491
+ )), [['entity.name.function.member'], ['support.function']]);
492
+ registerTokenType('macro', ( nls.localizeWithPath(
493
+ 'vs/platform/theme/common/tokenClassificationRegistry',
494
+ 'macro',
495
+ "Style for macros."
496
+ )), [['entity.name.function.preprocessor']]);
497
+ registerTokenType('variable', ( nls.localizeWithPath(
498
+ 'vs/platform/theme/common/tokenClassificationRegistry',
499
+ 'variable',
500
+ "Style for variables."
501
+ )), [['variable.other.readwrite'], ['entity.name.variable']]);
502
+ registerTokenType('parameter', ( nls.localizeWithPath(
503
+ 'vs/platform/theme/common/tokenClassificationRegistry',
504
+ 'parameter',
505
+ "Style for parameters."
506
+ )), [['variable.parameter']]);
507
+ registerTokenType('property', ( nls.localizeWithPath(
508
+ 'vs/platform/theme/common/tokenClassificationRegistry',
509
+ 'property',
510
+ "Style for properties."
511
+ )), [['variable.other.property']]);
512
+ registerTokenType('enumMember', ( nls.localizeWithPath(
513
+ 'vs/platform/theme/common/tokenClassificationRegistry',
514
+ 'enumMember',
515
+ "Style for enum members."
516
+ )), [['variable.other.enummember']]);
517
+ registerTokenType('event', ( nls.localizeWithPath(
518
+ 'vs/platform/theme/common/tokenClassificationRegistry',
519
+ 'event',
520
+ "Style for events."
521
+ )), [['variable.other.event']]);
522
+ registerTokenType('decorator', ( nls.localizeWithPath(
523
+ 'vs/platform/theme/common/tokenClassificationRegistry',
524
+ 'decorator',
525
+ "Style for decorators & annotations."
526
+ )), [['entity.name.decorator'], ['entity.name.function']]);
527
+ registerTokenType('label', ( nls.localizeWithPath(
528
+ 'vs/platform/theme/common/tokenClassificationRegistry',
529
+ 'labels',
530
+ "Style for labels. "
531
+ )), undefined);
532
+ registry.registerTokenModifier('declaration', ( nls.localizeWithPath(
533
+ 'vs/platform/theme/common/tokenClassificationRegistry',
534
+ 'declaration',
535
+ "Style for all symbol declarations."
536
+ )), undefined);
537
+ registry.registerTokenModifier('documentation', ( nls.localizeWithPath(
538
+ 'vs/platform/theme/common/tokenClassificationRegistry',
539
+ 'documentation',
540
+ "Style to use for references in documentation."
541
+ )), undefined);
542
+ registry.registerTokenModifier('static', ( nls.localizeWithPath(
543
+ 'vs/platform/theme/common/tokenClassificationRegistry',
544
+ 'static',
545
+ "Style to use for symbols that are static."
546
+ )), undefined);
547
+ registry.registerTokenModifier('abstract', ( nls.localizeWithPath(
548
+ 'vs/platform/theme/common/tokenClassificationRegistry',
549
+ 'abstract',
550
+ "Style to use for symbols that are abstract."
551
+ )), undefined);
552
+ registry.registerTokenModifier('deprecated', ( nls.localizeWithPath(
553
+ 'vs/platform/theme/common/tokenClassificationRegistry',
554
+ 'deprecated',
555
+ "Style to use for symbols that are deprecated."
556
+ )), undefined);
557
+ registry.registerTokenModifier('modification', ( nls.localizeWithPath(
558
+ 'vs/platform/theme/common/tokenClassificationRegistry',
559
+ 'modification',
560
+ "Style to use for write accesses."
561
+ )), undefined);
562
+ registry.registerTokenModifier('async', ( nls.localizeWithPath(
563
+ 'vs/platform/theme/common/tokenClassificationRegistry',
564
+ 'async',
565
+ "Style to use for symbols that are async."
566
+ )), undefined);
567
+ registry.registerTokenModifier('readonly', ( nls.localizeWithPath(
568
+ 'vs/platform/theme/common/tokenClassificationRegistry',
569
+ 'readonly',
570
+ "Style to use for symbols that are read-only."
571
+ )), undefined);
404
572
  registerTokenStyleDefault('variable.readonly', [['variable.other.constant']]);
405
573
  registerTokenStyleDefault('property.readonly', [['variable.other.constant.property']]);
406
574
  registerTokenStyleDefault('type.defaultLibrary', [['support.type']]);
@@ -29,28 +29,53 @@ class MainThreadAuthenticationProvider extends Disposable {
29
29
  manageTrustedExtensions(accountName) {
30
30
  const allowedExtensions = readAllowedExtensions(this.storageService, this.id, accountName);
31
31
  if (!allowedExtensions.length) {
32
- this.dialogService.info(nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'noTrustedExtensions', "This account has not been used by any extensions."));
32
+ this.dialogService.info(( nls.localizeWithPath(
33
+ 'vs/workbench/api/browser/mainThreadAuthentication',
34
+ 'noTrustedExtensions',
35
+ "This account has not been used by any extensions."
36
+ )));
33
37
  return;
34
38
  }
35
39
  const quickPick = this.quickInputService.createQuickPick();
36
40
  quickPick.canSelectMany = true;
37
41
  quickPick.customButton = true;
38
- quickPick.customLabel = nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'manageTrustedExtensions.cancel', 'Cancel');
42
+ quickPick.customLabel = ( nls.localizeWithPath(
43
+ 'vs/workbench/api/browser/mainThreadAuthentication',
44
+ 'manageTrustedExtensions.cancel',
45
+ 'Cancel'
46
+ ));
39
47
  const usages = readAccountUsages(this.storageService, this.id, accountName);
40
48
  const items = ( allowedExtensions.map(extension => {
41
49
  const usage = usages.find(usage => extension.id === usage.extensionId);
42
50
  return {
43
51
  label: extension.name,
44
52
  description: usage
45
- ? nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', { key: 'accountLastUsedDate', comment: ['The placeholder {0} is a string with time information, such as "3 days ago"'] }, "Last used this account {0}", fromNow(usage.lastUsed, true))
46
- : nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'notUsed', "Has not used this account"),
53
+ ? ( nls.localizeWithPath(
54
+ 'vs/workbench/api/browser/mainThreadAuthentication',
55
+ { key: 'accountLastUsedDate', comment: ['The placeholder {0} is a string with time information, such as "3 days ago"'] },
56
+ "Last used this account {0}",
57
+ fromNow(usage.lastUsed, true)
58
+ ))
59
+ : ( nls.localizeWithPath(
60
+ 'vs/workbench/api/browser/mainThreadAuthentication',
61
+ 'notUsed',
62
+ "Has not used this account"
63
+ )),
47
64
  extension
48
65
  };
49
66
  }));
50
67
  quickPick.items = items;
51
68
  quickPick.selectedItems = items.filter(item => item.extension.allowed === undefined || item.extension.allowed);
52
- quickPick.title = nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'manageTrustedExtensions', "Manage Trusted Extensions");
53
- quickPick.placeholder = nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'manageExtensions', "Choose which extensions can access this account");
69
+ quickPick.title = ( nls.localizeWithPath(
70
+ 'vs/workbench/api/browser/mainThreadAuthentication',
71
+ 'manageTrustedExtensions',
72
+ "Manage Trusted Extensions"
73
+ ));
74
+ quickPick.placeholder = ( nls.localizeWithPath(
75
+ 'vs/workbench/api/browser/mainThreadAuthentication',
76
+ 'manageExtensions',
77
+ "Choose which extensions can access this account"
78
+ ));
54
79
  quickPick.onDidAccept(() => {
55
80
  const updatedAllowedList = ( quickPick.items
56
81
  .map(i => i.extension));
@@ -78,9 +103,24 @@ class MainThreadAuthenticationProvider extends Disposable {
78
103
  const { confirmed } = await this.dialogService.confirm({
79
104
  type: Severity.Info,
80
105
  message: accountUsages.length
81
- ? nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'signOutMessage', "The account '{0}' has been used by: \n\n{1}\n\n Sign out from these extensions?", accountName, ( accountUsages.map(usage => usage.extensionName)).join('\n'))
82
- : nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'signOutMessageSimple', "Sign out of '{0}'?", accountName),
83
- primaryButton: nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', { key: 'signOut', comment: ['&& denotes a mnemonic'] }, "&&Sign Out")
106
+ ? ( nls.localizeWithPath(
107
+ 'vs/workbench/api/browser/mainThreadAuthentication',
108
+ 'signOutMessage',
109
+ "The account '{0}' has been used by: \n\n{1}\n\n Sign out from these extensions?",
110
+ accountName,
111
+ ( accountUsages.map(usage => usage.extensionName)).join('\n')
112
+ ))
113
+ : ( nls.localizeWithPath(
114
+ 'vs/workbench/api/browser/mainThreadAuthentication',
115
+ 'signOutMessageSimple',
116
+ "Sign out of '{0}'?",
117
+ accountName
118
+ )),
119
+ primaryButton: ( nls.localizeWithPath(
120
+ 'vs/workbench/api/browser/mainThreadAuthentication',
121
+ { key: 'signOut', comment: ['&& denotes a mnemonic'] },
122
+ "&&Sign Out"
123
+ ))
84
124
  });
85
125
  if (confirmed) {
86
126
  const removeSessionPromises = ( sessions.map(session => this.removeSession(session.id)));
@@ -97,7 +137,11 @@ class MainThreadAuthenticationProvider extends Disposable {
97
137
  }
98
138
  async removeSession(sessionId) {
99
139
  await this._proxy.$removeSession(this.id, sessionId);
100
- this.notificationService.info(nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'signedOut', "Successfully signed out."));
140
+ this.notificationService.info(( nls.localizeWithPath(
141
+ 'vs/workbench/api/browser/mainThreadAuthentication',
142
+ 'signedOut',
143
+ "Successfully signed out."
144
+ )));
101
145
  }
102
146
  }
103
147
  let MainThreadAuthentication = class MainThreadAuthentication extends Disposable {
@@ -146,13 +190,29 @@ let MainThreadAuthentication = class MainThreadAuthentication extends Disposable
146
190
  }
147
191
  async loginPrompt(providerName, extensionName, recreatingSession, detail) {
148
192
  const message = recreatingSession
149
- ? nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'confirmRelogin', "The extension '{0}' wants you to sign in again using {1}.", extensionName, providerName)
150
- : nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', 'confirmLogin', "The extension '{0}' wants to sign in using {1}.", extensionName, providerName);
193
+ ? ( nls.localizeWithPath(
194
+ 'vs/workbench/api/browser/mainThreadAuthentication',
195
+ 'confirmRelogin',
196
+ "The extension '{0}' wants you to sign in again using {1}.",
197
+ extensionName,
198
+ providerName
199
+ ))
200
+ : ( nls.localizeWithPath(
201
+ 'vs/workbench/api/browser/mainThreadAuthentication',
202
+ 'confirmLogin',
203
+ "The extension '{0}' wants to sign in using {1}.",
204
+ extensionName,
205
+ providerName
206
+ ));
151
207
  const { confirmed } = await this.dialogService.confirm({
152
208
  type: Severity.Info,
153
209
  message,
154
210
  detail,
155
- primaryButton: nls.localizeWithPath('vs/workbench/api/browser/mainThreadAuthentication', { key: 'allow', comment: ['&& denotes a mnemonic'] }, "&&Allow")
211
+ primaryButton: ( nls.localizeWithPath(
212
+ 'vs/workbench/api/browser/mainThreadAuthentication',
213
+ { key: 'allow', comment: ['&& denotes a mnemonic'] },
214
+ "&&Allow"
215
+ ))
156
216
  });
157
217
  return confirmed;
158
218
  }
@@ -369,7 +369,11 @@ class MainThreadCommentController {
369
369
  };
370
370
  }
371
371
  }
372
- const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, localizeWithPath('vs/workbench/api/browser/mainThreadComments', 'commentsViewIcon', 'View icon of the comments view.'));
372
+ const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, ( localizeWithPath(
373
+ 'vs/workbench/api/browser/mainThreadComments',
374
+ 'commentsViewIcon',
375
+ 'View icon of the comments view.'
376
+ )));
373
377
  let MainThreadComments = class MainThreadComments extends Disposable {
374
378
  constructor(extHostContext, _commentService, _viewsService, _viewDescriptorService) {
375
379
  super();
@@ -297,7 +297,12 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
297
297
  return true;
298
298
  }
299
299
  return false;
300
- })(), localizeWithPath('vs/workbench/api/browser/mainThreadCustomEditors', 'vetoExtHostRestart', "Custom editor '{0}' could not be saved.", this.name));
300
+ })(), ( localizeWithPath(
301
+ 'vs/workbench/api/browser/mainThreadCustomEditors',
302
+ 'vetoExtHostRestart',
303
+ "Custom editor '{0}' could not be saved.",
304
+ this.name
305
+ )));
301
306
  }));
302
307
  }
303
308
  if (startDirty) {
@@ -362,7 +367,11 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
362
367
  this._undoService.pushElement({
363
368
  type: 0 ,
364
369
  resource: this._editorResource,
365
- label: label ?? localizeWithPath('vs/workbench/api/browser/mainThreadCustomEditors', 'defaultEditLabel', "Edit"),
370
+ label: label ?? ( localizeWithPath(
371
+ 'vs/workbench/api/browser/mainThreadCustomEditors',
372
+ 'defaultEditLabel',
373
+ "Edit"
374
+ )),
366
375
  code: 'undoredo.customEditorEdit',
367
376
  undo: () => this.undo(),
368
377
  redo: () => this.redo(),
@@ -12,9 +12,11 @@ class ExtHostEditSessionIdentityCreateParticipant {
12
12
  }
13
13
  async participate(workspaceFolder, token) {
14
14
  const p = ( new Promise((resolve, reject) => {
15
- setTimeout(() => reject(( new Error(
16
- localizeWithPath('vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant', 'timeout.onWillCreateEditSessionIdentity', "Aborted onWillCreateEditSessionIdentity-event after 10000ms")
17
- ))), this.timeout);
15
+ setTimeout(() => reject(( new Error(( localizeWithPath(
16
+ 'vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant',
17
+ 'timeout.onWillCreateEditSessionIdentity',
18
+ "Aborted onWillCreateEditSessionIdentity-event after 10000ms"
19
+ ))))), this.timeout);
18
20
  this._proxy.$onWillCreateEditSessionIdentity(workspaceFolder.uri, token, this.timeout).then(resolve, reject);
19
21
  }));
20
22
  return raceCancellationError(p, token);