@easyv/biz-components 0.0.52-beta.0 → 0.0.52-beta.1
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/dist/_virtual/index.es2.js +2 -2
- package/dist/_virtual/index.es3.js +2 -2
- package/dist/_virtual/index.es4.js +2 -2
- package/dist/components/easyv-monaco-editor/easyv-monaco-editor.d.ts +12 -0
- package/dist/components/easyv-monaco-editor/easyv-monaco-editor.es.js +15 -2
- package/dist/components/easyv-monaco-editor/easyv-monaco-editor.es.js.map +1 -1
- package/dist/components/easyv-monaco-editor/monaco-setup.es.js +82 -1
- package/dist/components/easyv-monaco-editor/monaco-setup.es.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/monaco/editor.worker.bundle.js +13517 -0
- package/dist/monaco/json.worker.bundle.js +21318 -0
- package/dist/monaco/ts.worker.bundle.js +256351 -0
- package/dist/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/dnd.es.js +11 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/dnd.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/dom.es.js +156 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/dom.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/domObservable.es.js +18 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/domObservable.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/replaceInput.es.js +186 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/replaceInput.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel.es.js +9 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/resizable/resizable.es.js +153 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/browser/ui/resizable/resizable.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arrays.es.js +75 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arrays.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arraysFind.es.js +11 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/arraysFind.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/async.es.js +65 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/async.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/cancellation.es.js +9 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/cancellation.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/dataTransfer.es.js +129 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/dataTransfer.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/equals.es.js +53 -4
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/equals.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/errorMessage.es.js +60 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/errorMessage.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/extpath.es.js +8 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/extpath.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/filters.es.js +48 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/filters.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/hierarchicalKind.es.js +25 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/hierarchicalKind.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/htmlContent.es.js +10 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/htmlContent.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/labels.es.js +12 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/labels.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/lifecycle.es.js +17 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/lifecycle.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/objects.es.js +23 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/objects.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/autorun.es.js +19 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/autorun.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/base.es.js +9 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/base.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/derived.es.js +4 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/derived.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/promise.es.js +44 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/promise.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/utils.es.js +59 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/observableInternal/utils.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/platform.es.js +2 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/platform.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/resources.es.js +10 -6
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/resources.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/search.es.js +42 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/search.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/strings.es.js +21 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/strings.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/types.es.js +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/types.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/uuid.es.js +53 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/base/common/uuid.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaHandler.es.js +2 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaHandler.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput.es.js +4 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/dnd.es.js +70 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/dnd.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.es.js +20 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.es.js +148 -8
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/observableCodeEditor.es.js +37 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/observableCodeEditor.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.es.js +57 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/commands.es.js +254 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/commands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.es.js +79 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/utils.es.js +7 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/utils.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.es.js +19 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/commands/trimTrailingWhitespaceCommand.es.js +81 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/commands/trimTrailingWhitespaceCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.es.js +23 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/editorColorRegistry.es.js +4 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/core/editorColorRegistry.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/cursor/cursorWordOperations.es.js +71 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/cursor/cursorWordOperations.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/editorFeatures.es.js +5 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/editorFeatures.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/languages/autoIndent.es.js +74 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/languages/autoIndent.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/languages.es.js +6 -3
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/languages.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.es.js +61 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/getIconClasses.es.js +84 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/getIconClasses.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/semanticTokensDto.es.js +67 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/semanticTokensDto.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling.es.js +82 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/semanticTokensProviderStyling.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/treeViewsDnd.es.js +23 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/treeViewsDnd.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/treeViewsDndService.es.js +14 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/services/treeViewsDndService.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/tokens/lineTokens.es.js +13 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/tokens/lineTokens.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/tokens/sparseMultilineTokens.es.js +389 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/common/tokens/sparseMultilineTokens.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.es.js +182 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.es.js +370 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/caretOperations.es.js +46 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/caretOperations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/moveCaretCommand.es.js +44 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/moveCaretCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/transpose.es.js +59 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/transpose.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/browser/clipboard.es.js +258 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/browser/clipboard.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeAction.es.js +271 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeAction.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.es.js +231 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.es.js +61 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionController.es.js +368 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.es.js +78 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.es.js +65 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionModel.es.js +317 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.es.js +413 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/common/types.es.js +141 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/common/types.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codeLensCache.es.js +123 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codeLensCache.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelens.es.js +94 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelens.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensController.es.js +479 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensWidget.es.js +249 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/color.es.js +113 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/color.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorContributions.es.js +61 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorContributions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorDetector.es.js +263 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorDetector.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.es.js +254 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPickerModel.es.js +72 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPickerModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPickerWidget.es.js +365 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorPickerWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.es.js +56 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.es.js +89 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.es.js +265 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/blockCommentCommand.es.js +127 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/blockCommentCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/comment.es.js +159 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/comment.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/lineCommentCommand.es.js +302 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/lineCommentCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/browser/contextmenu.es.js +358 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/browser/contextmenu.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.es.js +142 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.es.js +60 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dnd/browser/dnd.es.js +207 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dnd/browser/dnd.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dnd/browser/dragAndDropCommand.es.js +45 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dnd/browser/dragAndDropCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.es.js +19 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/browser/outlineModel.es.js +260 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/browser/outlineModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.es.js +95 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.es.js +504 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.es.js +214 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.es.js +62 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.es.js +168 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/edit.es.js +75 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/edit.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.es.js +211 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/editorState/browser/editorState.es.js +102 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/editorState/browser/editorState.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.es.js +15 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findController.es.js +1074 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findDecorations.es.js +301 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findDecorations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findModel.es.js +517 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findOptionsWidget.es.js +155 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findOptionsWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findState.es.js +273 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findState.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findWidget.es.js +1208 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/replaceAllCommand.es.js +46 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/replaceAllCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/replacePattern.es.js +237 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/replacePattern.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/folding.es.js +1258 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/folding.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingDecorations.es.js +161 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingDecorations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingModel.es.js +453 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingRanges.es.js +347 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/foldingRanges.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/hiddenRangeModel.es.js +124 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/hiddenRangeModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/indentRangeProvider.es.js +152 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/indentRangeProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/syntaxRangeProvider.es.js +169 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/syntaxRangeProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/browser/fontZoom.es.js +46 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/browser/fontZoom.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/format.es.js +236 -8
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/format.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/formatActions.es.js +271 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/formatActions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/formattingEdit.es.js +52 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/formattingEdit.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/gotoError.es.js +281 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/gotoError.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.es.js +350 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/markerNavigationService.es.js +194 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/markerNavigationService.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.es.js +709 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/goToSymbol.es.js +126 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/goToSymbol.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.es.js +143 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.es.js +248 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.es.js +393 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.es.js +189 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.es.js +458 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.es.js +232 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.es.js +181 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverComputer.es.js +92 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverComputer.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverController2.es.js +298 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverController2.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverRendered.es.js +259 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverRendered.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverStatusBar.es.js +50 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverStatusBar.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverTypes.es.js +28 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverTypes.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverWidget.es.js +383 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.es.js +340 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/getHover.es.js +46 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/getHover.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverAccessibleViews.es.js +12 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverAccessibleViews.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverActionIds.es.js +32 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverActionIds.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverActions.es.js +452 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverActions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverContribution.es.js +60 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverOperation.es.js +152 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverOperation.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverTypes.es.js +60 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverTypes.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverUtils.es.js +12 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hoverUtils.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverComputer.es.js +52 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverComputer.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverController.es.js +174 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverWidget.es.js +172 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/marginHoverWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.es.js +386 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.es.js +239 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/resizableContentWidget.es.js +91 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/resizableContentWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.es.js +153 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand.es.js +23 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/browser/indentation.es.js +605 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/browser/indentation.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/common/indentUtils.es.js +31 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/common/indentUtils.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/common/indentation.es.js +83 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/common/indentation.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHints.es.js +142 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHints.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.es.js +12 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.es.js +566 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.es.js +147 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.es.js +94 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.es.js +9 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.es.js +212 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.es.js +62 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.es.js +286 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.es.js +153 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.es.js +323 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.es.js +25 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.es.js +6 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/ghostText.es.js +92 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/ghostText.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.es.js +484 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.es.js +268 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.es.js +224 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/singleTextEdit.es.js +166 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/singleTextEdit.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdaptor.es.js +173 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdaptor.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/utils.es.js +55 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/utils.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostTextView.es.js +311 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostTextView.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/commandIds.es.js +11 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/commandIds.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/commands.es.js +141 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/commands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.es.js +198 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.es.js +15 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditController.es.js +327 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.es.js +208 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.es.js +310 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/commands.es.js +138 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/commands.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/consts.es.js +15 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/consts.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.es.js +15 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsController.es.js +105 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.es.js +236 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.es.js +322 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineProgress/browser/inlineProgress.es.js +149 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/inlineProgress/browser/inlineProgress.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/lineSelection/browser/lineSelection.es.js +35 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/lineSelection/browser/lineSelection.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/copyLinesCommand.es.js +67 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/copyLinesCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/linesOperations.es.js +1114 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/linesOperations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/moveLinesCommand.es.js +347 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/moveLinesCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/sortLinesCommand.es.js +78 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/sortLinesCommand.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.es.js +382 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/links/browser/getLinks.es.js +141 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/links/browser/getLinks.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/links/browser/links.es.js +374 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/links/browser/links.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.es.js +28 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/message/browser/messageController.es.js +190 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/message/browser/messageController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/browser/multicursor.es.js +1088 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/browser/multicursor.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHints.es.js +151 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHints.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.es.js +262 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.es.js +328 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.es.js +55 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/peekView/browser/peekView.es.js +267 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/peekView/browser/peekView.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.es.js +15 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.es.js +85 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.es.js +41 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/rename/browser/rename.es.js +475 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/rename/browser/rename.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/rename/browser/renameWidget.es.js +756 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/rename/browser/renameWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.es.js +195 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.es.js +334 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.es.js +137 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/common/getSemanticTokens.es.js +197 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/common/getSemanticTokens.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/common/semanticTokensConfig.es.js +14 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/semanticTokens/common/semanticTokensConfig.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/bracketSelections.es.js +134 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/bracketSelections.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/smartSelect.es.js +277 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/smartSelect.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/wordSelections.es.js +69 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/wordSelections.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetController2.es.js +281 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetController2.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetParser.es.js +926 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetParser.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetSession.es.js +547 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetSession.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetVariables.es.js +282 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetVariables.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.es.js +139 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.es.js +17 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.es.js +537 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.es.js +27 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.es.js +321 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.es.js +175 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.es.js +451 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/completionModel.es.js +176 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/completionModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggest.es.js +305 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggest.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestAlternatives.es.js +90 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestAlternatives.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestCommitCharacters.es.js +56 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestCommitCharacters.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.es.js +983 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.es.js +185 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestMemory.es.js +253 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestMemory.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestModel.es.js +724 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestModel.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestOvertypingCapturer.es.js +58 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestOvertypingCapturer.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidget.es.js +909 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.es.js +402 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.es.js +212 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetStatus.es.js +72 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestWidgetStatus.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/wordContextKey.es.js +71 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/wordContextKey.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/wordDistance.es.js +66 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/wordDistance.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.es.js +97 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.es.js +43 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/browser/tokenization.es.js +26 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/browser/tokenization.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.es.js +113 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.es.js +702 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.es.js +121 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.es.js +110 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.es.js +77 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.es.js +712 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/browser/wordOperations.es.js +523 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/browser/wordOperations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.es.js +171 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/zoneWidget/browser/zoneWidget.es.js +401 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/zoneWidget/browser/zoneWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.es.js +15 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/nls.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/accessibility/browser/accessibleViewRegistry.es.js +23 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/accessibility/browser/accessibleViewRegistry.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/action/common/actionCommonCategories.es.js +13 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/action/common/actionCommonCategories.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actionWidget/browser/actionList.es.js +285 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actionWidget/browser/actionList.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actionWidget/browser/actionWidget.es.js +265 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actionWidget/browser/actionWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.es.js +30 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actions/common/actions.es.js +56 -5
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/actions/common/actions.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkeys.es.js +5 -3
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkeys.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/dnd/browser/dnd.es.js +35 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/dnd/browser/dnd.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/files/common/files.es.js +10 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/files/common/files.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/history/browser/contextScopedHistoryWidget.es.js +113 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/history/browser/contextScopedHistoryWidget.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/history/browser/historyWidgetKeybindingHint.es.js +8 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/history/browser/historyWidgetKeybindingHint.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/list/browser/listService.es.js +2 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/list/browser/listService.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/observable/common/platformObservableUtils.es.js +10 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/observable/common/platformObservableUtils.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/observable/common/wrapInReloadableClass.es.js +59 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/observable/common/wrapInReloadableClass.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/opener/browser/link.es.js +95 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/opener/browser/link.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/severityIcon/browser/severityIcon.es.js +26 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/severityIcon/browser/severityIcon.es.js.map +1 -0
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/editorColors.es.js +22 -11
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/editorColors.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/listColors.es.js +2 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/listColors.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/minimapColors.es.js +2 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/colors/minimapColors.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/iconRegistry.es.js +3 -2
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/theme/common/iconRegistry.es.js.map +1 -1
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace.es.js +51 -3
- package/dist/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace.es.js.map +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.es.js +1 -1
- package/dist/stats.html +4949 -0
- package/dist/style.css +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestController.es.js","sources":["../../../../../../../../../../../../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.js"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar SuggestController_1;\nimport { alert } from '../../../../base/browser/ui/aria/aria.js';\nimport { isNonEmptyArray } from '../../../../base/common/arrays.js';\nimport { CancellationTokenSource } from '../../../../base/common/cancellation.js';\nimport { onUnexpectedError, onUnexpectedExternalError } from '../../../../base/common/errors.js';\nimport { Emitter, Event } from '../../../../base/common/event.js';\nimport { KeyCodeChord } from '../../../../base/common/keybindings.js';\nimport { DisposableStore, dispose, MutableDisposable, toDisposable } from '../../../../base/common/lifecycle.js';\nimport * as platform from '../../../../base/common/platform.js';\nimport { StopWatch } from '../../../../base/common/stopwatch.js';\nimport { assertType, isObject } from '../../../../base/common/types.js';\nimport { StableEditorScrollState } from '../../../browser/stableEditorScroll.js';\nimport { EditorAction, EditorCommand, registerEditorAction, registerEditorCommand, registerEditorContribution } from '../../../browser/editorExtensions.js';\nimport { EditOperation } from '../../../common/core/editOperation.js';\nimport { Position } from '../../../common/core/position.js';\nimport { Range } from '../../../common/core/range.js';\nimport { EditorContextKeys } from '../../../common/editorContextKeys.js';\nimport { SnippetController2 } from '../../snippet/browser/snippetController2.js';\nimport { SnippetParser } from '../../snippet/browser/snippetParser.js';\nimport { ISuggestMemoryService } from './suggestMemory.js';\nimport { WordContextKey } from './wordContextKey.js';\nimport * as nls from '../../../../nls.js';\nimport { CommandsRegistry, ICommandService } from '../../../../platform/commands/common/commands.js';\nimport { ContextKeyExpr, IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js';\nimport { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';\nimport { ILogService } from '../../../../platform/log/common/log.js';\nimport { Context as SuggestContext, suggestWidgetStatusbarMenu } from './suggest.js';\nimport { SuggestAlternatives } from './suggestAlternatives.js';\nimport { CommitCharacterController } from './suggestCommitCharacters.js';\nimport { SuggestModel } from './suggestModel.js';\nimport { OvertypingCapturer } from './suggestOvertypingCapturer.js';\nimport { SuggestWidget } from './suggestWidget.js';\nimport { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';\nimport { basename, extname } from '../../../../base/common/resources.js';\nimport { hash } from '../../../../base/common/hash.js';\nimport { WindowIdleValue, getWindow } from '../../../../base/browser/dom.js';\nimport { ModelDecorationOptions } from '../../../common/model/textModel.js';\n// sticky suggest widget which doesn't disappear on focus out and such\nconst _sticky = false;\nclass LineSuffix {\n constructor(_model, _position) {\n this._model = _model;\n this._position = _position;\n this._decorationOptions = ModelDecorationOptions.register({\n description: 'suggest-line-suffix',\n stickiness: 1 /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */\n });\n // spy on what's happening right of the cursor. two cases:\n // 1. end of line -> check that it's still end of line\n // 2. mid of line -> add a marker and compute the delta\n const maxColumn = _model.getLineMaxColumn(_position.lineNumber);\n if (maxColumn !== _position.column) {\n const offset = _model.getOffsetAt(_position);\n const end = _model.getPositionAt(offset + 1);\n _model.changeDecorations(accessor => {\n if (this._marker) {\n accessor.removeDecoration(this._marker);\n }\n this._marker = accessor.addDecoration(Range.fromPositions(_position, end), this._decorationOptions);\n });\n }\n }\n dispose() {\n if (this._marker && !this._model.isDisposed()) {\n this._model.changeDecorations(accessor => {\n accessor.removeDecoration(this._marker);\n this._marker = undefined;\n });\n }\n }\n delta(position) {\n if (this._model.isDisposed() || this._position.lineNumber !== position.lineNumber) {\n // bail out early if things seems fishy\n return 0;\n }\n // read the marker (in case suggest was triggered at line end) or compare\n // the cursor to the line end.\n if (this._marker) {\n const range = this._model.getDecorationRange(this._marker);\n const end = this._model.getOffsetAt(range.getStartPosition());\n return end - this._model.getOffsetAt(position);\n }\n else {\n return this._model.getLineMaxColumn(position.lineNumber) - position.column;\n }\n }\n}\nlet SuggestController = class SuggestController {\n static { SuggestController_1 = this; }\n static { this.ID = 'editor.contrib.suggestController'; }\n static get(editor) {\n return editor.getContribution(SuggestController_1.ID);\n }\n constructor(editor, _memoryService, _commandService, _contextKeyService, _instantiationService, _logService, _telemetryService) {\n this._memoryService = _memoryService;\n this._commandService = _commandService;\n this._contextKeyService = _contextKeyService;\n this._instantiationService = _instantiationService;\n this._logService = _logService;\n this._telemetryService = _telemetryService;\n this._lineSuffix = new MutableDisposable();\n this._toDispose = new DisposableStore();\n this._selectors = new PriorityRegistry(s => s.priority);\n this._onWillInsertSuggestItem = new Emitter();\n this.onWillInsertSuggestItem = this._onWillInsertSuggestItem.event;\n this.editor = editor;\n this.model = _instantiationService.createInstance(SuggestModel, this.editor);\n // default selector\n this._selectors.register({\n priority: 0,\n select: (model, pos, items) => this._memoryService.select(model, pos, items)\n });\n // context key: update insert/replace mode\n const ctxInsertMode = SuggestContext.InsertMode.bindTo(_contextKeyService);\n ctxInsertMode.set(editor.getOption(119 /* EditorOption.suggest */).insertMode);\n this._toDispose.add(this.model.onDidTrigger(() => ctxInsertMode.set(editor.getOption(119 /* EditorOption.suggest */).insertMode)));\n this.widget = this._toDispose.add(new WindowIdleValue(getWindow(editor.getDomNode()), () => {\n const widget = this._instantiationService.createInstance(SuggestWidget, this.editor);\n this._toDispose.add(widget);\n this._toDispose.add(widget.onDidSelect(item => this._insertSuggestion(item, 0 /* InsertFlags.None */), this));\n // Wire up logic to accept a suggestion on certain characters\n const commitCharacterController = new CommitCharacterController(this.editor, widget, this.model, item => this._insertSuggestion(item, 2 /* InsertFlags.NoAfterUndoStop */));\n this._toDispose.add(commitCharacterController);\n // Wire up makes text edit context key\n const ctxMakesTextEdit = SuggestContext.MakesTextEdit.bindTo(this._contextKeyService);\n const ctxHasInsertAndReplace = SuggestContext.HasInsertAndReplaceRange.bindTo(this._contextKeyService);\n const ctxCanResolve = SuggestContext.CanResolve.bindTo(this._contextKeyService);\n this._toDispose.add(toDisposable(() => {\n ctxMakesTextEdit.reset();\n ctxHasInsertAndReplace.reset();\n ctxCanResolve.reset();\n }));\n this._toDispose.add(widget.onDidFocus(({ item }) => {\n // (ctx: makesTextEdit)\n const position = this.editor.getPosition();\n const startColumn = item.editStart.column;\n const endColumn = position.column;\n let value = true;\n if (this.editor.getOption(1 /* EditorOption.acceptSuggestionOnEnter */) === 'smart'\n && this.model.state === 2 /* State.Auto */\n && !item.completion.additionalTextEdits\n && !(item.completion.insertTextRules & 4 /* CompletionItemInsertTextRule.InsertAsSnippet */)\n && endColumn - startColumn === item.completion.insertText.length) {\n const oldText = this.editor.getModel().getValueInRange({\n startLineNumber: position.lineNumber,\n startColumn,\n endLineNumber: position.lineNumber,\n endColumn\n });\n value = oldText !== item.completion.insertText;\n }\n ctxMakesTextEdit.set(value);\n // (ctx: hasInsertAndReplaceRange)\n ctxHasInsertAndReplace.set(!Position.equals(item.editInsertEnd, item.editReplaceEnd));\n // (ctx: canResolve)\n ctxCanResolve.set(Boolean(item.provider.resolveCompletionItem) || Boolean(item.completion.documentation) || item.completion.detail !== item.completion.label);\n }));\n this._toDispose.add(widget.onDetailsKeyDown(e => {\n // cmd + c on macOS, ctrl + c on Win / Linux\n if (e.toKeyCodeChord().equals(new KeyCodeChord(true, false, false, false, 33 /* KeyCode.KeyC */)) ||\n (platform.isMacintosh && e.toKeyCodeChord().equals(new KeyCodeChord(false, false, false, true, 33 /* KeyCode.KeyC */)))) {\n e.stopPropagation();\n return;\n }\n if (!e.toKeyCodeChord().isModifierKey()) {\n this.editor.focus();\n }\n }));\n return widget;\n }));\n // Wire up text overtyping capture\n this._overtypingCapturer = this._toDispose.add(new WindowIdleValue(getWindow(editor.getDomNode()), () => {\n return this._toDispose.add(new OvertypingCapturer(this.editor, this.model));\n }));\n this._alternatives = this._toDispose.add(new WindowIdleValue(getWindow(editor.getDomNode()), () => {\n return this._toDispose.add(new SuggestAlternatives(this.editor, this._contextKeyService));\n }));\n this._toDispose.add(_instantiationService.createInstance(WordContextKey, editor));\n this._toDispose.add(this.model.onDidTrigger(e => {\n this.widget.value.showTriggered(e.auto, e.shy ? 250 : 50);\n this._lineSuffix.value = new LineSuffix(this.editor.getModel(), e.position);\n }));\n this._toDispose.add(this.model.onDidSuggest(e => {\n if (e.triggerOptions.shy) {\n return;\n }\n let index = -1;\n for (const selector of this._selectors.itemsOrderedByPriorityDesc) {\n index = selector.select(this.editor.getModel(), this.editor.getPosition(), e.completionModel.items);\n if (index !== -1) {\n break;\n }\n }\n if (index === -1) {\n index = 0;\n }\n if (this.model.state === 0 /* State.Idle */) {\n // selecting an item can \"pump\" out selection/cursor change events\n // which can cancel suggest halfway through this function. therefore\n // we need to check again and bail if the session has been canceled\n return;\n }\n let noFocus = false;\n if (e.triggerOptions.auto) {\n // don't \"focus\" item when configured to do\n const options = this.editor.getOption(119 /* EditorOption.suggest */);\n if (options.selectionMode === 'never' || options.selectionMode === 'always') {\n // simple: always or never\n noFocus = options.selectionMode === 'never';\n }\n else if (options.selectionMode === 'whenTriggerCharacter') {\n // on with trigger character\n noFocus = e.triggerOptions.triggerKind !== 1 /* CompletionTriggerKind.TriggerCharacter */;\n }\n else if (options.selectionMode === 'whenQuickSuggestion') {\n // without trigger character or when refiltering\n noFocus = e.triggerOptions.triggerKind === 1 /* CompletionTriggerKind.TriggerCharacter */ && !e.triggerOptions.refilter;\n }\n }\n this.widget.value.showSuggestions(e.completionModel, index, e.isFrozen, e.triggerOptions.auto, noFocus);\n }));\n this._toDispose.add(this.model.onDidCancel(e => {\n if (!e.retrigger) {\n this.widget.value.hideWidget();\n }\n }));\n this._toDispose.add(this.editor.onDidBlurEditorWidget(() => {\n if (!_sticky) {\n this.model.cancel();\n this.model.clear();\n }\n }));\n // Manage the acceptSuggestionsOnEnter context key\n const acceptSuggestionsOnEnter = SuggestContext.AcceptSuggestionsOnEnter.bindTo(_contextKeyService);\n const updateFromConfig = () => {\n const acceptSuggestionOnEnter = this.editor.getOption(1 /* EditorOption.acceptSuggestionOnEnter */);\n acceptSuggestionsOnEnter.set(acceptSuggestionOnEnter === 'on' || acceptSuggestionOnEnter === 'smart');\n };\n this._toDispose.add(this.editor.onDidChangeConfiguration(() => updateFromConfig()));\n updateFromConfig();\n }\n dispose() {\n this._alternatives.dispose();\n this._toDispose.dispose();\n this.widget.dispose();\n this.model.dispose();\n this._lineSuffix.dispose();\n this._onWillInsertSuggestItem.dispose();\n }\n _insertSuggestion(event, flags) {\n if (!event || !event.item) {\n this._alternatives.value.reset();\n this.model.cancel();\n this.model.clear();\n return;\n }\n if (!this.editor.hasModel()) {\n return;\n }\n const snippetController = SnippetController2.get(this.editor);\n if (!snippetController) {\n return;\n }\n this._onWillInsertSuggestItem.fire({ item: event.item });\n const model = this.editor.getModel();\n const modelVersionNow = model.getAlternativeVersionId();\n const { item } = event;\n //\n const tasks = [];\n const cts = new CancellationTokenSource();\n // pushing undo stops *before* additional text edits and\n // *after* the main edit\n if (!(flags & 1 /* InsertFlags.NoBeforeUndoStop */)) {\n this.editor.pushUndoStop();\n }\n // compute overwrite[Before|After] deltas BEFORE applying extra edits\n const info = this.getOverwriteInfo(item, Boolean(flags & 8 /* InsertFlags.AlternativeOverwriteConfig */));\n // keep item in memory\n this._memoryService.memorize(model, this.editor.getPosition(), item);\n const isResolved = item.isResolved;\n // telemetry data points: duration of command execution, info about async additional edits (-1=n/a, -2=none, 1=success, 0=failed)\n let _commandExectionDuration = -1;\n let _additionalEditsAppliedAsync = -1;\n if (Array.isArray(item.completion.additionalTextEdits)) {\n // cancel -> stops all listening and closes widget\n this.model.cancel();\n // sync additional edits\n const scrollState = StableEditorScrollState.capture(this.editor);\n this.editor.executeEdits('suggestController.additionalTextEdits.sync', item.completion.additionalTextEdits.map(edit => {\n let range = Range.lift(edit.range);\n if (range.startLineNumber === item.position.lineNumber && range.startColumn > item.position.column) {\n // shift additional edit when it is \"after\" the completion insertion position\n const columnDelta = this.editor.getPosition().column - item.position.column;\n const startColumnDelta = columnDelta;\n const endColumnDelta = Range.spansMultipleLines(range) ? 0 : columnDelta;\n range = new Range(range.startLineNumber, range.startColumn + startColumnDelta, range.endLineNumber, range.endColumn + endColumnDelta);\n }\n return EditOperation.replaceMove(range, edit.text);\n }));\n scrollState.restoreRelativeVerticalPositionOfCursor(this.editor);\n }\n else if (!isResolved) {\n // async additional edits\n const sw = new StopWatch();\n let position;\n const docListener = model.onDidChangeContent(e => {\n if (e.isFlush) {\n cts.cancel();\n docListener.dispose();\n return;\n }\n for (const change of e.changes) {\n const thisPosition = Range.getEndPosition(change.range);\n if (!position || Position.isBefore(thisPosition, position)) {\n position = thisPosition;\n }\n }\n });\n const oldFlags = flags;\n flags |= 2 /* InsertFlags.NoAfterUndoStop */;\n let didType = false;\n const typeListener = this.editor.onWillType(() => {\n typeListener.dispose();\n didType = true;\n if (!(oldFlags & 2 /* InsertFlags.NoAfterUndoStop */)) {\n this.editor.pushUndoStop();\n }\n });\n tasks.push(item.resolve(cts.token).then(() => {\n if (!item.completion.additionalTextEdits || cts.token.isCancellationRequested) {\n return undefined;\n }\n if (position && item.completion.additionalTextEdits.some(edit => Position.isBefore(position, Range.getStartPosition(edit.range)))) {\n return false;\n }\n if (didType) {\n this.editor.pushUndoStop();\n }\n const scrollState = StableEditorScrollState.capture(this.editor);\n this.editor.executeEdits('suggestController.additionalTextEdits.async', item.completion.additionalTextEdits.map(edit => EditOperation.replaceMove(Range.lift(edit.range), edit.text)));\n scrollState.restoreRelativeVerticalPositionOfCursor(this.editor);\n if (didType || !(oldFlags & 2 /* InsertFlags.NoAfterUndoStop */)) {\n this.editor.pushUndoStop();\n }\n return true;\n }).then(applied => {\n this._logService.trace('[suggest] async resolving of edits DONE (ms, applied?)', sw.elapsed(), applied);\n _additionalEditsAppliedAsync = applied === true ? 1 : applied === false ? 0 : -2;\n }).finally(() => {\n docListener.dispose();\n typeListener.dispose();\n }));\n }\n let { insertText } = item.completion;\n if (!(item.completion.insertTextRules & 4 /* CompletionItemInsertTextRule.InsertAsSnippet */)) {\n insertText = SnippetParser.escape(insertText);\n }\n // cancel -> stops all listening and closes widget\n this.model.cancel();\n snippetController.insert(insertText, {\n overwriteBefore: info.overwriteBefore,\n overwriteAfter: info.overwriteAfter,\n undoStopBefore: false,\n undoStopAfter: false,\n adjustWhitespace: !(item.completion.insertTextRules & 1 /* CompletionItemInsertTextRule.KeepWhitespace */),\n clipboardText: event.model.clipboardText,\n overtypingCapturer: this._overtypingCapturer.value\n });\n if (!(flags & 2 /* InsertFlags.NoAfterUndoStop */)) {\n this.editor.pushUndoStop();\n }\n if (item.completion.command) {\n if (item.completion.command.id === TriggerSuggestAction.id) {\n // retigger\n this.model.trigger({ auto: true, retrigger: true });\n }\n else {\n // exec command, done\n const sw = new StopWatch();\n tasks.push(this._commandService.executeCommand(item.completion.command.id, ...(item.completion.command.arguments ? [...item.completion.command.arguments] : [])).catch(e => {\n if (item.completion.extensionId) {\n onUnexpectedExternalError(e);\n }\n else {\n onUnexpectedError(e);\n }\n }).finally(() => {\n _commandExectionDuration = sw.elapsed();\n }));\n }\n }\n if (flags & 4 /* InsertFlags.KeepAlternativeSuggestions */) {\n this._alternatives.value.set(event, next => {\n // cancel resolving of additional edits\n cts.cancel();\n // this is not so pretty. when inserting the 'next'\n // suggestion we undo until we are at the state at\n // which we were before inserting the previous suggestion...\n while (model.canUndo()) {\n if (modelVersionNow !== model.getAlternativeVersionId()) {\n model.undo();\n }\n this._insertSuggestion(next, 1 /* InsertFlags.NoBeforeUndoStop */ | 2 /* InsertFlags.NoAfterUndoStop */ | (flags & 8 /* InsertFlags.AlternativeOverwriteConfig */ ? 8 /* InsertFlags.AlternativeOverwriteConfig */ : 0));\n break;\n }\n });\n }\n this._alertCompletionItem(item);\n // clear only now - after all tasks are done\n Promise.all(tasks).finally(() => {\n this._reportSuggestionAcceptedTelemetry(item, model, isResolved, _commandExectionDuration, _additionalEditsAppliedAsync, event.index, event.model.items);\n this.model.clear();\n cts.dispose();\n });\n }\n _reportSuggestionAcceptedTelemetry(item, model, itemResolved, commandExectionDuration, additionalEditsAppliedAsync, index, completionItems) {\n if (Math.floor(Math.random() * 100) === 0) {\n // throttle telemetry event because accepting completions happens a lot\n return;\n }\n const labelMap = new Map();\n for (let i = 0; i < Math.min(30, completionItems.length); i++) {\n const label = completionItems[i].textLabel;\n if (labelMap.has(label)) {\n labelMap.get(label).push(i);\n }\n else {\n labelMap.set(label, [i]);\n }\n }\n const firstIndexArray = labelMap.get(item.textLabel);\n const hasDuplicates = firstIndexArray && firstIndexArray.length > 1;\n const firstIndex = hasDuplicates ? firstIndexArray[0] : -1;\n this._telemetryService.publicLog2('suggest.acceptedSuggestion', {\n extensionId: item.extensionId?.value ?? 'unknown',\n providerId: item.provider._debugDisplayName ?? 'unknown',\n kind: item.completion.kind,\n basenameHash: hash(basename(model.uri)).toString(16),\n languageId: model.getLanguageId(),\n fileExtension: extname(model.uri),\n resolveInfo: !item.provider.resolveCompletionItem ? -1 : itemResolved ? 1 : 0,\n resolveDuration: item.resolveDuration,\n commandDuration: commandExectionDuration,\n additionalEditsAsync: additionalEditsAppliedAsync,\n index,\n firstIndex,\n });\n }\n getOverwriteInfo(item, toggleMode) {\n assertType(this.editor.hasModel());\n let replace = this.editor.getOption(119 /* EditorOption.suggest */).insertMode === 'replace';\n if (toggleMode) {\n replace = !replace;\n }\n const overwriteBefore = item.position.column - item.editStart.column;\n const overwriteAfter = (replace ? item.editReplaceEnd.column : item.editInsertEnd.column) - item.position.column;\n const columnDelta = this.editor.getPosition().column - item.position.column;\n const suffixDelta = this._lineSuffix.value ? this._lineSuffix.value.delta(this.editor.getPosition()) : 0;\n return {\n overwriteBefore: overwriteBefore + columnDelta,\n overwriteAfter: overwriteAfter + suffixDelta\n };\n }\n _alertCompletionItem(item) {\n if (isNonEmptyArray(item.completion.additionalTextEdits)) {\n const msg = nls.localize('aria.alert.snippet', \"Accepting '{0}' made {1} additional edits\", item.textLabel, item.completion.additionalTextEdits.length);\n alert(msg);\n }\n }\n triggerSuggest(onlyFrom, auto, noFilter) {\n if (this.editor.hasModel()) {\n this.model.trigger({\n auto: auto ?? false,\n completionOptions: { providerFilter: onlyFrom, kindFilter: noFilter ? new Set() : undefined }\n });\n this.editor.revealPosition(this.editor.getPosition(), 0 /* ScrollType.Smooth */);\n this.editor.focus();\n }\n }\n triggerSuggestAndAcceptBest(arg) {\n if (!this.editor.hasModel()) {\n return;\n }\n const positionNow = this.editor.getPosition();\n const fallback = () => {\n if (positionNow.equals(this.editor.getPosition())) {\n this._commandService.executeCommand(arg.fallback);\n }\n };\n const makesTextEdit = (item) => {\n if (item.completion.insertTextRules & 4 /* CompletionItemInsertTextRule.InsertAsSnippet */ || item.completion.additionalTextEdits) {\n // snippet, other editor -> makes edit\n return true;\n }\n const position = this.editor.getPosition();\n const startColumn = item.editStart.column;\n const endColumn = position.column;\n if (endColumn - startColumn !== item.completion.insertText.length) {\n // unequal lengths -> makes edit\n return true;\n }\n const textNow = this.editor.getModel().getValueInRange({\n startLineNumber: position.lineNumber,\n startColumn,\n endLineNumber: position.lineNumber,\n endColumn\n });\n // unequal text -> makes edit\n return textNow !== item.completion.insertText;\n };\n Event.once(this.model.onDidTrigger)(_ => {\n // wait for trigger because only then the cancel-event is trustworthy\n const listener = [];\n Event.any(this.model.onDidTrigger, this.model.onDidCancel)(() => {\n // retrigger or cancel -> try to type default text\n dispose(listener);\n fallback();\n }, undefined, listener);\n this.model.onDidSuggest(({ completionModel }) => {\n dispose(listener);\n if (completionModel.items.length === 0) {\n fallback();\n return;\n }\n const index = this._memoryService.select(this.editor.getModel(), this.editor.getPosition(), completionModel.items);\n const item = completionModel.items[index];\n if (!makesTextEdit(item)) {\n fallback();\n return;\n }\n this.editor.pushUndoStop();\n this._insertSuggestion({ index, item, model: completionModel }, 4 /* InsertFlags.KeepAlternativeSuggestions */ | 1 /* InsertFlags.NoBeforeUndoStop */ | 2 /* InsertFlags.NoAfterUndoStop */);\n }, undefined, listener);\n });\n this.model.trigger({ auto: false, shy: true });\n this.editor.revealPosition(positionNow, 0 /* ScrollType.Smooth */);\n this.editor.focus();\n }\n acceptSelectedSuggestion(keepAlternativeSuggestions, alternativeOverwriteConfig) {\n const item = this.widget.value.getFocusedItem();\n let flags = 0;\n if (keepAlternativeSuggestions) {\n flags |= 4 /* InsertFlags.KeepAlternativeSuggestions */;\n }\n if (alternativeOverwriteConfig) {\n flags |= 8 /* InsertFlags.AlternativeOverwriteConfig */;\n }\n this._insertSuggestion(item, flags);\n }\n acceptNextSuggestion() {\n this._alternatives.value.next();\n }\n acceptPrevSuggestion() {\n this._alternatives.value.prev();\n }\n cancelSuggestWidget() {\n this.model.cancel();\n this.model.clear();\n this.widget.value.hideWidget();\n }\n focusSuggestion() {\n this.widget.value.focusSelected();\n }\n selectNextSuggestion() {\n this.widget.value.selectNext();\n }\n selectNextPageSuggestion() {\n this.widget.value.selectNextPage();\n }\n selectLastSuggestion() {\n this.widget.value.selectLast();\n }\n selectPrevSuggestion() {\n this.widget.value.selectPrevious();\n }\n selectPrevPageSuggestion() {\n this.widget.value.selectPreviousPage();\n }\n selectFirstSuggestion() {\n this.widget.value.selectFirst();\n }\n toggleSuggestionDetails() {\n this.widget.value.toggleDetails();\n }\n toggleExplainMode() {\n this.widget.value.toggleExplainMode();\n }\n toggleSuggestionFocus() {\n this.widget.value.toggleDetailsFocus();\n }\n resetWidgetSize() {\n this.widget.value.resetPersistedSize();\n }\n forceRenderingAbove() {\n this.widget.value.forceRenderingAbove();\n }\n stopForceRenderingAbove() {\n if (!this.widget.isInitialized) {\n // This method has no effect if the widget is not initialized yet.\n return;\n }\n this.widget.value.stopForceRenderingAbove();\n }\n registerSelector(selector) {\n return this._selectors.register(selector);\n }\n};\nSuggestController = SuggestController_1 = __decorate([\n __param(1, ISuggestMemoryService),\n __param(2, ICommandService),\n __param(3, IContextKeyService),\n __param(4, IInstantiationService),\n __param(5, ILogService),\n __param(6, ITelemetryService)\n], SuggestController);\nexport { SuggestController };\nclass PriorityRegistry {\n constructor(prioritySelector) {\n this.prioritySelector = prioritySelector;\n this._items = new Array();\n }\n register(value) {\n if (this._items.indexOf(value) !== -1) {\n throw new Error('Value is already registered');\n }\n this._items.push(value);\n this._items.sort((s1, s2) => this.prioritySelector(s2) - this.prioritySelector(s1));\n return {\n dispose: () => {\n const idx = this._items.indexOf(value);\n if (idx >= 0) {\n this._items.splice(idx, 1);\n }\n }\n };\n }\n get itemsOrderedByPriorityDesc() {\n return this._items;\n }\n}\nexport class TriggerSuggestAction extends EditorAction {\n static { this.id = 'editor.action.triggerSuggest'; }\n constructor() {\n super({\n id: TriggerSuggestAction.id,\n label: nls.localize('suggest.trigger.label', \"Trigger Suggest\"),\n alias: 'Trigger Suggest',\n precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCompletionItemProvider, SuggestContext.Visible.toNegated()),\n kbOpts: {\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 2048 /* KeyMod.CtrlCmd */ | 10 /* KeyCode.Space */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */],\n mac: { primary: 256 /* KeyMod.WinCtrl */ | 10 /* KeyCode.Space */, secondary: [512 /* KeyMod.Alt */ | 9 /* KeyCode.Escape */, 2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */] },\n weight: 100 /* KeybindingWeight.EditorContrib */\n }\n });\n }\n run(_accessor, editor, args) {\n const controller = SuggestController.get(editor);\n if (!controller) {\n return;\n }\n let auto;\n if (args && typeof args === 'object') {\n if (args.auto === true) {\n auto = true;\n }\n }\n controller.triggerSuggest(undefined, auto, undefined);\n }\n}\nregisterEditorContribution(SuggestController.ID, SuggestController, 2 /* EditorContributionInstantiation.BeforeFirstInteraction */);\nregisterEditorAction(TriggerSuggestAction);\nconst weight = 100 /* KeybindingWeight.EditorContrib */ + 90;\nconst SuggestCommand = EditorCommand.bindToContribution(SuggestController.get);\nregisterEditorCommand(new SuggestCommand({\n id: 'acceptSelectedSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.HasFocusedSuggestion),\n handler(x) {\n x.acceptSelectedSuggestion(true, false);\n },\n kbOpts: [{\n // normal tab\n primary: 2 /* KeyCode.Tab */,\n kbExpr: ContextKeyExpr.and(SuggestContext.Visible, EditorContextKeys.textInputFocus),\n weight,\n }, {\n // accept on enter has special rules\n primary: 3 /* KeyCode.Enter */,\n kbExpr: ContextKeyExpr.and(SuggestContext.Visible, EditorContextKeys.textInputFocus, SuggestContext.AcceptSuggestionsOnEnter, SuggestContext.MakesTextEdit),\n weight,\n }],\n menuOpts: [{\n menuId: suggestWidgetStatusbarMenu,\n title: nls.localize('accept.insert', \"Insert\"),\n group: 'left',\n order: 1,\n when: SuggestContext.HasInsertAndReplaceRange.toNegated()\n }, {\n menuId: suggestWidgetStatusbarMenu,\n title: nls.localize('accept.insert', \"Insert\"),\n group: 'left',\n order: 1,\n when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('insert'))\n }, {\n menuId: suggestWidgetStatusbarMenu,\n title: nls.localize('accept.replace', \"Replace\"),\n group: 'left',\n order: 1,\n when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('replace'))\n }]\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'acceptAlternativeSelectedSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, EditorContextKeys.textInputFocus, SuggestContext.HasFocusedSuggestion),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 1024 /* KeyMod.Shift */ | 3 /* KeyCode.Enter */,\n secondary: [1024 /* KeyMod.Shift */ | 2 /* KeyCode.Tab */],\n },\n handler(x) {\n x.acceptSelectedSuggestion(false, true);\n },\n menuOpts: [{\n menuId: suggestWidgetStatusbarMenu,\n group: 'left',\n order: 2,\n when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('insert')),\n title: nls.localize('accept.replace', \"Replace\")\n }, {\n menuId: suggestWidgetStatusbarMenu,\n group: 'left',\n order: 2,\n when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('replace')),\n title: nls.localize('accept.insert', \"Insert\")\n }]\n}));\n// continue to support the old command\nCommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');\nregisterEditorCommand(new SuggestCommand({\n id: 'hideSuggestWidget',\n precondition: SuggestContext.Visible,\n handler: x => x.cancelSuggestWidget(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 9 /* KeyCode.Escape */,\n secondary: [1024 /* KeyMod.Shift */ | 9 /* KeyCode.Escape */]\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectNextSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectNextSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 18 /* KeyCode.DownArrow */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 18 /* KeyCode.DownArrow */],\n mac: { primary: 18 /* KeyCode.DownArrow */, secondary: [2048 /* KeyMod.CtrlCmd */ | 18 /* KeyCode.DownArrow */, 256 /* KeyMod.WinCtrl */ | 44 /* KeyCode.KeyN */] }\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectNextPageSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectNextPageSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 12 /* KeyCode.PageDown */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 12 /* KeyCode.PageDown */]\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectLastSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectLastSuggestion()\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectPrevSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectPrevSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 16 /* KeyCode.UpArrow */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 16 /* KeyCode.UpArrow */],\n mac: { primary: 16 /* KeyCode.UpArrow */, secondary: [2048 /* KeyMod.CtrlCmd */ | 16 /* KeyCode.UpArrow */, 256 /* KeyMod.WinCtrl */ | 46 /* KeyCode.KeyP */] }\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectPrevPageSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectPrevPageSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 11 /* KeyCode.PageUp */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 11 /* KeyCode.PageUp */]\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'selectFirstSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, ContextKeyExpr.or(SuggestContext.MultipleSuggestions, SuggestContext.HasFocusedSuggestion.negate())),\n handler: c => c.selectFirstSuggestion()\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'focusSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.HasFocusedSuggestion.negate()),\n handler: x => x.focusSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 2048 /* KeyMod.CtrlCmd */ | 10 /* KeyCode.Space */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */],\n mac: { primary: 256 /* KeyMod.WinCtrl */ | 10 /* KeyCode.Space */, secondary: [2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */] }\n },\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'focusAndAcceptSuggestion',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.HasFocusedSuggestion.negate()),\n handler: c => {\n c.focusSuggestion();\n c.acceptSelectedSuggestion(true, false);\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'toggleSuggestionDetails',\n precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.HasFocusedSuggestion),\n handler: x => x.toggleSuggestionDetails(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 2048 /* KeyMod.CtrlCmd */ | 10 /* KeyCode.Space */,\n secondary: [2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */],\n mac: { primary: 256 /* KeyMod.WinCtrl */ | 10 /* KeyCode.Space */, secondary: [2048 /* KeyMod.CtrlCmd */ | 39 /* KeyCode.KeyI */] }\n },\n menuOpts: [{\n menuId: suggestWidgetStatusbarMenu,\n group: 'right',\n order: 1,\n when: ContextKeyExpr.and(SuggestContext.DetailsVisible, SuggestContext.CanResolve),\n title: nls.localize('detail.more', \"Show Less\")\n }, {\n menuId: suggestWidgetStatusbarMenu,\n group: 'right',\n order: 1,\n when: ContextKeyExpr.and(SuggestContext.DetailsVisible.toNegated(), SuggestContext.CanResolve),\n title: nls.localize('detail.less', \"Show More\")\n }]\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'toggleExplainMode',\n precondition: SuggestContext.Visible,\n handler: x => x.toggleExplainMode(),\n kbOpts: {\n weight: 100 /* KeybindingWeight.EditorContrib */,\n primary: 2048 /* KeyMod.CtrlCmd */ | 90 /* KeyCode.Slash */,\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'toggleSuggestionFocus',\n precondition: SuggestContext.Visible,\n handler: x => x.toggleSuggestionFocus(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 2048 /* KeyMod.CtrlCmd */ | 512 /* KeyMod.Alt */ | 10 /* KeyCode.Space */,\n mac: { primary: 256 /* KeyMod.WinCtrl */ | 512 /* KeyMod.Alt */ | 10 /* KeyCode.Space */ }\n }\n}));\n//#region tab completions\nregisterEditorCommand(new SuggestCommand({\n id: 'insertBestCompletion',\n precondition: ContextKeyExpr.and(EditorContextKeys.textInputFocus, ContextKeyExpr.equals('config.editor.tabCompletion', 'on'), WordContextKey.AtEnd, SuggestContext.Visible.toNegated(), SuggestAlternatives.OtherSuggestions.toNegated(), SnippetController2.InSnippetMode.toNegated()),\n handler: (x, arg) => {\n x.triggerSuggestAndAcceptBest(isObject(arg) ? { fallback: 'tab', ...arg } : { fallback: 'tab' });\n },\n kbOpts: {\n weight,\n primary: 2 /* KeyCode.Tab */\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'insertNextSuggestion',\n precondition: ContextKeyExpr.and(EditorContextKeys.textInputFocus, ContextKeyExpr.equals('config.editor.tabCompletion', 'on'), SuggestAlternatives.OtherSuggestions, SuggestContext.Visible.toNegated(), SnippetController2.InSnippetMode.toNegated()),\n handler: x => x.acceptNextSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 2 /* KeyCode.Tab */\n }\n}));\nregisterEditorCommand(new SuggestCommand({\n id: 'insertPrevSuggestion',\n precondition: ContextKeyExpr.and(EditorContextKeys.textInputFocus, ContextKeyExpr.equals('config.editor.tabCompletion', 'on'), SuggestAlternatives.OtherSuggestions, SuggestContext.Visible.toNegated(), SnippetController2.InSnippetMode.toNegated()),\n handler: x => x.acceptPrevSuggestion(),\n kbOpts: {\n weight: weight,\n kbExpr: EditorContextKeys.textInputFocus,\n primary: 1024 /* KeyMod.Shift */ | 2 /* KeyCode.Tab */\n }\n}));\nregisterEditorAction(class extends EditorAction {\n constructor() {\n super({\n id: 'editor.action.resetSuggestSize',\n label: nls.localize('suggest.reset.label', \"Reset Suggest Widget Size\"),\n alias: 'Reset Suggest Widget Size',\n precondition: undefined\n });\n }\n run(_accessor, editor) {\n SuggestController.get(editor)?.resetWidgetSize();\n }\n});\n"],"names":["SuggestContext","platform.isMacintosh","_a","nls.localize"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAI,aAA0C,SAAU,YAAY,QAAQ,KAAK,MAAM;AACnF,MAAI,IAAI,UAAU,QAAQ,IAAI,IAAI,IAAI,SAAS,SAAS,OAAO,OAAO,OAAO,yBAAyB,QAAQ,GAAG,IAAI,MAAM;AAC3H,MAAI,OAAO,YAAY,YAAY,OAAO,QAAQ,aAAa,WAAY,KAAI,QAAQ,SAAS,YAAY,QAAQ,KAAK,IAAI;AAAA,MACxH,UAAS,IAAI,WAAW,SAAS,GAAG,KAAK,GAAG,IAAK,KAAI,IAAI,WAAW,CAAC,EAAG,MAAK,IAAI,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE,QAAQ,KAAK,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM;AAChJ,SAAO,IAAI,KAAK,KAAK,OAAO,eAAe,QAAQ,KAAK,CAAC,GAAG;AAChE;AACA,IAAI,UAAoC,SAAU,YAAY,WAAW;AACrE,SAAO,SAAU,QAAQ,KAAK;AAAE,cAAU,QAAQ,KAAK,UAAU;AAAA,EAAE;AACvE;AACA,IAAI;AAuCJ,MAAM,WAAW;AAAA,EACb,YAAY,QAAQ,WAAW;AAC3B,SAAK,SAAS;AACd,SAAK,YAAY;AACjB,SAAK,qBAAqB,uBAAuB,SAAS;AAAA,MACtD,aAAa;AAAA,MACb,YAAY;AAAA;AAAA,IACxB,CAAS;AAID,UAAM,YAAY,OAAO,iBAAiB,UAAU,UAAU;AAC9D,QAAI,cAAc,UAAU,QAAQ;AAChC,YAAM,SAAS,OAAO,YAAY,SAAS;AAC3C,YAAM,M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AAG,oBAAoB,kBAAkBA,QAAe,QAAQ,UAAW,GAAE,mBAAmB,cAAc,WAAW;AAAA,EACrP,SAAS,OAAK,EAAE,qBAAsB;AAAA,EACtC,QAAQ;AAAA,IACJ;AAAA,IACA,QAAQ,kBAAkB;AAAA,IAC1B,SAAS,OAA0B;AAAA;AAAA,EAC3C;AACA,CAAC,CAAC;AACF,qBAAqB,cAAc,aAAa;AAAA,EAC5C,cAAc;AACV,UAAM;AAAA,MACF,IAAI;AAAA,MACJ,OAAOG,SAAa,uBAAuB,2BAA2B;AAAA,MACtE,OAAO;AAAA,MACP,cAAc;AAAA,IAC1B,CAAS;AAAA,EACT;AAAA,EACI,IAAI,WAAW,QAAQ;;AACnB,KAAAD,MAAA,kBAAkB,IAAI,MAAM,MAA5B,gBAAAA,IAA+B;AAAA,EACvC;AACA,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { CancellationToken } from "../../../../base/common/cancellation.es.js";
|
|
2
|
+
import { FuzzyScore } from "../../../../base/common/filters.es.js";
|
|
3
|
+
import { Iterable } from "../../../../base/common/iterator.es.js";
|
|
4
|
+
import { RefCountedDisposable, Disposable } from "../../../../base/common/lifecycle.es.js";
|
|
5
|
+
import { ICodeEditorService } from "../../../browser/services/codeEditorService.es.js";
|
|
6
|
+
import { Range } from "../../../common/core/range.es.js";
|
|
7
|
+
import { registerEditorFeature } from "../../../common/editorFeatures.es.js";
|
|
8
|
+
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.es.js";
|
|
9
|
+
import { LineContext, CompletionModel } from "./completionModel.es.js";
|
|
10
|
+
import { QuickSuggestionsOptions, provideSuggestionItems, CompletionOptions } from "./suggest.es.js";
|
|
11
|
+
import { ISuggestMemoryService } from "./suggestMemory.es.js";
|
|
12
|
+
import { SuggestModel } from "./suggestModel.es.js";
|
|
13
|
+
import { WordDistance } from "./wordDistance.es.js";
|
|
14
|
+
import { IClipboardService } from "../../../../platform/clipboard/common/clipboardService.es.js";
|
|
15
|
+
var __decorate = function(decorators, target, key, desc) {
|
|
16
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
var __param = function(paramIndex, decorator) {
|
|
22
|
+
return function(target, key) {
|
|
23
|
+
decorator(target, key, paramIndex);
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
class SuggestInlineCompletion {
|
|
27
|
+
constructor(range, insertText, filterText, additionalTextEdits, command, completion) {
|
|
28
|
+
this.range = range;
|
|
29
|
+
this.insertText = insertText;
|
|
30
|
+
this.filterText = filterText;
|
|
31
|
+
this.additionalTextEdits = additionalTextEdits;
|
|
32
|
+
this.command = command;
|
|
33
|
+
this.completion = completion;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
let InlineCompletionResults = class InlineCompletionResults2 extends RefCountedDisposable {
|
|
37
|
+
constructor(model, line, word, completionModel, completions, _suggestMemoryService) {
|
|
38
|
+
super(completions.disposable);
|
|
39
|
+
this.model = model;
|
|
40
|
+
this.line = line;
|
|
41
|
+
this.word = word;
|
|
42
|
+
this.completionModel = completionModel;
|
|
43
|
+
this._suggestMemoryService = _suggestMemoryService;
|
|
44
|
+
}
|
|
45
|
+
canBeReused(model, line, word) {
|
|
46
|
+
return this.model === model && this.line === line && this.word.word.length > 0 && this.word.startColumn === word.startColumn && this.word.endColumn < word.endColumn && this.completionModel.getIncompleteProvider().size === 0;
|
|
47
|
+
}
|
|
48
|
+
get items() {
|
|
49
|
+
const result = [];
|
|
50
|
+
const { items } = this.completionModel;
|
|
51
|
+
const selectedIndex = this._suggestMemoryService.select(this.model, { lineNumber: this.line, column: this.word.endColumn + this.completionModel.lineContext.characterCountDelta }, items);
|
|
52
|
+
const first = Iterable.slice(items, selectedIndex);
|
|
53
|
+
const second = Iterable.slice(items, 0, selectedIndex);
|
|
54
|
+
let resolveCount = 5;
|
|
55
|
+
for (const item of Iterable.concat(first, second)) {
|
|
56
|
+
if (item.score === FuzzyScore.Default) {
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
const range = new Range(
|
|
60
|
+
item.editStart.lineNumber,
|
|
61
|
+
item.editStart.column,
|
|
62
|
+
item.editInsertEnd.lineNumber,
|
|
63
|
+
item.editInsertEnd.column + this.completionModel.lineContext.characterCountDelta
|
|
64
|
+
// end PLUS character delta
|
|
65
|
+
);
|
|
66
|
+
const insertText = item.completion.insertTextRules && item.completion.insertTextRules & 4 ? { snippet: item.completion.insertText } : item.completion.insertText;
|
|
67
|
+
result.push(new SuggestInlineCompletion(range, insertText, item.filterTextLow ?? item.labelLow, item.completion.additionalTextEdits, item.completion.command, item));
|
|
68
|
+
if (resolveCount-- >= 0) {
|
|
69
|
+
item.resolve(CancellationToken.None);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return result;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
InlineCompletionResults = __decorate([
|
|
76
|
+
__param(5, ISuggestMemoryService)
|
|
77
|
+
], InlineCompletionResults);
|
|
78
|
+
let SuggestInlineCompletions = class SuggestInlineCompletions2 extends Disposable {
|
|
79
|
+
constructor(_languageFeatureService, _clipboardService, _suggestMemoryService, _editorService) {
|
|
80
|
+
super();
|
|
81
|
+
this._languageFeatureService = _languageFeatureService;
|
|
82
|
+
this._clipboardService = _clipboardService;
|
|
83
|
+
this._suggestMemoryService = _suggestMemoryService;
|
|
84
|
+
this._editorService = _editorService;
|
|
85
|
+
this._store.add(_languageFeatureService.inlineCompletionsProvider.register("*", this));
|
|
86
|
+
}
|
|
87
|
+
async provideInlineCompletions(model, position, context, token) {
|
|
88
|
+
var _a;
|
|
89
|
+
if (context.selectedSuggestionInfo) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
let editor;
|
|
93
|
+
for (const candidate of this._editorService.listCodeEditors()) {
|
|
94
|
+
if (candidate.getModel() === model) {
|
|
95
|
+
editor = candidate;
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (!editor) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
const config = editor.getOption(
|
|
103
|
+
90
|
|
104
|
+
/* EditorOption.quickSuggestions */
|
|
105
|
+
);
|
|
106
|
+
if (QuickSuggestionsOptions.isAllOff(config)) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
model.tokenization.tokenizeIfCheap(position.lineNumber);
|
|
110
|
+
const lineTokens = model.tokenization.getLineTokens(position.lineNumber);
|
|
111
|
+
const tokenType = lineTokens.getStandardTokenType(lineTokens.findTokenIndexAtOffset(Math.max(position.column - 1 - 1, 0)));
|
|
112
|
+
if (QuickSuggestionsOptions.valueFor(config, tokenType) !== "inline") {
|
|
113
|
+
return void 0;
|
|
114
|
+
}
|
|
115
|
+
let wordInfo = model.getWordAtPosition(position);
|
|
116
|
+
let triggerCharacterInfo;
|
|
117
|
+
if (!(wordInfo == null ? void 0 : wordInfo.word)) {
|
|
118
|
+
triggerCharacterInfo = this._getTriggerCharacterInfo(model, position);
|
|
119
|
+
}
|
|
120
|
+
if (!(wordInfo == null ? void 0 : wordInfo.word) && !triggerCharacterInfo) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (!wordInfo) {
|
|
124
|
+
wordInfo = model.getWordUntilPosition(position);
|
|
125
|
+
}
|
|
126
|
+
if (wordInfo.endColumn !== position.column) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
let result;
|
|
130
|
+
const leadingLineContents = model.getValueInRange(new Range(position.lineNumber, 1, position.lineNumber, position.column));
|
|
131
|
+
if (!triggerCharacterInfo && ((_a = this._lastResult) == null ? void 0 : _a.canBeReused(model, position.lineNumber, wordInfo))) {
|
|
132
|
+
const newLineContext = new LineContext(leadingLineContents, position.column - this._lastResult.word.endColumn);
|
|
133
|
+
this._lastResult.completionModel.lineContext = newLineContext;
|
|
134
|
+
this._lastResult.acquire();
|
|
135
|
+
result = this._lastResult;
|
|
136
|
+
} else {
|
|
137
|
+
const completions = await provideSuggestionItems(this._languageFeatureService.completionProvider, model, position, new CompletionOptions(void 0, SuggestModel.createSuggestFilter(editor).itemKind, triggerCharacterInfo == null ? void 0 : triggerCharacterInfo.providers), triggerCharacterInfo && { triggerKind: 1, triggerCharacter: triggerCharacterInfo.ch }, token);
|
|
138
|
+
let clipboardText;
|
|
139
|
+
if (completions.needsClipboard) {
|
|
140
|
+
clipboardText = await this._clipboardService.readText();
|
|
141
|
+
}
|
|
142
|
+
const completionModel = new CompletionModel(completions.items, position.column, new LineContext(leadingLineContents, 0), WordDistance.None, editor.getOption(
|
|
143
|
+
119
|
|
144
|
+
/* EditorOption.suggest */
|
|
145
|
+
), editor.getOption(
|
|
146
|
+
113
|
|
147
|
+
/* EditorOption.snippetSuggestions */
|
|
148
|
+
), { boostFullMatch: false, firstMatchCanBeWeak: false }, clipboardText);
|
|
149
|
+
result = new InlineCompletionResults(model, position.lineNumber, wordInfo, completionModel, completions, this._suggestMemoryService);
|
|
150
|
+
}
|
|
151
|
+
this._lastResult = result;
|
|
152
|
+
return result;
|
|
153
|
+
}
|
|
154
|
+
handleItemDidShow(_completions, item) {
|
|
155
|
+
item.completion.resolve(CancellationToken.None);
|
|
156
|
+
}
|
|
157
|
+
freeInlineCompletions(result) {
|
|
158
|
+
result.release();
|
|
159
|
+
}
|
|
160
|
+
_getTriggerCharacterInfo(model, position) {
|
|
161
|
+
var _a;
|
|
162
|
+
const ch = model.getValueInRange(Range.fromPositions({ lineNumber: position.lineNumber, column: position.column - 1 }, position));
|
|
163
|
+
const providers = /* @__PURE__ */ new Set();
|
|
164
|
+
for (const provider of this._languageFeatureService.completionProvider.all(model)) {
|
|
165
|
+
if ((_a = provider.triggerCharacters) == null ? void 0 : _a.includes(ch)) {
|
|
166
|
+
providers.add(provider);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (providers.size === 0) {
|
|
170
|
+
return void 0;
|
|
171
|
+
}
|
|
172
|
+
return { providers, ch };
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
SuggestInlineCompletions = __decorate([
|
|
176
|
+
__param(0, ILanguageFeaturesService),
|
|
177
|
+
__param(1, IClipboardService),
|
|
178
|
+
__param(2, ISuggestMemoryService),
|
|
179
|
+
__param(3, ICodeEditorService)
|
|
180
|
+
], SuggestInlineCompletions);
|
|
181
|
+
registerEditorFeature(SuggestInlineCompletions);
|
|
182
|
+
export {
|
|
183
|
+
SuggestInlineCompletions
|
|
184
|
+
};
|
|
185
|
+
//# sourceMappingURL=suggestInlineCompletions.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestInlineCompletions.es.js","sources":["../../../../../../../../../../../../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nimport { CancellationToken } from '../../../../base/common/cancellation.js';\nimport { FuzzyScore } from '../../../../base/common/filters.js';\nimport { Iterable } from '../../../../base/common/iterator.js';\nimport { Disposable, RefCountedDisposable } from '../../../../base/common/lifecycle.js';\nimport { ICodeEditorService } from '../../../browser/services/codeEditorService.js';\nimport { Range } from '../../../common/core/range.js';\nimport { registerEditorFeature } from '../../../common/editorFeatures.js';\nimport { ILanguageFeaturesService } from '../../../common/services/languageFeatures.js';\nimport { CompletionModel, LineContext } from './completionModel.js';\nimport { CompletionOptions, provideSuggestionItems, QuickSuggestionsOptions } from './suggest.js';\nimport { ISuggestMemoryService } from './suggestMemory.js';\nimport { SuggestModel } from './suggestModel.js';\nimport { WordDistance } from './wordDistance.js';\nimport { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js';\nclass SuggestInlineCompletion {\n constructor(range, insertText, filterText, additionalTextEdits, command, completion) {\n this.range = range;\n this.insertText = insertText;\n this.filterText = filterText;\n this.additionalTextEdits = additionalTextEdits;\n this.command = command;\n this.completion = completion;\n }\n}\nlet InlineCompletionResults = class InlineCompletionResults extends RefCountedDisposable {\n constructor(model, line, word, completionModel, completions, _suggestMemoryService) {\n super(completions.disposable);\n this.model = model;\n this.line = line;\n this.word = word;\n this.completionModel = completionModel;\n this._suggestMemoryService = _suggestMemoryService;\n }\n canBeReused(model, line, word) {\n return this.model === model // same model\n && this.line === line\n && this.word.word.length > 0\n && this.word.startColumn === word.startColumn && this.word.endColumn < word.endColumn // same word\n && this.completionModel.getIncompleteProvider().size === 0; // no incomplete results\n }\n get items() {\n const result = [];\n // Split items by preselected index. This ensures the memory-selected item shows first and that better/worst\n // ranked items are before/after\n const { items } = this.completionModel;\n const selectedIndex = this._suggestMemoryService.select(this.model, { lineNumber: this.line, column: this.word.endColumn + this.completionModel.lineContext.characterCountDelta }, items);\n const first = Iterable.slice(items, selectedIndex);\n const second = Iterable.slice(items, 0, selectedIndex);\n let resolveCount = 5;\n for (const item of Iterable.concat(first, second)) {\n if (item.score === FuzzyScore.Default) {\n // skip items that have no overlap\n continue;\n }\n const range = new Range(item.editStart.lineNumber, item.editStart.column, item.editInsertEnd.lineNumber, item.editInsertEnd.column + this.completionModel.lineContext.characterCountDelta // end PLUS character delta\n );\n const insertText = item.completion.insertTextRules && (item.completion.insertTextRules & 4 /* CompletionItemInsertTextRule.InsertAsSnippet */)\n ? { snippet: item.completion.insertText }\n : item.completion.insertText;\n result.push(new SuggestInlineCompletion(range, insertText, item.filterTextLow ?? item.labelLow, item.completion.additionalTextEdits, item.completion.command, item));\n // resolve the first N suggestions eagerly\n if (resolveCount-- >= 0) {\n item.resolve(CancellationToken.None);\n }\n }\n return result;\n }\n};\nInlineCompletionResults = __decorate([\n __param(5, ISuggestMemoryService)\n], InlineCompletionResults);\nlet SuggestInlineCompletions = class SuggestInlineCompletions extends Disposable {\n constructor(_languageFeatureService, _clipboardService, _suggestMemoryService, _editorService) {\n super();\n this._languageFeatureService = _languageFeatureService;\n this._clipboardService = _clipboardService;\n this._suggestMemoryService = _suggestMemoryService;\n this._editorService = _editorService;\n this._store.add(_languageFeatureService.inlineCompletionsProvider.register('*', this));\n }\n async provideInlineCompletions(model, position, context, token) {\n if (context.selectedSuggestionInfo) {\n return;\n }\n let editor;\n for (const candidate of this._editorService.listCodeEditors()) {\n if (candidate.getModel() === model) {\n editor = candidate;\n break;\n }\n }\n if (!editor) {\n return;\n }\n const config = editor.getOption(90 /* EditorOption.quickSuggestions */);\n if (QuickSuggestionsOptions.isAllOff(config)) {\n // quick suggest is off (for this model/language)\n return;\n }\n model.tokenization.tokenizeIfCheap(position.lineNumber);\n const lineTokens = model.tokenization.getLineTokens(position.lineNumber);\n const tokenType = lineTokens.getStandardTokenType(lineTokens.findTokenIndexAtOffset(Math.max(position.column - 1 - 1, 0)));\n if (QuickSuggestionsOptions.valueFor(config, tokenType) !== 'inline') {\n // quick suggest is off (for this token)\n return undefined;\n }\n // We consider non-empty leading words and trigger characters. The latter only\n // when no word is being typed (word characters superseed trigger characters)\n let wordInfo = model.getWordAtPosition(position);\n let triggerCharacterInfo;\n if (!wordInfo?.word) {\n triggerCharacterInfo = this._getTriggerCharacterInfo(model, position);\n }\n if (!wordInfo?.word && !triggerCharacterInfo) {\n // not at word, not a trigger character\n return;\n }\n // ensure that we have word information and that we are at the end of a word\n // otherwise we stop because we don't want to do quick suggestions inside words\n if (!wordInfo) {\n wordInfo = model.getWordUntilPosition(position);\n }\n if (wordInfo.endColumn !== position.column) {\n return;\n }\n let result;\n const leadingLineContents = model.getValueInRange(new Range(position.lineNumber, 1, position.lineNumber, position.column));\n if (!triggerCharacterInfo && this._lastResult?.canBeReused(model, position.lineNumber, wordInfo)) {\n // reuse a previous result iff possible, only a refilter is needed\n // TODO@jrieken this can be improved further and only incomplete results can be updated\n // console.log(`REUSE with ${wordInfo.word}`);\n const newLineContext = new LineContext(leadingLineContents, position.column - this._lastResult.word.endColumn);\n this._lastResult.completionModel.lineContext = newLineContext;\n this._lastResult.acquire();\n result = this._lastResult;\n }\n else {\n // refesh model is required\n const completions = await provideSuggestionItems(this._languageFeatureService.completionProvider, model, position, new CompletionOptions(undefined, SuggestModel.createSuggestFilter(editor).itemKind, triggerCharacterInfo?.providers), triggerCharacterInfo && { triggerKind: 1 /* CompletionTriggerKind.TriggerCharacter */, triggerCharacter: triggerCharacterInfo.ch }, token);\n let clipboardText;\n if (completions.needsClipboard) {\n clipboardText = await this._clipboardService.readText();\n }\n const completionModel = new CompletionModel(completions.items, position.column, new LineContext(leadingLineContents, 0), WordDistance.None, editor.getOption(119 /* EditorOption.suggest */), editor.getOption(113 /* EditorOption.snippetSuggestions */), { boostFullMatch: false, firstMatchCanBeWeak: false }, clipboardText);\n result = new InlineCompletionResults(model, position.lineNumber, wordInfo, completionModel, completions, this._suggestMemoryService);\n }\n this._lastResult = result;\n return result;\n }\n handleItemDidShow(_completions, item) {\n item.completion.resolve(CancellationToken.None);\n }\n freeInlineCompletions(result) {\n result.release();\n }\n _getTriggerCharacterInfo(model, position) {\n const ch = model.getValueInRange(Range.fromPositions({ lineNumber: position.lineNumber, column: position.column - 1 }, position));\n const providers = new Set();\n for (const provider of this._languageFeatureService.completionProvider.all(model)) {\n if (provider.triggerCharacters?.includes(ch)) {\n providers.add(provider);\n }\n }\n if (providers.size === 0) {\n return undefined;\n }\n return { providers, ch };\n }\n};\nSuggestInlineCompletions = __decorate([\n __param(0, ILanguageFeaturesService),\n __param(1, IClipboardService),\n __param(2, ISuggestMemoryService),\n __param(3, ICodeEditorService)\n], SuggestInlineCompletions);\nexport { SuggestInlineCompletions };\nregisterEditorFeature(SuggestInlineCompletions);\n"],"names":["InlineCompletionResults","SuggestInlineCompletions"],"mappings":";;;;;;;;;;;;;;AAIA,IAAI,aAA0C,SAAU,YAAY,QAAQ,KAAK,MAAM;AACnF,MAAI,IAAI,UAAU,QAAQ,IAAI,IAAI,IAAI,SAAS,SAAS,OAAO,OAAO,OAAO,yBAAyB,QAAQ,GAAG,IAAI,MAAM;AAC3H,MAAI,OAAO,YAAY,YAAY,OAAO,QAAQ,aAAa,WAAY,KAAI,QAAQ,SAAS,YAAY,QAAQ,KAAK,IAAI;AAAA,MACxH,UAAS,IAAI,WAAW,SAAS,GAAG,KAAK,GAAG,IAAK,KAAI,IAAI,WAAW,CAAC,EAAG,MAAK,IAAI,IAAI,EAAE,CAAC,IAAI,IAAI,IAAI,EAAE,QAAQ,KAAK,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM;AAChJ,SAAO,IAAI,KAAK,KAAK,OAAO,eAAe,QAAQ,KAAK,CAAC,GAAG;AAChE;AACA,IAAI,UAAoC,SAAU,YAAY,WAAW;AACrE,SAAO,SAAU,QAAQ,KAAK;AAAE,cAAU,QAAQ,KAAK,UAAU;AAAA,EAAE;AACvE;AAeA,MAAM,wBAAwB;AAAA,EAC1B,YAAY,OAAO,YAAY,YAAY,qBAAqB,SAAS,YAAY;AACjF,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,gBAAgB,OAAO,qBAAqB,MAAK,GAAI,aAAa;AAC/T,eAAS,IAAI,wBAAwB,OAAO,SAAS,YAAY,UAAU,iBAAiB,aAAa,KAAK,qBAAqB;AAAA,IAC/I;AACQ,SAAK,cAAc;AACnB,WAAO;AAAA,EACf;AAAA,EACI,kBAAkB,cAAc,MAAM;AAClC,SAAK,WAAW,QAAQ,kBAAkB,IAAI;AAAA,EACtD;AAAA,EACI,sBAAsB,QAAQ;AAC1B,WAAO,QAAS;AAAA,EACxB;AAAA,EACI,yBAAyB,OAAO,UAAU;;AACtC,UAAM,KAAK,MAAM,gBAAgB,MAAM,cAAc,EAAE,YAAY,SAAS,YAAY,QAAQ,SAAS,SAAS,EAAC,GAAI,QAAQ,CAAC;AAChI,UAAM,YAAY,oBAAI,IAAK;AAC3B,eAAW,YAAY,KAAK,wBAAwB,mBAAmB,IAAI,KAAK,GAAG;AAC/E,WAAI,cAAS,sBAAT,mBAA4B,SAAS,KAAK;AAC1C,kBAAU,IAAI,QAAQ;AAAA,MACtC;AAAA,IACA;AACQ,QAAI,UAAU,SAAS,GAAG;AACtB,aAAO;AAAA,IACnB;AACQ,WAAO,EAAE,WAAW,GAAI;AAAA,EAChC;AACA;AACA,2BAA2B,WAAW;AAAA,EAClC,QAAQ,GAAG,wBAAwB;AAAA,EACnC,QAAQ,GAAG,iBAAiB;AAAA,EAC5B,QAAQ,GAAG,qBAAqB;AAAA,EAChC,QAAQ,GAAG,kBAAkB;AACjC,GAAG,wBAAwB;AAE3B,sBAAsB,wBAAwB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { RunOnceScheduler } from "../../../../base/common/async.es.js";
|
|
3
|
+
import { DisposableStore } from "../../../../base/common/lifecycle.es.js";
|
|
4
|
+
import { LRUCache } from "../../../../base/common/map.es.js";
|
|
5
|
+
import { TernarySearchTree } from "../../../../base/common/ternarySearchTree.es.js";
|
|
6
|
+
import { CompletionItemKinds } from "../../../common/languages.es.js";
|
|
7
|
+
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.es.js";
|
|
8
|
+
import { registerSingleton } from "../../../../platform/instantiation/common/extensions.es.js";
|
|
9
|
+
import { createDecorator } from "../../../../platform/instantiation/common/instantiation.es.js";
|
|
10
|
+
import { WillSaveStateReason, IStorageService } from "../../../../platform/storage/common/storage.es.js";
|
|
11
|
+
var __decorate = function(decorators, target, key, desc) {
|
|
12
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16
|
+
};
|
|
17
|
+
var __param = function(paramIndex, decorator) {
|
|
18
|
+
return function(target, key) {
|
|
19
|
+
decorator(target, key, paramIndex);
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
var SuggestMemoryService_1;
|
|
23
|
+
class Memory {
|
|
24
|
+
constructor(name) {
|
|
25
|
+
this.name = name;
|
|
26
|
+
}
|
|
27
|
+
select(model, pos, items) {
|
|
28
|
+
if (items.length === 0) {
|
|
29
|
+
return 0;
|
|
30
|
+
}
|
|
31
|
+
const topScore = items[0].score[0];
|
|
32
|
+
for (let i = 0; i < items.length; i++) {
|
|
33
|
+
const { score, completion: suggestion } = items[i];
|
|
34
|
+
if (score[0] !== topScore) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
if (suggestion.preselect) {
|
|
38
|
+
return i;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class NoMemory extends Memory {
|
|
45
|
+
constructor() {
|
|
46
|
+
super("first");
|
|
47
|
+
}
|
|
48
|
+
memorize(model, pos, item) {
|
|
49
|
+
}
|
|
50
|
+
toJSON() {
|
|
51
|
+
return void 0;
|
|
52
|
+
}
|
|
53
|
+
fromJSON() {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
class LRUMemory extends Memory {
|
|
57
|
+
constructor() {
|
|
58
|
+
super("recentlyUsed");
|
|
59
|
+
this._cache = new LRUCache(300, 0.66);
|
|
60
|
+
this._seq = 0;
|
|
61
|
+
}
|
|
62
|
+
memorize(model, pos, item) {
|
|
63
|
+
const key = `${model.getLanguageId()}/${item.textLabel}`;
|
|
64
|
+
this._cache.set(key, {
|
|
65
|
+
touch: this._seq++,
|
|
66
|
+
type: item.completion.kind,
|
|
67
|
+
insertText: item.completion.insertText
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
select(model, pos, items) {
|
|
71
|
+
if (items.length === 0) {
|
|
72
|
+
return 0;
|
|
73
|
+
}
|
|
74
|
+
const lineSuffix = model.getLineContent(pos.lineNumber).substr(pos.column - 10, pos.column - 1);
|
|
75
|
+
if (/\s$/.test(lineSuffix)) {
|
|
76
|
+
return super.select(model, pos, items);
|
|
77
|
+
}
|
|
78
|
+
const topScore = items[0].score[0];
|
|
79
|
+
let indexPreselect = -1;
|
|
80
|
+
let indexRecency = -1;
|
|
81
|
+
let seq = -1;
|
|
82
|
+
for (let i = 0; i < items.length; i++) {
|
|
83
|
+
if (items[i].score[0] !== topScore) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
const key = `${model.getLanguageId()}/${items[i].textLabel}`;
|
|
87
|
+
const item = this._cache.peek(key);
|
|
88
|
+
if (item && item.touch > seq && item.type === items[i].completion.kind && item.insertText === items[i].completion.insertText) {
|
|
89
|
+
seq = item.touch;
|
|
90
|
+
indexRecency = i;
|
|
91
|
+
}
|
|
92
|
+
if (items[i].completion.preselect && indexPreselect === -1) {
|
|
93
|
+
return indexPreselect = i;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (indexRecency !== -1) {
|
|
97
|
+
return indexRecency;
|
|
98
|
+
} else if (indexPreselect !== -1) {
|
|
99
|
+
return indexPreselect;
|
|
100
|
+
} else {
|
|
101
|
+
return 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
toJSON() {
|
|
105
|
+
return this._cache.toJSON();
|
|
106
|
+
}
|
|
107
|
+
fromJSON(data) {
|
|
108
|
+
this._cache.clear();
|
|
109
|
+
const seq = 0;
|
|
110
|
+
for (const [key, value] of data) {
|
|
111
|
+
value.touch = seq;
|
|
112
|
+
value.type = typeof value.type === "number" ? value.type : CompletionItemKinds.fromString(value.type);
|
|
113
|
+
this._cache.set(key, value);
|
|
114
|
+
}
|
|
115
|
+
this._seq = this._cache.size;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
class PrefixMemory extends Memory {
|
|
119
|
+
constructor() {
|
|
120
|
+
super("recentlyUsedByPrefix");
|
|
121
|
+
this._trie = TernarySearchTree.forStrings();
|
|
122
|
+
this._seq = 0;
|
|
123
|
+
}
|
|
124
|
+
memorize(model, pos, item) {
|
|
125
|
+
const { word } = model.getWordUntilPosition(pos);
|
|
126
|
+
const key = `${model.getLanguageId()}/${word}`;
|
|
127
|
+
this._trie.set(key, {
|
|
128
|
+
type: item.completion.kind,
|
|
129
|
+
insertText: item.completion.insertText,
|
|
130
|
+
touch: this._seq++
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
select(model, pos, items) {
|
|
134
|
+
const { word } = model.getWordUntilPosition(pos);
|
|
135
|
+
if (!word) {
|
|
136
|
+
return super.select(model, pos, items);
|
|
137
|
+
}
|
|
138
|
+
const key = `${model.getLanguageId()}/${word}`;
|
|
139
|
+
let item = this._trie.get(key);
|
|
140
|
+
if (!item) {
|
|
141
|
+
item = this._trie.findSubstr(key);
|
|
142
|
+
}
|
|
143
|
+
if (item) {
|
|
144
|
+
for (let i = 0; i < items.length; i++) {
|
|
145
|
+
const { kind, insertText } = items[i].completion;
|
|
146
|
+
if (kind === item.type && insertText === item.insertText) {
|
|
147
|
+
return i;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return super.select(model, pos, items);
|
|
152
|
+
}
|
|
153
|
+
toJSON() {
|
|
154
|
+
const entries = [];
|
|
155
|
+
this._trie.forEach((value, key) => entries.push([key, value]));
|
|
156
|
+
entries.sort((a, b) => -(a[1].touch - b[1].touch)).forEach((value, i) => value[1].touch = i);
|
|
157
|
+
return entries.slice(0, 200);
|
|
158
|
+
}
|
|
159
|
+
fromJSON(data) {
|
|
160
|
+
this._trie.clear();
|
|
161
|
+
if (data.length > 0) {
|
|
162
|
+
this._seq = data[0][1].touch + 1;
|
|
163
|
+
for (const [key, value] of data) {
|
|
164
|
+
value.type = typeof value.type === "number" ? value.type : CompletionItemKinds.fromString(value.type);
|
|
165
|
+
this._trie.set(key, value);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
let SuggestMemoryService = (_a = class {
|
|
171
|
+
constructor(_storageService, _configService) {
|
|
172
|
+
this._storageService = _storageService;
|
|
173
|
+
this._configService = _configService;
|
|
174
|
+
this._disposables = new DisposableStore();
|
|
175
|
+
this._persistSoon = new RunOnceScheduler(() => this._saveState(), 500);
|
|
176
|
+
this._disposables.add(_storageService.onWillSaveState((e) => {
|
|
177
|
+
if (e.reason === WillSaveStateReason.SHUTDOWN) {
|
|
178
|
+
this._saveState();
|
|
179
|
+
}
|
|
180
|
+
}));
|
|
181
|
+
}
|
|
182
|
+
dispose() {
|
|
183
|
+
this._disposables.dispose();
|
|
184
|
+
this._persistSoon.dispose();
|
|
185
|
+
}
|
|
186
|
+
memorize(model, pos, item) {
|
|
187
|
+
this._withStrategy(model, pos).memorize(model, pos, item);
|
|
188
|
+
this._persistSoon.schedule();
|
|
189
|
+
}
|
|
190
|
+
select(model, pos, items) {
|
|
191
|
+
return this._withStrategy(model, pos).select(model, pos, items);
|
|
192
|
+
}
|
|
193
|
+
_withStrategy(model, pos) {
|
|
194
|
+
var _a2;
|
|
195
|
+
const mode = this._configService.getValue("editor.suggestSelection", {
|
|
196
|
+
overrideIdentifier: model.getLanguageIdAtPosition(pos.lineNumber, pos.column),
|
|
197
|
+
resource: model.uri
|
|
198
|
+
});
|
|
199
|
+
if (((_a2 = this._strategy) == null ? void 0 : _a2.name) !== mode) {
|
|
200
|
+
this._saveState();
|
|
201
|
+
const ctor = SuggestMemoryService_1._strategyCtors.get(mode) || NoMemory;
|
|
202
|
+
this._strategy = new ctor();
|
|
203
|
+
try {
|
|
204
|
+
const share = this._configService.getValue("editor.suggest.shareSuggestSelections");
|
|
205
|
+
const scope = share ? 0 : 1;
|
|
206
|
+
const raw = this._storageService.get(`${SuggestMemoryService_1._storagePrefix}/${mode}`, scope);
|
|
207
|
+
if (raw) {
|
|
208
|
+
this._strategy.fromJSON(JSON.parse(raw));
|
|
209
|
+
}
|
|
210
|
+
} catch (e) {
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return this._strategy;
|
|
214
|
+
}
|
|
215
|
+
_saveState() {
|
|
216
|
+
if (this._strategy) {
|
|
217
|
+
const share = this._configService.getValue("editor.suggest.shareSuggestSelections");
|
|
218
|
+
const scope = share ? 0 : 1;
|
|
219
|
+
const raw = JSON.stringify(this._strategy);
|
|
220
|
+
this._storageService.store(
|
|
221
|
+
`${SuggestMemoryService_1._storagePrefix}/${this._strategy.name}`,
|
|
222
|
+
raw,
|
|
223
|
+
scope,
|
|
224
|
+
1
|
|
225
|
+
/* StorageTarget.MACHINE */
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}, SuggestMemoryService_1 = _a, _a._strategyCtors = /* @__PURE__ */ new Map([
|
|
230
|
+
["recentlyUsedByPrefix", PrefixMemory],
|
|
231
|
+
["recentlyUsed", LRUMemory],
|
|
232
|
+
["first", NoMemory]
|
|
233
|
+
]), _a._storagePrefix = "suggest/memories", _a);
|
|
234
|
+
SuggestMemoryService = SuggestMemoryService_1 = __decorate([
|
|
235
|
+
__param(0, IStorageService),
|
|
236
|
+
__param(1, IConfigurationService)
|
|
237
|
+
], SuggestMemoryService);
|
|
238
|
+
const ISuggestMemoryService = createDecorator("ISuggestMemories");
|
|
239
|
+
registerSingleton(
|
|
240
|
+
ISuggestMemoryService,
|
|
241
|
+
SuggestMemoryService,
|
|
242
|
+
1
|
|
243
|
+
/* InstantiationType.Delayed */
|
|
244
|
+
);
|
|
245
|
+
export {
|
|
246
|
+
ISuggestMemoryService,
|
|
247
|
+
LRUMemory,
|
|
248
|
+
Memory,
|
|
249
|
+
NoMemory,
|
|
250
|
+
PrefixMemory,
|
|
251
|
+
SuggestMemoryService
|
|
252
|
+
};
|
|
253
|
+
//# sourceMappingURL=suggestMemory.es.js.map
|