@codingame/monaco-vscode-api 13.1.3 → 13.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.js +1 -1
- package/monaco.js +4 -4
- package/package.json +8 -8
- package/services.js +12 -12
- package/vscode/src/vs/base/browser/canIUse.js +0 -1
- package/vscode/src/vs/base/browser/dom.js +4 -16
- package/vscode/src/vs/base/browser/dompurify/dompurify.js +1 -9
- package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +0 -2
- package/vscode/src/vs/base/common/color.js +1 -1
- package/vscode/src/vs/base/common/event.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/utils.js +1 -1
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/common/config/diffEditor.js +0 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorBaseApi.js +1 -1
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +1 -1
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +1 -1
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +5 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -1
- package/vscode/src/vs/editor/standalone/common/themes.js +2 -2
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -3
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +1 -1
- package/vscode/src/vs/platform/window/common/window.js +0 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +30 -30
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +0 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +14 -14
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +8 -8
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { illegalArgument } from '../../../base/common/errors.js';
|
|
3
|
-
import { NotebookRange
|
|
4
|
-
import {
|
|
3
|
+
import { NotebookRange } from './extHostTypeConverters.js';
|
|
4
|
+
import { NotebookEditorRevealType, NotebookRange as NotebookRange$1 } from './extHostTypes.js';
|
|
5
5
|
|
|
6
6
|
class ExtHostNotebookEditor {
|
|
7
7
|
static { this.apiEditorsToExtHost = ( new WeakMap()); }
|
|
@@ -32,7 +32,7 @@ class ExtHostNotebookEditor {
|
|
|
32
32
|
return that._selections;
|
|
33
33
|
},
|
|
34
34
|
set selections(value) {
|
|
35
|
-
if (!Array.isArray(value) || !value.every(NotebookRange.isNotebookRange)) {
|
|
35
|
+
if (!Array.isArray(value) || !value.every(NotebookRange$1.isNotebookRange)) {
|
|
36
36
|
throw illegalArgument('selections');
|
|
37
37
|
}
|
|
38
38
|
that._selections = value;
|
|
@@ -42,7 +42,7 @@ class ExtHostNotebookEditor {
|
|
|
42
42
|
return that._visibleRanges;
|
|
43
43
|
},
|
|
44
44
|
revealRange(range, revealType) {
|
|
45
|
-
that._proxy.$tryRevealRange(that.id, NotebookRange
|
|
45
|
+
that._proxy.$tryRevealRange(that.id, NotebookRange.from(range), revealType ?? NotebookEditorRevealType.Default);
|
|
46
46
|
},
|
|
47
47
|
get viewColumn() {
|
|
48
48
|
return that._viewColumn;
|
|
@@ -74,7 +74,7 @@ class ExtHostNotebookEditor {
|
|
|
74
74
|
this._selections = selections;
|
|
75
75
|
}
|
|
76
76
|
_trySetSelections(value) {
|
|
77
|
-
this._proxy.$trySetSelections(this.id, ( value.map(NotebookRange
|
|
77
|
+
this._proxy.$trySetSelections(this.id, ( value.map(NotebookRange.from)));
|
|
78
78
|
}
|
|
79
79
|
_acceptViewColumn(value) {
|
|
80
80
|
this._viewColumn = value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ThemeColor,
|
|
2
|
+
import { ThemeColor, StatusBarAlignment, asStatusBarItemIdentifier, Disposable } from './extHostTypes.js';
|
|
3
3
|
import { MainContext } from './extHost.protocol.js';
|
|
4
4
|
import { localize } from '../../../nls.js';
|
|
5
5
|
import { DisposableStore } from '../../../base/common/lifecycle.js';
|
|
@@ -5,7 +5,7 @@ import { TestId, TestIdPathParts } from '../../contrib/testing/common/testId.js'
|
|
|
5
5
|
import { TestItemEventOp, createTestItemChildren, TestItemCollection } from '../../contrib/testing/common/testItemCollection.js';
|
|
6
6
|
import { denamespaceTestTag } from '../../contrib/testing/common/testTypes.js';
|
|
7
7
|
import { getPrivateApiFor, createPrivateApiFor } from './extHostTestingPrivateApi.js';
|
|
8
|
-
import { Range as Range$1,
|
|
8
|
+
import { TestTag, MarkdownString, Range as Range$1, TestItem } from './extHostTypeConverters.js';
|
|
9
9
|
|
|
10
10
|
const testItemPropAccessor = (api, defaultValue, equals, toUpdate) => {
|
|
11
11
|
let value = defaultValue;
|
|
@@ -59,7 +59,7 @@ let ExtHostTesting = class ExtHostTesting extends Disposable {
|
|
|
59
59
|
const extId = test.item.extId;
|
|
60
60
|
return {
|
|
61
61
|
test: this.controllers.get(TestId.root(extId))?.collection.tree.get(extId)?.actual
|
|
62
|
-
?? toItemFromContext({
|
|
62
|
+
?? toItemFromContext({ tests: [test] }),
|
|
63
63
|
message: TestMessage.to(message),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { ok } from '../../../base/common/assert.js';
|
|
3
3
|
import { illegalArgument, ReadonlyError } from '../../../base/common/errors.js';
|
|
4
4
|
import { IdGenerator } from '../../../base/common/idGenerator.js';
|
|
5
|
-
import { DecorationRenderOptions, TextEditorLineNumbersStyle, Range as Range$1, Position as Position$1,
|
|
6
|
-
import { Position, Range, EndOfLine,
|
|
5
|
+
import { DecorationRenderOptions, TextEditorLineNumbersStyle, ViewColumn, Range as Range$1, isDecorationOptionsArr, fromRangeOrRangeWithMessage, Position as Position$1, Selection as Selection$1, EndOfLine as EndOfLine$1 } from './extHostTypeConverters.js';
|
|
6
|
+
import { Position, Range, EndOfLine, TextEditorRevealType, Selection } from './extHostTypes.js';
|
|
7
7
|
|
|
8
8
|
class TextEditorDecorationType {
|
|
9
9
|
static { this._Keys = ( new IdGenerator('TextEditorDecorationType')); }
|
|
@@ -17,7 +17,7 @@ import { URI, isUriComponents } from '../../../base/common/uri.js';
|
|
|
17
17
|
import { RenderLineNumbersType } from '../../../editor/common/config/editorOptions.js';
|
|
18
18
|
import { Range as Range$2 } from '../../../editor/common/core/range.js';
|
|
19
19
|
import { StandardTokenType } from '../../../editor/common/encodedTokenAttributes.js';
|
|
20
|
-
import { SymbolKind as SymbolKind$
|
|
20
|
+
import { SymbolKind as SymbolKind$1, SymbolTag as SymbolTag$2, CompletionTriggerKind as CompletionTriggerKind$2, CompletionItemTag as CompletionItemTag$2, CompletionItemKind as CompletionItemKind$2, CompletionItemInsertTextRule, Command, FoldingRangeKind as FoldingRangeKind$2, CodeActionTriggerType, PartialAcceptTriggerKind as PartialAcceptTriggerKind$2 } from '../../../editor/common/languages.js';
|
|
21
21
|
import { TrackedRangeStickiness, EndOfLineSequence } from '../../../editor/common/model.js';
|
|
22
22
|
import { MarkerTag, MarkerSeverity } from '../../../platform/markers/common/markers.js';
|
|
23
23
|
import { ProgressLocation as ProgressLocation$2 } from '../../../platform/progress/common/progress.js';
|
|
@@ -30,7 +30,7 @@ import { TestId } from '../../contrib/testing/common/testId.js';
|
|
|
30
30
|
import { TestMessageType, namespaceTestTag, denamespaceTestTag, TestRunProfileBitset, DetailType } from '../../contrib/testing/common/testTypes.js';
|
|
31
31
|
import { SIDE_GROUP, ACTIVE_GROUP } from '../../services/editor/common/editorService.js';
|
|
32
32
|
import { getPrivateApiFor } from './extHostTestingPrivateApi.js';
|
|
33
|
-
import { Position as Position$1, Selection as Selection$1, Range as Range$1, Location as Location$1, StandardTokenType as StandardTokenType$1, DiagnosticTag as DiagnosticTag$1, Diagnostic as Diagnostic$1, DiagnosticRelatedInformation as DiagnosticRelatedInformation$1, DiagnosticSeverity as DiagnosticSeverity$1, ViewColumn as ViewColumn$1, MarkdownString as MarkdownString$1, DecorationRangeBehavior as DecorationRangeBehavior$1, TextEdit as TextEdit$1, WorkspaceEdit as WorkspaceEdit$1, FileEditType, SnippetTextEdit, SnippetString, SymbolKind as SymbolKind$
|
|
33
|
+
import { Position as Position$1, Selection as Selection$1, Range as Range$1, Location as Location$1, StandardTokenType as StandardTokenType$1, DiagnosticTag as DiagnosticTag$1, Diagnostic as Diagnostic$1, DiagnosticRelatedInformation as DiagnosticRelatedInformation$1, DiagnosticSeverity as DiagnosticSeverity$1, ViewColumn as ViewColumn$1, MarkdownString as MarkdownString$1, DecorationRangeBehavior as DecorationRangeBehavior$1, TextEdit as TextEdit$1, WorkspaceEdit as WorkspaceEdit$1, FileEditType, SnippetTextEdit, SnippetString, SymbolKind as SymbolKind$2, SymbolTag as SymbolTag$1, SymbolInformation, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, EndOfLine as EndOfLine$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookRange as NotebookRange$1, NotebookCellExecutionState as NotebookCellExecutionState$2, NotebookCellKind as NotebookCellKind$1, NotebookCellData as NotebookCellData$1, NotebookData as NotebookData$1, NotebookCellOutputItem as NotebookCellOutputItem$1, NotebookCellOutput as NotebookCellOutput$1, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseDetectedParticipantPart as ChatResponseDetectedParticipantPart$1, ChatResponseFileTreePart, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatLocation as ChatLocation$1, ChatReferenceBinaryData, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1 } from './extHostTypes.js';
|
|
34
34
|
import { MarshalledId } from '../../../base/common/marshallingIds.js';
|
|
35
35
|
|
|
36
36
|
var Selection;
|
|
@@ -657,34 +657,34 @@ var WorkspaceEdit;
|
|
|
657
657
|
var SymbolKind;
|
|
658
658
|
(function (SymbolKind) {
|
|
659
659
|
const _fromMapping = Object.create(null);
|
|
660
|
-
_fromMapping[SymbolKind$
|
|
661
|
-
_fromMapping[SymbolKind$
|
|
662
|
-
_fromMapping[SymbolKind$
|
|
663
|
-
_fromMapping[SymbolKind$
|
|
664
|
-
_fromMapping[SymbolKind$
|
|
665
|
-
_fromMapping[SymbolKind$
|
|
666
|
-
_fromMapping[SymbolKind$
|
|
667
|
-
_fromMapping[SymbolKind$
|
|
668
|
-
_fromMapping[SymbolKind$
|
|
669
|
-
_fromMapping[SymbolKind$
|
|
670
|
-
_fromMapping[SymbolKind$
|
|
671
|
-
_fromMapping[SymbolKind$
|
|
672
|
-
_fromMapping[SymbolKind$
|
|
673
|
-
_fromMapping[SymbolKind$
|
|
674
|
-
_fromMapping[SymbolKind$
|
|
675
|
-
_fromMapping[SymbolKind$
|
|
676
|
-
_fromMapping[SymbolKind$
|
|
677
|
-
_fromMapping[SymbolKind$
|
|
678
|
-
_fromMapping[SymbolKind$
|
|
679
|
-
_fromMapping[SymbolKind$
|
|
680
|
-
_fromMapping[SymbolKind$
|
|
681
|
-
_fromMapping[SymbolKind$
|
|
682
|
-
_fromMapping[SymbolKind$
|
|
683
|
-
_fromMapping[SymbolKind$
|
|
684
|
-
_fromMapping[SymbolKind$
|
|
685
|
-
_fromMapping[SymbolKind$
|
|
660
|
+
_fromMapping[SymbolKind$2.File] = SymbolKind$1.File;
|
|
661
|
+
_fromMapping[SymbolKind$2.Module] = SymbolKind$1.Module;
|
|
662
|
+
_fromMapping[SymbolKind$2.Namespace] = SymbolKind$1.Namespace;
|
|
663
|
+
_fromMapping[SymbolKind$2.Package] = SymbolKind$1.Package;
|
|
664
|
+
_fromMapping[SymbolKind$2.Class] = SymbolKind$1.Class;
|
|
665
|
+
_fromMapping[SymbolKind$2.Method] = SymbolKind$1.Method;
|
|
666
|
+
_fromMapping[SymbolKind$2.Property] = SymbolKind$1.Property;
|
|
667
|
+
_fromMapping[SymbolKind$2.Field] = SymbolKind$1.Field;
|
|
668
|
+
_fromMapping[SymbolKind$2.Constructor] = SymbolKind$1.Constructor;
|
|
669
|
+
_fromMapping[SymbolKind$2.Enum] = SymbolKind$1.Enum;
|
|
670
|
+
_fromMapping[SymbolKind$2.Interface] = SymbolKind$1.Interface;
|
|
671
|
+
_fromMapping[SymbolKind$2.Function] = SymbolKind$1.Function;
|
|
672
|
+
_fromMapping[SymbolKind$2.Variable] = SymbolKind$1.Variable;
|
|
673
|
+
_fromMapping[SymbolKind$2.Constant] = SymbolKind$1.Constant;
|
|
674
|
+
_fromMapping[SymbolKind$2.String] = SymbolKind$1.String;
|
|
675
|
+
_fromMapping[SymbolKind$2.Number] = SymbolKind$1.Number;
|
|
676
|
+
_fromMapping[SymbolKind$2.Boolean] = SymbolKind$1.Boolean;
|
|
677
|
+
_fromMapping[SymbolKind$2.Array] = SymbolKind$1.Array;
|
|
678
|
+
_fromMapping[SymbolKind$2.Object] = SymbolKind$1.Object;
|
|
679
|
+
_fromMapping[SymbolKind$2.Key] = SymbolKind$1.Key;
|
|
680
|
+
_fromMapping[SymbolKind$2.Null] = SymbolKind$1.Null;
|
|
681
|
+
_fromMapping[SymbolKind$2.EnumMember] = SymbolKind$1.EnumMember;
|
|
682
|
+
_fromMapping[SymbolKind$2.Struct] = SymbolKind$1.Struct;
|
|
683
|
+
_fromMapping[SymbolKind$2.Event] = SymbolKind$1.Event;
|
|
684
|
+
_fromMapping[SymbolKind$2.Operator] = SymbolKind$1.Operator;
|
|
685
|
+
_fromMapping[SymbolKind$2.TypeParameter] = SymbolKind$1.TypeParameter;
|
|
686
686
|
function from(kind) {
|
|
687
|
-
return typeof _fromMapping[kind] === 'number' ? _fromMapping[kind] : SymbolKind$
|
|
687
|
+
return typeof _fromMapping[kind] === 'number' ? _fromMapping[kind] : SymbolKind$1.Property;
|
|
688
688
|
}
|
|
689
689
|
SymbolKind.from = from;
|
|
690
690
|
function to(kind) {
|
|
@@ -693,7 +693,7 @@ var SymbolKind;
|
|
|
693
693
|
return Number(k);
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
return SymbolKind$
|
|
696
|
+
return SymbolKind$2.Property;
|
|
697
697
|
}
|
|
698
698
|
SymbolKind.to = to;
|
|
699
699
|
})(SymbolKind || (SymbolKind = {}));
|
|
@@ -3,7 +3,7 @@ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.
|
|
|
3
3
|
import { Lazy } from '../../../base/common/lazy.js';
|
|
4
4
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
5
5
|
import { normalize } from '../../../base/common/path.js';
|
|
6
|
-
import {
|
|
6
|
+
import { env, cwd } from '../../../base/common/process.js';
|
|
7
7
|
import { createDecorator } from '../../../platform/instantiation/common/instantiation.js';
|
|
8
8
|
import { IExtHostDocumentsAndEditors } from './extHostDocumentsAndEditors.js';
|
|
9
9
|
import { IExtHostEditorTabs } from './extHostEditorTabs.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { Dimension } from '../../../../base/browser/dom.js';
|
|
3
3
|
import { isObject } from '../../../../base/common/types.js';
|
|
4
|
-
import { verifyObject,
|
|
4
|
+
import { verifyObject, ObjectVerifier, SetVerifier, EnumVerifier, NumberVerifier, BooleanVerifier } from '../../../../base/common/verifier.js';
|
|
5
5
|
|
|
6
6
|
const DEFAULT_EDITOR_MIN_DIMENSIONS = ( new Dimension(220, 70));
|
|
7
7
|
const DEFAULT_EDITOR_MAX_DIMENSIONS = ( new Dimension(Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { localize, localize2 } from '../../../../nls.js';
|
|
3
3
|
import { Action2, MenuId, registerAction2 } from '../../../../platform/actions/common/actions.js';
|
|
4
4
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
5
5
|
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { localize, localize2 } from '../../../../nls.js';
|
|
3
3
|
import { Action2, MenuId, registerAction2 } from '../../../../platform/actions/common/actions.js';
|
|
4
4
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
5
5
|
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { localize, localize2 } from '../../../../nls.js';
|
|
3
3
|
import { Action2, MenuId, registerAction2 } from '../../../../platform/actions/common/actions.js';
|
|
4
4
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
5
5
|
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
@@ -330,7 +330,6 @@ const NotebookSetting = {
|
|
|
330
330
|
outputFontFamilyDeprecated: 'notebook.outputFontFamily',
|
|
331
331
|
outputFontFamily: 'notebook.output.fontFamily',
|
|
332
332
|
findFilters: 'notebook.find.filters',
|
|
333
|
-
logging: 'notebook.logging',
|
|
334
333
|
confirmDeleteRunningCell: 'notebook.confirmDeleteRunningCell',
|
|
335
334
|
remoteSaving: 'notebook.experimental.remoteSave',
|
|
336
335
|
gotoSymbolsAllSymbols: 'notebook.gotoSymbols.showAllSymbols',
|
|
@@ -26,7 +26,7 @@ import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
|
26
26
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
27
27
|
import { MouseTargetType, isCodeEditor } from '../../../../editor/browser/editorBrowser.js';
|
|
28
28
|
import { EditorAction, registerEditorAction, registerEditorContribution, EditorContributionInstantiation } from '../../../../editor/browser/editorExtensions.js';
|
|
29
|
-
import { getOuterEditor, PeekViewWidget, peekViewBorder,
|
|
29
|
+
import { getOuterEditor, PeekViewWidget, peekViewBorder, peekViewTitleInfoForeground, peekViewTitleForeground, peekViewTitleBackground } from '../../../../editor/contrib/peekView/browser/peekView.js';
|
|
30
30
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
31
31
|
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
32
32
|
import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js';
|
|
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
|
|
|
27
27
|
TestExplorerViewSorting["ByDuration"] = "duration";
|
|
28
28
|
})(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
|
|
29
29
|
const testStateNames = {
|
|
30
|
-
[TestResultState.Errored]: ( localize(
|
|
31
|
-
[TestResultState.Failed]: ( localize(
|
|
32
|
-
[TestResultState.Passed]: ( localize(
|
|
33
|
-
[TestResultState.Queued]: ( localize(
|
|
34
|
-
[TestResultState.Running]: ( localize(
|
|
35
|
-
[TestResultState.Skipped]: ( localize(
|
|
36
|
-
[TestResultState.Unset]: ( localize(
|
|
30
|
+
[TestResultState.Errored]: ( localize(10289, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(10290, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(10291, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(10292, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(10293, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(10294, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(10295, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(10296, '{0} ({1})', stripIcons(label), testStateNames[state]));
|
|
39
39
|
const testConfigurationGroupNames = {
|
|
40
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
41
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
42
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
40
|
+
[TestRunProfileBitset.Debug]: ( localize(10297, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(10298, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(10299, 'Coverage')),
|
|
43
43
|
};
|
|
44
44
|
var TestCommandId;
|
|
45
45
|
(function (TestCommandId) {
|
|
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
|
|
|
46
46
|
TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
|
|
47
47
|
})(TestRunProfileBitset || (TestRunProfileBitset = {}));
|
|
48
48
|
const testProfileBitset = {
|
|
49
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
50
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
51
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
49
|
+
[TestRunProfileBitset.Run]: ( localize(10304, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(10305, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(10306, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|
|
@@ -135,7 +135,7 @@ class AbstractVariableResolverService {
|
|
|
135
135
|
if (filePath) {
|
|
136
136
|
return normalizeDriveLetter(filePath);
|
|
137
137
|
}
|
|
138
|
-
throw ( new VariableError(variableKind, ( localize(
|
|
138
|
+
throw ( new VariableError(variableKind, ( localize(11343, "Variable {0} can not be resolved. Please open an editor.", match))));
|
|
139
139
|
};
|
|
140
140
|
const getFolderPathForFile = (variableKind) => {
|
|
141
141
|
const filePath = getFilePath(variableKind);
|
|
@@ -146,7 +146,7 @@ class AbstractVariableResolverService {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
throw ( new VariableError(variableKind, ( localize(
|
|
149
|
-
|
|
149
|
+
11344,
|
|
150
150
|
"Variable {0}: can not find workspace folder of '{1}'.",
|
|
151
151
|
match,
|
|
152
152
|
basename(filePath)
|
|
@@ -159,7 +159,7 @@ class AbstractVariableResolverService {
|
|
|
159
159
|
return folder;
|
|
160
160
|
}
|
|
161
161
|
throw ( new VariableError(variableKind, ( localize(
|
|
162
|
-
|
|
162
|
+
11345,
|
|
163
163
|
"Variable {0} can not be resolved. No such folder '{1}'.",
|
|
164
164
|
match,
|
|
165
165
|
argument
|
|
@@ -170,12 +170,12 @@ class AbstractVariableResolverService {
|
|
|
170
170
|
}
|
|
171
171
|
if (this._context.getWorkspaceFolderCount() > 1) {
|
|
172
172
|
throw ( new VariableError(variableKind, ( localize(
|
|
173
|
-
|
|
173
|
+
11346,
|
|
174
174
|
"Variable {0} can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.",
|
|
175
175
|
match
|
|
176
176
|
))));
|
|
177
177
|
}
|
|
178
|
-
throw ( new VariableError(variableKind, ( localize(
|
|
178
|
+
throw ( new VariableError(variableKind, ( localize(11347, "Variable {0} can not be resolved. Please open a folder.", match))));
|
|
179
179
|
};
|
|
180
180
|
switch (variable) {
|
|
181
181
|
case 'env':
|
|
@@ -189,7 +189,7 @@ class AbstractVariableResolverService {
|
|
|
189
189
|
return '';
|
|
190
190
|
}
|
|
191
191
|
throw ( new VariableError(VariableKind.Env, ( localize(
|
|
192
|
-
|
|
192
|
+
11348,
|
|
193
193
|
"Variable {0} can not be resolved because no environment variable name is given.",
|
|
194
194
|
match
|
|
195
195
|
))));
|
|
@@ -198,7 +198,7 @@ class AbstractVariableResolverService {
|
|
|
198
198
|
const config = this._context.getConfigurationValue(folderUri, argument);
|
|
199
199
|
if (isUndefinedOrNull(config)) {
|
|
200
200
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
201
|
-
|
|
201
|
+
11349,
|
|
202
202
|
"Variable {0} can not be resolved because setting '{1}' not found.",
|
|
203
203
|
match,
|
|
204
204
|
argument
|
|
@@ -206,7 +206,7 @@ class AbstractVariableResolverService {
|
|
|
206
206
|
}
|
|
207
207
|
if (isObject(config)) {
|
|
208
208
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
209
|
-
|
|
209
|
+
11350,
|
|
210
210
|
"Variable {0} can not be resolved because '{1}' is a structured value.",
|
|
211
211
|
match,
|
|
212
212
|
argument
|
|
@@ -215,7 +215,7 @@ class AbstractVariableResolverService {
|
|
|
215
215
|
return config;
|
|
216
216
|
}
|
|
217
217
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
218
|
-
|
|
218
|
+
11351,
|
|
219
219
|
"Variable {0} can not be resolved because no settings name is given.",
|
|
220
220
|
match
|
|
221
221
|
))));
|
|
@@ -228,7 +228,7 @@ class AbstractVariableResolverService {
|
|
|
228
228
|
const ext = await this._context.getExtension(argument);
|
|
229
229
|
if (!ext) {
|
|
230
230
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
231
|
-
|
|
231
|
+
11352,
|
|
232
232
|
"Variable {0} can not be resolved because the extension {1} is not installed.",
|
|
233
233
|
match,
|
|
234
234
|
argument
|
|
@@ -237,7 +237,7 @@ class AbstractVariableResolverService {
|
|
|
237
237
|
return this.fsPath(ext.extensionLocation);
|
|
238
238
|
}
|
|
239
239
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
240
|
-
|
|
240
|
+
11353,
|
|
241
241
|
"Variable {0} can not be resolved because no extension name is given.",
|
|
242
242
|
match
|
|
243
243
|
))));
|
|
@@ -256,7 +256,7 @@ class AbstractVariableResolverService {
|
|
|
256
256
|
return environment.userHome;
|
|
257
257
|
}
|
|
258
258
|
throw ( new VariableError(VariableKind.UserHome, ( localize(
|
|
259
|
-
|
|
259
|
+
11354,
|
|
260
260
|
"Variable {0} can not be resolved. UserHome path is not defined",
|
|
261
261
|
match
|
|
262
262
|
))));
|
|
@@ -267,7 +267,7 @@ class AbstractVariableResolverService {
|
|
|
267
267
|
return lineNumber;
|
|
268
268
|
}
|
|
269
269
|
throw ( new VariableError(VariableKind.LineNumber, ( localize(
|
|
270
|
-
|
|
270
|
+
11355,
|
|
271
271
|
"Variable {0} can not be resolved. Make sure to have a line selected in the active editor.",
|
|
272
272
|
match
|
|
273
273
|
))));
|
|
@@ -278,7 +278,7 @@ class AbstractVariableResolverService {
|
|
|
278
278
|
return selectedText;
|
|
279
279
|
}
|
|
280
280
|
throw ( new VariableError(VariableKind.SelectedText, ( localize(
|
|
281
|
-
|
|
281
|
+
11356,
|
|
282
282
|
"Variable {0} can not be resolved. Make sure to have some text selected in the active editor.",
|
|
283
283
|
match
|
|
284
284
|
))));
|
|
@@ -350,7 +350,7 @@ class AbstractVariableResolverService {
|
|
|
350
350
|
return v;
|
|
351
351
|
}
|
|
352
352
|
throw ( new VariableError(variableKind, ( localize(
|
|
353
|
-
|
|
353
|
+
11357,
|
|
354
354
|
"Variable {0} can not be resolved because the command has no value.",
|
|
355
355
|
match
|
|
356
356
|
))));
|
|
@@ -16,7 +16,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
16
16
|
'workbench.editorAssociations': {
|
|
17
17
|
type: 'object',
|
|
18
18
|
markdownDescription: ( localize(
|
|
19
|
-
|
|
19
|
+
11408,
|
|
20
20
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
21
21
|
)),
|
|
22
22
|
additionalProperties: {
|
|
@@ -3,7 +3,7 @@ import { Event } from '../../../../base/common/event.js';
|
|
|
3
3
|
import { URI } from '../../../../base/common/uri.js';
|
|
4
4
|
import { getGalleryExtensionId, getExtensionId } from '../../../../platform/extensionManagement/common/extensionManagementUtil.js';
|
|
5
5
|
import { ImplicitActivationEvents } from '../../../../platform/extensionManagement/common/implicitActivationEvents.js';
|
|
6
|
-
import {
|
|
6
|
+
import { TargetPlatform, ExtensionIdentifier, ExtensionIdentifierSet, ExtensionIdentifierMap, ExtensionType } from '../../../../platform/extensions/common/extensions.js';
|
|
7
7
|
|
|
8
8
|
const nullExtensionDescription = ( Object.freeze({
|
|
9
9
|
identifier: ( new ExtensionIdentifier('nullExtensionDescription')),
|