mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
deploy: ff3621a3fa
This commit is contained in:
parent
09ae9d1ee6
commit
4b2ad6cef2
1868 changed files with 41542 additions and 29565 deletions
3248
node_modules/monaco-editor-core/dev/bundleInfo.json
generated
vendored
3248
node_modules/monaco-editor-core/dev/bundleInfo.json
generated
vendored
File diff suppressed because it is too large
Load diff
1366
node_modules/monaco-editor-core/dev/nls.metadata.json
generated
vendored
1366
node_modules/monaco-editor-core/dev/nls.metadata.json
generated
vendored
File diff suppressed because it is too large
Load diff
BIN
node_modules/monaco-editor-core/dev/vs/base/browser/ui/codicons/codicon/codicon.ttf
generated
vendored
BIN
node_modules/monaco-editor-core/dev/vs/base/browser/ui/codicons/codicon/codicon.ttf
generated
vendored
Binary file not shown.
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.de.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.de.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.es.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.es.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.fr.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.fr.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.it.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.it.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ja.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ja.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ko.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ko.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ru.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.ru.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.zh-cn.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.zh-cn.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.zh-tw.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/common/worker/simpleWorker.nls.zh-tw.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
2033
node_modules/monaco-editor-core/dev/vs/base/worker/workerMain.js
generated
vendored
2033
node_modules/monaco-editor-core/dev/vs/base/worker/workerMain.js
generated
vendored
File diff suppressed because it is too large
Load diff
2
node_modules/monaco-editor-core/dev/vs/base/worker/workerMain.js.map
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/base/worker/workerMain.js.map
generated
vendored
File diff suppressed because one or more lines are too long
137
node_modules/monaco-editor-core/dev/vs/editor/editor.main.css
generated
vendored
137
node_modules/monaco-editor-core/dev/vs/editor/editor.main.css
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -1908,7 +1908,6 @@
|
|||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
|
|
@ -2784,7 +2783,7 @@
|
|||
}
|
||||
|
||||
.colorpicker-header .picked-color {
|
||||
width: 216px;
|
||||
width: 240px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -2811,6 +2810,35 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.standalone-colorpicker {
|
||||
color: var(--vscode-editorHoverWidget-foreground);
|
||||
background-color: var(--vscode-editorHoverWidget-background);
|
||||
border: 1px solid var(--vscode-editorHoverWidget-border);
|
||||
}
|
||||
|
||||
.colorpicker-header.standalone-colorpicker {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.colorpicker-header .close-button {
|
||||
cursor: pointer;
|
||||
background-color: var(--vscode-editorHoverWidget-background);
|
||||
border-left: 1px solid var(--vscode-editorHoverWidget-border);
|
||||
}
|
||||
|
||||
.colorpicker-header .close-button-inner-div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.colorpicker-header .close-button-inner-div:hover {
|
||||
background-color: var(--vscode-toolbar-hoverBackground);
|
||||
}
|
||||
|
||||
.colorpicker-header .close-icon {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
/* Body */
|
||||
|
||||
|
|
@ -2848,6 +2876,11 @@
|
|||
height: 150px;
|
||||
}
|
||||
|
||||
.colorpicker-body .standalone-strip {
|
||||
width: 25px;
|
||||
height: 122px;
|
||||
}
|
||||
|
||||
.colorpicker-body .hue-strip {
|
||||
position: relative;
|
||||
margin-left: 8px;
|
||||
|
|
@ -2884,6 +2917,35 @@
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
.colorpicker-body .standalone-strip .standalone-overlay {
|
||||
height: 122px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.standalone-colorpicker-body {
|
||||
display: block;
|
||||
border: 1px solid transparent;
|
||||
border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.colorpicker-body .insert-button {
|
||||
height: 20px;
|
||||
width: 58px;
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
background: var(--vscode-button-background);
|
||||
color: var(--vscode-button-foreground);
|
||||
border-radius: 2px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.colorpicker-body .insert-button:hover{
|
||||
background: var(--vscode-button-hoverBackground);
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
|
@ -2916,6 +2978,33 @@
|
|||
cursor: copy;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.post-edit-widget {
|
||||
box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);
|
||||
border: 1px solid var(--vscode-widget-border, transparent);
|
||||
border-radius: 4px;
|
||||
background-color: var(--vscode-editorWidget-background);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.post-edit-widget .monaco-button {
|
||||
padding: 2px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.post-edit-widget .monaco-button:hover {
|
||||
background-color: var(--vscode-button-secondaryHoverBackground) !important;
|
||||
}
|
||||
|
||||
.post-edit-widget .monaco-button .codicon {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
|
@ -3402,6 +3491,7 @@
|
|||
color: var(--vscode-editorHoverWidget-foreground);
|
||||
background-color: var(--vscode-editorHoverWidget-background);
|
||||
border: 1px solid var(--vscode-editorHoverWidget-border);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.monaco-editor .monaco-hover a {
|
||||
|
|
@ -3458,11 +3548,7 @@
|
|||
font-size: 0;
|
||||
}
|
||||
|
||||
.monaco-editor .ghost-text-decoration {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-preview-text {
|
||||
.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
|
@ -3520,6 +3606,36 @@
|
|||
margin-right: 2px;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.inline-editor-progress-decoration {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.inline-progress-widget {
|
||||
display: flex !important;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.inline-progress-widget .icon {
|
||||
font-size: 80% !important;
|
||||
}
|
||||
|
||||
.inline-progress-widget:hover .icon {
|
||||
font-size: 90% !important;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.inline-progress-widget:hover .icon::before {
|
||||
content: "\ea76"; /* codicon-x */
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
|
@ -3527,7 +3643,9 @@
|
|||
|
||||
.monaco-editor .linked-editing-decoration {
|
||||
background-color: var(--vscode-editor-linkedEditingBackground);
|
||||
border-left-color: var(--vscode-editor-linkedEditingBackground);
|
||||
|
||||
/* Ensure decoration is visible even if range is empty */
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
|
|
@ -3970,6 +4088,7 @@
|
|||
z-index: 40;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.monaco-editor .suggest-widget.message {
|
||||
|
|
|
|||
18126
node_modules/monaco-editor-core/dev/vs/editor/editor.main.js
generated
vendored
18126
node_modules/monaco-editor-core/dev/vs/editor/editor.main.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/monaco-editor-core/dev/vs/editor/editor.main.js.map
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/editor/editor.main.js.map
generated
vendored
File diff suppressed because one or more lines are too long
123
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.de.js
generated
vendored
123
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.de.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Warnung: {0}",
|
||||
"Info: {0}",
|
||||
"für Verlauf",
|
||||
"Gelöschte Eingabe",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"Ungebunden",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Zeilenformatierung für Entfernungen im Diff-Editor",
|
||||
" verwenden Sie UMSCHALT+F7, um durch Änderungen zu navigieren.",
|
||||
"Kann die Dateien nicht vergleichen, da eine Datei zu groß ist.",
|
||||
"Klicken Sie, um die Änderung rückgängig zu machen",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Symbol für \"Einfügen\" in der Diff-Überprüfung.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Zeilen, die diese Länge überschreiten, werden aus Leistungsgründen nicht tokenisiert",
|
||||
"Steuert, ob die Tokenisierung asynchron auf einem Webworker erfolgen soll.",
|
||||
"Steuert, ob die asynchrone Tokenisierung protokolliert werden soll. Nur zum Debuggen.",
|
||||
"Steuert, ob die asynchrone Tokenisierung anhand der Legacy-Hintergrundtokenisierung überprüft werden soll. Die Tokenisierung kann verlangsamt werden. Nur zum Debuggen.",
|
||||
"Definiert die Klammersymbole, die den Einzug vergrößern oder verkleinern.",
|
||||
"Das öffnende Klammerzeichen oder die Zeichenfolgensequenz.",
|
||||
"Das schließende Klammerzeichen oder die Zeichenfolgensequenz.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Zeilenumbrüche erfolgen nie.",
|
||||
"Der Zeilenumbruch erfolgt an der Breite des Anzeigebereichs.",
|
||||
"Zeilen werden gemäß der Einstellung „{0}“ umbrochen.",
|
||||
"Verwendet den Standardvergleichsalgorithmus.",
|
||||
"Verwendet einen experimentellen Vergleichsalgorithmus.",
|
||||
"Verwendet den Legacyvergleichsalgorithmus.",
|
||||
"Verwendet den erweiterten Vergleichsalgorithmus.",
|
||||
"Steuert, ob der Diff-Editor unveränderte Bereiche anzeigt. Funktioniert nur, wenn \"diffEditor.experimental.useVersion2\" festgelegt ist.",
|
||||
"Steuert, ob der Diff-Editor die neue oder die alte Implementierung verwendet.",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Plattform-APIs verwenden, um zu erkennen, wenn eine Sprachausgabe angefügt ist",
|
||||
|
|
@ -231,8 +236,8 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Steuert den Algorithmus, der Umbruchpunkte berechnet. Beachten Sie, dass \"advanced\" im Barrierefreiheitsmodus für eine optimale Benutzererfahrung verwendet wird.",
|
||||
"Aktiviert das Glühlampensymbol für Codeaktionen im Editor.",
|
||||
"Zeigt die geschachtelten aktuellen Bereiche während des Bildlaufs am oberen Rand des Editors an.",
|
||||
"Definiert die maximale Anzahl fixierter Linien, die angezeigt werden sollen.",
|
||||
"Legt das Modell fest, das zur Bestimmung der zu fixierenden Linien verwendet wird. Existiert das Gliederungsmodell nicht, wird auf das Modell des Folding Providers zurückgegriffen, der wiederum auf das Einrückungsmodell zurückgreift. Diese Reihenfolge wird in allen drei Fällen beachtet.",
|
||||
"Definiert die maximale Anzahl fixierter Zeilen, die angezeigt werden sollen.",
|
||||
"Legt das Modell fest, das zur Bestimmung der zu fixierenden Zeilen verwendet wird. Existiert das Gliederungsmodell nicht, wird auf das Modell des Folding Providers zurückgegriffen, der wiederum auf das Einrückungsmodell zurückgreift. Diese Reihenfolge wird in allen drei Fällen beachtet.",
|
||||
"Aktiviert die Inlay-Hinweise im Editor.",
|
||||
"Inlay-Hinweise sind aktiviert",
|
||||
"Inlay-Hinweise werden standardmäßig angezeigt und ausgeblendet, wenn Sie {0} gedrückt halten",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Umgebrochene Zeilen werden im Vergleich zum übergeordneten Element +2 eingerückt.",
|
||||
"Steuert die Einrückung der umbrochenen Zeilen.",
|
||||
"Steuert, ob Sie eine Datei in einen Editor ziehen und ablegen können, indem Sie die UMSCHALTTASTE gedrückt halten (anstatt die Datei in einem Editor zu öffnen).",
|
||||
"Steuert, ob beim Ablegen von Dateien im Editor ein Widget angezeigt wird. Mit diesem Widget können Sie steuern, wie die Datei ablegt wird.",
|
||||
"Zeigt das Widget für die Dropdownauswahl an, nachdem eine Datei im Editor abgelegt wurde.",
|
||||
"Das Widget für die Ablageauswahl wird nie angezeigt. Stattdessen wird immer der Standardablageanbieter verwendet.",
|
||||
"Steuert, ob Sie Inhalte auf unterschiedliche Weise einfügen können.",
|
||||
"Steuert, ob beim Einfügen von Inhalt im Editor ein Widget angezeigt wird. Mit diesem Widget können Sie steuern, wie die Datei eingefügt wird.",
|
||||
"Das Widget für die Einfügeauswahl anzeigen, nachdem der Inhalt in den Editor eingefügt wurde.",
|
||||
"Das Widget für die Einfügeauswahl wird nie angezeigt. Stattdessen wird immer das Standardeinfügeverhalten verwendet.",
|
||||
"Steuert, ob Vorschläge über Commitzeichen angenommen werden sollen. In JavaScript kann ein Semikolon (\";\") beispielsweise ein Commitzeichen sein, das einen Vorschlag annimmt und dieses Zeichen eingibt.",
|
||||
"Einen Vorschlag nur mit der EINGABETASTE akzeptieren, wenn dieser eine Änderung am Text vornimmt.",
|
||||
"Steuert, ob Vorschläge mit der EINGABETASTE (zusätzlich zur TAB-Taste) akzeptiert werden sollen. Vermeidet Mehrdeutigkeit zwischen dem Einfügen neuer Zeilen oder dem Annehmen von Vorschlägen.",
|
||||
"Steuert die Anzahl von Zeilen im Editor, die von einer Sprachausgabe in einem Arbeitsschritt gelesen werden können. Wenn eine Sprachausgabe erkannt wird, wird der Standardwert automatisch auf 500 festgelegt. Warnung: Ein Wert höher als der Standardwert, kann sich auf die Leistung auswirken.",
|
||||
"Editor-Inhalt",
|
||||
"Steuern Sie, ob Inlinevorschläge von einer Sprachausgabe gelesen werden. Beachten Sie, dass dies unter macOS mit VoiceOver nicht funktioniert.",
|
||||
"Steuern Sie, ob Inlinevorschläge von einer Sprachausgabe angekündigt werden.",
|
||||
"Verwenden Sie Sprachkonfigurationen, um zu bestimmen, wann Klammern automatisch geschlossen werden sollen.",
|
||||
"Schließe Klammern nur automatisch, wenn der Cursor sich links von einem Leerzeichen befindet.",
|
||||
"Steuert, ob der Editor automatisch Klammern schließen soll, nachdem der Benutzer eine öffnende Klammer hinzugefügt hat.",
|
||||
|
|
@ -481,7 +493,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Steuert, ob Codeschnipsel mit anderen Vorschlägen angezeigt und wie diese sortiert werden.",
|
||||
"Legt fest, ob der Editor Bildläufe animiert ausführt.",
|
||||
"Schriftgrad für das Vorschlagswidget. Bei Festlegung auf {0} wird der Wert von {1} verwendet.",
|
||||
"Linienhöhe für das Vorschlagswidget. Bei Festlegung auf {0} wird der Wert von {1} verwendet. Der Mindestwert ist 8.",
|
||||
"Zeilenhöhe für das Vorschlagswidget. Bei Festlegung auf {0} wird der Wert von {1} verwendet. Der Mindestwert ist 8.",
|
||||
"Steuert, ob Vorschläge automatisch angezeigt werden sollen, wenn Triggerzeichen eingegeben werden.",
|
||||
"Immer den ersten Vorschlag auswählen.",
|
||||
"Wählen Sie die aktuellsten Vorschläge aus, es sei denn, es wird ein Vorschlag durch eine weitere Eingabe ausgewählt, z.B. \"console.| -> console.log\", weil \"log\" vor Kurzem abgeschlossen wurde.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Der Zeilenumbruch erfolgt beim Mindestanzeigebereich und \"#editor.wordWrapColumn\".",
|
||||
"Steuert, wie der Zeilenumbruch durchgeführt werden soll.",
|
||||
"Steuert die umschließende Spalte des Editors, wenn \"#editor.wordWrap#\" den Wert \"wordWrapColumn\" oder \"bounded\" aufweist.",
|
||||
"Steuert, ob Inlinefarbdekorationen mithilfe des Standard-Dokumentfarbanbieters angezeigt werden sollen.",
|
||||
"Steuert, ob der Editor Registerkarten empfängt oder zur Navigation zur Workbench zurückgibt.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Gibt an, ob ein Editor oder eine Rich-Text-Eingabe den Fokus besitzt (Cursor blinkt).",
|
||||
"Gibt an, ob der Editor schreibgeschützt ist.",
|
||||
"Gibt an, ob der Kontext ein Diff-Editor ist.",
|
||||
"Gibt an, ob der Kontext ein eingebetteter Diff-Editor ist.",
|
||||
"Gibt an, ob \"editor.columnSelection\" aktiviert ist.",
|
||||
"Gibt an, ob im Editor Text ausgewählt ist.",
|
||||
"Gibt an, ob der Editor über Mehrfachauswahl verfügt.",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Gibt an, ob Daraufzeigen im Editor fokussiert ist.",
|
||||
"Gibt an, ob der Fokus auf dem Fixierten Bildlauf liegt.",
|
||||
"Gibt an, ob der Fixierte Bildlauf sichtbar ist.",
|
||||
"Gibt an, ob der eigenständige Farbwähler sichtbar ist.",
|
||||
"Gibt an, ob der eigenständige Farbwähler fokussiert ist.",
|
||||
"Gibt an, ob der Editor Bestandteil eines größeren Editors ist (z. B. Notebooks).",
|
||||
"Der Sprachbezeichner des Editors.",
|
||||
"Gibt an, ob der Editor über einen Vervollständigungselementanbieter verfügt.",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Drücken Sie STRG + H, um ein Browserfenster mit weiteren Informationen zur Barrierefreiheit des Editors zu öffnen.",
|
||||
"Sie können diese QuickInfo schließen und durch Drücken von ESC oder UMSCHALT+ESC zum Editor zurückkehren.",
|
||||
"Hilfe zur Barrierefreiheit anzeigen",
|
||||
"Hilfe zur Barrierefreiheit",
|
||||
"Entwickler: Token überprüfen",
|
||||
"Gehe zu Zeile/Spalte...",
|
||||
"Alle Anbieter für den Schnellzugriff anzeigen",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Aktivieren/Deaktivieren Sie die Anzeige von Gruppenheadern im Codeaktionsmenü.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Deaktivierte Elemente ausblenden",
|
||||
"Deaktivierte Elemente anzeigen",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"Weitere Aktionen...",
|
||||
"Schnelle Problembehebung...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Umgeben mit...",
|
||||
"Quellaktion...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Deaktivierte Elemente ausblenden",
|
||||
"Deaktivierte Elemente anzeigen",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Zeigt Codeaktionen an. Bevorzugte Schnellkorrektur verfügbar ({0})",
|
||||
"Codeaktionen anzeigen ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.de", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Zum Umschalten zwischen Farboptionen (rgb/hsl/hex) klicken",
|
||||
"Symbol zum Schließen des Farbwählers",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Eigenständige Farbwähler anzeigen oder konzentrieren",
|
||||
"&&Eigenständige Farbwähler anzeigen oder fokussieren",
|
||||
"Farbwähler ausblenden",
|
||||
"Farbe mit eigenständigem Farbwähler einfügen",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Zeilenkommentar umschalten",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Immer",
|
||||
"Editor-Kontextmenü anzeigen",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Aktivieren/Deaktivieren der Ausführung von Bearbeitungen von Erweiterungen beim Einfügen.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Einfügehandler werden ausgeführt...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Mit Cursor rückgängig machen",
|
||||
"Wiederholen mit Cursor",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Drophandler werden ausgeführt...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Einfügen als...",
|
||||
"Die ID der Einfügebearbeitung, die angewendet werden soll. Wenn keine Angabe erfolgt, zeigt der Editor eine Auswahl an.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Gibt an, ob das Einfügewidget angezeigt wird.",
|
||||
"Einfügeoptionen anzeigen...",
|
||||
"Einfügehandler werden ausgeführt. Klicken Sie hier, um den Vorgang abzubrechen.",
|
||||
"Einfügeaktion auswählen",
|
||||
"Einfügehandler werden ausgeführt",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Integriert",
|
||||
"Nur-Text einfügen",
|
||||
"URI einfügen",
|
||||
"URI einfügen",
|
||||
"Pfade einfügen",
|
||||
"Pfad einfügen",
|
||||
"Relative Pfade einfügen",
|
||||
"Relativen Pfad einfügen",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Gibt an, ob das Ablagewidget angezeigt wird.",
|
||||
"Ablageoptionen anzeigen...",
|
||||
"Drophandler werden ausgeführt. Klicken Sie hier, um den Vorgang abzubrechen.",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Gibt an, ob der Editor einen abbrechbaren Vorgang ausführt, z. B. \"Verweisvorschau\".",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Weitersuchen",
|
||||
"Vorheriges Element suchen",
|
||||
"Zu Übereinstimmung wechseln ...",
|
||||
"Keine Übereinstimmungen. Versuchen Sie, nach etwas anderem zu suchen.",
|
||||
"Geben Sie eine Zahl ein, um zu einer bestimmten Übereinstimmung zu wechseln (zwischen 1 und {0}).",
|
||||
"Zahl zwischen 1 und {0} eingeben",
|
||||
"Zahl zwischen 1 und {0} eingeben",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Verweise",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"Symbol in {0} in Zeile {1}, Spalte {2}",
|
||||
"Symbol in \"{0}\" in Zeile {1}, Spalte {2}, {3}",
|
||||
"in {0} in Zeile {1} in Spalte {2}",
|
||||
"{0} in {1} in Zeile {2} in Spalte {3}",
|
||||
"1 Symbol in {0}, vollständiger Pfad {1}",
|
||||
"{0} Symbole in {1}, vollständiger Pfad {2}",
|
||||
"Es wurden keine Ergebnisse gefunden.",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Gehe zu Definition ({0})",
|
||||
"Befehl ausführen",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Gibt an, ob ein Inline-Vorschlag sichtbar ist.",
|
||||
"Gibt an, ob der Inline-Vorschlag mit Leerzeichen beginnt.",
|
||||
"Ob der Inline-Vorschlag mit Leerzeichen beginnt, das kleiner ist als das, was durch die Tabulatortaste eingefügt werden würde",
|
||||
"Gibt an, ob ein Inlinevorschlag rückgängig machen würde.",
|
||||
"Gibt an, ob die Symbolleiste „Inline-Vorschlag“ immer sichtbar sein soll.",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Nächsten Inline-Vorschlag anzeigen",
|
||||
"Vorherigen Inline-Vorschlag anzeigen",
|
||||
"Inline-Vorschlag auslösen",
|
||||
"Nächstes Wort des Inline-Vorschlags annehmen",
|
||||
"Wort annehmen",
|
||||
"Nächste Zeile des Inlinevorschlags akzeptieren",
|
||||
"Zeile annehmen",
|
||||
"Inline-Vorschlag annehmen",
|
||||
"Annehmen",
|
||||
"Inlinevorschlag ausblenden",
|
||||
"Symbolleiste immer anzeigen",
|
||||
"\"Wort annehmen\" rückgängig machen",
|
||||
"\"Wort annehmen\" rückgängig machen",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Vorschlag:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Gibt an, ob ein Inline-Vorschlag sichtbar ist.",
|
||||
"Gibt an, ob der Inline-Vorschlag mit Leerzeichen beginnt.",
|
||||
"Ob der Inline-Vorschlag mit Leerzeichen beginnt, das kleiner ist als das, was durch die Tabulatortaste eingefügt werden würde",
|
||||
"Gibt an, ob Vorschläge für den aktuellen Vorschlag unterdrückt werden sollen",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Symbol für die Anzeige des nächsten Parameterhinweises.",
|
||||
"Symbol für die Anzeige des vorherigen Parameterhinweises.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"({0}) wurde gedrückt. Es wird auf die zweite Taste in der Kombination gewartet...",
|
||||
"({0}) wurde gedrückt. Es wird auf die zweite Taste in der Kombination gewartet...",
|
||||
"Die Tastenkombination ({0}, {1}) ist kein Befehl.",
|
||||
"Die Tastenkombination ({0}, {1}) ist kein Befehl.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"Workbench",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Info",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"zuletzt verwendet",
|
||||
"häufig verwendet",
|
||||
"andere Befehle",
|
||||
"{0}, {1}",
|
||||
"Der Befehl \"{0}\" hat zu einem Fehler geführt.",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Hintergrundfarbe des Fortschrittbalkens, der für zeitintensive Vorgänge angezeigt werden kann.",
|
||||
"Hintergrundfarbe für Fehlertext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.",
|
||||
"Vordergrundfarbe von Fehlerunterstreichungen im Editor.",
|
||||
"Randfarbe von Fehlerfeldern im Editor.",
|
||||
"Wenn festgelegt, wird die Farbe doppelter Unterstreichungen für Fehler im Editor angezeigt.",
|
||||
"Hintergrundfarbe für Warnungstext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.",
|
||||
"Vordergrundfarbe von Warnungsunterstreichungen im Editor.",
|
||||
"Randfarbe der Warnfelder im Editor.",
|
||||
"Wenn festgelegt, wird die Farbe doppelter Unterstreichungen für Warnungen im Editor angezeigt.",
|
||||
"Hintergrundfarbe für Infotext im Editor. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.",
|
||||
"Vordergrundfarbe von Informationsunterstreichungen im Editor.",
|
||||
"Randfarbe der Infofelder im Editor.",
|
||||
"Wenn festgelegt, wird die Farbe doppelter Unterstreichungen für Infos im Editor angezeigt.",
|
||||
"Vordergrundfarbe der Hinweisunterstreichungen im Editor.",
|
||||
"Randfarbe der Hinweisfelder im Editor.",
|
||||
"Wenn festgelegt, wird die Farbe doppelter Unterstreichungen für Hinweise im Editor angezeigt.",
|
||||
"Rahmenfarbe aktiver Trennleisten.",
|
||||
"Hintergrundfarbe des Editors.",
|
||||
"Standardvordergrundfarbe des Editors.",
|
||||
|
|
@ -1713,16 +1757,17 @@ define("vs/editor/editor.main.nls.de", {
|
|||
"Die für das Aktionssymbol \"Automatische Glühbirnenkorrektur\" verwendete Farbe.",
|
||||
"Hintergrundfarbe für eingefügten Text. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.",
|
||||
"Hintergrundfarbe für Text, der entfernt wurde. Die Farbe darf nicht deckend sein, weil sie sonst die zugrunde liegenden Dekorationen verdeckt.",
|
||||
"Hintergrundfarbe für eingefügte Linien. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.",
|
||||
"Hintergrundfarbe für Linien, die entfernt wurden. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.",
|
||||
"Hintergrundfarbe für eingefügte Zeilen. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.",
|
||||
"Hintergrundfarbe für Zeilen, die entfernt wurden. Die Farbe darf nicht deckend sein, um zugrunde liegende Dekorationen nicht auszublenden.",
|
||||
"Hintergrundfarbe für den Rand, an dem Zeilen eingefügt wurden.",
|
||||
"Hintergrundfarbe für den Rand, an dem die Linien entfernt wurden.",
|
||||
"Hintergrundfarbe für den Rand, an dem die Zeilen entfernt wurden.",
|
||||
"Vordergrund des Diff-Übersichtslineals für eingefügten Inhalt.",
|
||||
"Vordergrund des Diff-Übersichtslineals für entfernten Inhalt.",
|
||||
"Konturfarbe für eingefügten Text.",
|
||||
"Konturfarbe für entfernten Text.",
|
||||
"Die Rahmenfarbe zwischen zwei Text-Editoren.",
|
||||
"Farbe der diagonalen Füllung des Vergleichs-Editors. Die diagonale Füllung wird in Ansichten mit parallelem Vergleich verwendet.",
|
||||
"Die Farbe von unveränderten Blöcken im Diff-Editor.",
|
||||
"Hintergrundfarbe der Liste/Struktur für das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.",
|
||||
"Vordergrundfarbe der Liste/Struktur für das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.",
|
||||
"Konturfarbe der Liste/Struktur für das fokussierte Element, wenn die Liste/Struktur aktiv ist. Eine aktive Liste/Struktur hat Tastaturfokus, eine inaktive hingegen nicht.",
|
||||
|
|
|
|||
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.es.js
generated
vendored
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.es.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Advertencia: {0}",
|
||||
"Información: {0}",
|
||||
"para el historial",
|
||||
"Entrada borrada",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"Sin enlazar",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Decoración de línea para las eliminaciones en el editor de diferencias.",
|
||||
" usar Mayús + F7 para navegar por los cambios",
|
||||
"Los archivos no se pueden comparar porque uno de ellos es demasiado grande.",
|
||||
"Haga clic para revertir el cambio",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Icono para \"Insertar\" en la revisión de diferencias.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Las lineas por encima de esta longitud no se tokenizarán por razones de rendimiento.",
|
||||
"Controla si la tokenización debe producirse de forma asincrónica en un rol de trabajo.",
|
||||
"Controla si se debe registrar la tokenización asincrónica. Solo para depuración.",
|
||||
"Controla si se debe comprobar la tokenización asincrónica con la tokenización en segundo plano heredada. Puede ralentizar la tokenización. Solo para depuración.",
|
||||
"Define los corchetes que aumentan o reducen la sangría.",
|
||||
"Secuencia de cadena o corchete de apertura.",
|
||||
"Secuencia de cadena o corchete de cierre.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Las líneas no se ajustarán nunca.",
|
||||
"Las líneas se ajustarán en el ancho de la ventanilla.",
|
||||
"Las líneas se ajustarán en función de la configuración de {0}.",
|
||||
"Usa el algoritmo de comparación predeterminado.",
|
||||
"Usa un algoritmo de comparación experimental.",
|
||||
"Usa el algoritmo de diferenciación heredado.",
|
||||
"Usa el algoritmo de diferenciación avanzada.",
|
||||
"Controla si el editor de diferencias muestra regiones sin cambios. Solo funciona cuando se establece \"diffEditor.experimental.useVersion2\".",
|
||||
"Controla si el editor de diferencias usa la implementación nueva o la anterior.",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Usar las API de la plataforma para detectar cuándo se conecta un lector de pantalla",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"A las líneas ajustadas se les aplica una sangría de +2 respecto al elemento primario.",
|
||||
"Controla la sangría de las líneas ajustadas.",
|
||||
"Controla si puede arrastrar y colocar un archivo en un editor de texto manteniendo presionada la tecla `mayús` (en lugar de abrir el archivo en un editor).",
|
||||
"Controla si se muestra un widget al colocar archivos en el editor. Este widget le permite controlar cómo se coloca el archivo.",
|
||||
"Muestra el widget del selector de colocación después de colocar un archivo en el editor.",
|
||||
"No mostrar nunca el widget del selector de colocación. En su lugar, siempre se usa el proveedor de colocación predeterminado.",
|
||||
"Controla si se puede pegar contenido de distintas formas.",
|
||||
"Controla si se muestra un widget al pegar contenido en el editor. Este widget le permite controlar cómo se pega el archivo.",
|
||||
"Muestra el widget del selector de pegado después de pegar contenido en el editor.",
|
||||
"No mostrar nunca el widget del selector de pegado. En su lugar, siempre se usa el comportamiento de pegado predeterminado.",
|
||||
"Controla si se deben aceptar sugerencias en los caracteres de confirmación. Por ejemplo, en Javascript, el punto y coma (\";\") puede ser un carácter de confirmación que acepta una sugerencia y escribe ese carácter.",
|
||||
"Aceptar solo una sugerencia con \"Entrar\" cuando realiza un cambio textual.",
|
||||
"Controla si las sugerencias deben aceptarse con \"Entrar\", además de \"TAB\". Ayuda a evitar la ambigüedad entre insertar nuevas líneas o aceptar sugerencias.",
|
||||
"Controla el número de líneas del editor que pueden ser leídas por un lector de pantalla a la vez. Cuando detectamos un lector de pantalla, fijamos automáticamente el valor por defecto en 500. Advertencia: esto tiene una implicación de rendimiento para números mayores que el predeterminado.",
|
||||
"Contenido del editor",
|
||||
"Controla si un lector de pantalla anuncia sugerencias insertadas. Tenga en cuenta que esto no funciona en macOS con VoiceOver.",
|
||||
"Controlar si un lector de pantalla anuncia sugerencias insertadas.",
|
||||
"Utilizar las configuraciones del lenguaje para determinar cuándo cerrar los corchetes automáticamente.",
|
||||
"Cerrar automáticamente los corchetes cuando el cursor esté a la izquierda de un espacio en blanco.",
|
||||
"Controla si el editor debe cerrar automáticamente los corchetes después de que el usuario agregue un corchete de apertura.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Las líneas se ajustarán al valor que sea inferior: el tamaño de la ventanilla o el valor de \"#editor.wordWrapColumn#\".",
|
||||
"Controla cómo deben ajustarse las líneas.",
|
||||
"Controla la columna de ajuste del editor cuando \"#editor.wordWrap#\" es \"wordWrapColumn\" o \"bounded\".",
|
||||
"Controla si las decoraciones de color en línea deben mostrarse con el proveedor de colores del documento predeterminado.",
|
||||
"Controla si el editor recibe las pestañas o las aplaza al área de trabajo para la navegación.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Si un editor o una entrada de texto enriquecido tienen el foco (el cursor parpadea)",
|
||||
"Si el editor es de solo lectura",
|
||||
"Si el contexto es un editor de diferencias",
|
||||
"Si el contexto es un editor de diferencias incrustado",
|
||||
"Si \"editor.columnSelection\" se ha habilitado",
|
||||
"Si el editor tiene texto seleccionado",
|
||||
"Si el editor tiene varias selecciones",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Si se centra el desplazamiento del editor",
|
||||
"Si el desplazamiento permanente está centrado",
|
||||
"Si el desplazamiento permanente está visible",
|
||||
"Si el selector de colores independiente está visible",
|
||||
"Si el selector de colores independiente está centrado",
|
||||
"Si el editor forma parte de otro más grande (por ejemplo, blocs de notas)",
|
||||
"Identificador de idioma del editor",
|
||||
"Si el editor tiene un proveedor de elementos de finalización",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Presione ahora Control+H para abrir una ventana del explorador con más información relacionada con la accesibilidad del editor.",
|
||||
"Para descartar esta información sobre herramientas y volver al editor, presione Esc o Mayús+Escape.",
|
||||
"Mostrar ayuda de accesibilidad",
|
||||
"Ayuda de accesibilidad",
|
||||
"Desarrollador: inspeccionar tokens",
|
||||
"Vaya a Línea/Columna...",
|
||||
"Mostrar todos los proveedores de acceso rápido",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Activar/desactivar la visualización de los encabezados de los grupos en el menú de Acción de código.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Ocultar deshabilitado",
|
||||
"Mostrar elementos deshabilitados",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"Más Acciones...",
|
||||
"Corrección rápida...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Rodear con...",
|
||||
"Acción de origen...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Ocultar deshabilitado",
|
||||
"Mostrar elementos deshabilitados",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Mostrar acciones de código. Corrección rápida preferida disponible ({0})",
|
||||
"Mostrar acciones de código ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.es", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Haga clic para alternar las opciones de color (rgb/hsl/hex)",
|
||||
"Icono para cerrar el selector de colores",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Mostrar o centrar Selector de colores independientes",
|
||||
"&Mostrar o centrar Selector de colores independientes",
|
||||
"Ocultar la Selector de colores",
|
||||
"Insertar color con Selector de colores independiente",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Alternar comentario de línea",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Siempre",
|
||||
"Mostrar menú contextual del editor",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Habilita o deshabilita la ejecución de ediciones desde extensiones al pegar.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Ejecutando controladores de pegado...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Cursor Deshacer",
|
||||
"Cursor Rehacer",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Ejecutando controladores de destino...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Pegar como...",
|
||||
"Id. de la edición pegada que se intenta aplicar. Si no se proporciona, el editor mostrará un selector.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Si se muestra el widget de pegado",
|
||||
"Mostrar opciones de pegado...",
|
||||
"Ejecutando controladores de pegado. Haga clic para cancelar.",
|
||||
"Seleccionar acción pegar",
|
||||
"Ejecutando controladores de pegado",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Integrado",
|
||||
"Insertar texto sin formato",
|
||||
"Insertar URIs",
|
||||
"Insertar URI",
|
||||
"Insertar rutas de acceso",
|
||||
"Insertar ruta de acceso",
|
||||
"Insertar rutas de acceso relativas",
|
||||
"Insertar ruta de acceso relativa",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Si se muestra el widget de colocación",
|
||||
"Mostrar opciones de colocación...",
|
||||
"Ejecutando controladores de colocación. Haga clic para cancelar.",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Indica si el editor ejecuta una operación que se puede cancelar como, por ejemplo, \"Inspeccionar referencias\"",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Buscar siguiente",
|
||||
"Buscar anterior",
|
||||
"Ir a Coincidencia...",
|
||||
"No hay coincidencias. Intente buscar otra cosa.",
|
||||
"Escriba un número para ir a una coincidencia específica (entre 1 y {0})",
|
||||
"Escriba un número entre 1 y {0}",
|
||||
"Escriba un número entre 1 y {0}",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Referencias",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"símbolo en {0} linea {1} en la columna {2}",
|
||||
"símbolo en {0} línea {1} en la columna {2}, {3}",
|
||||
"en {0} en la línea {1} en la columna {2}",
|
||||
"{0} en {1} en la línea {2} en la columna {3}",
|
||||
"1 símbolo en {0}, ruta de acceso completa {1}",
|
||||
"{0} símbolos en {1}, ruta de acceso completa {2}",
|
||||
"No se encontraron resultados",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Ir a Definición ({0})",
|
||||
"Ejecutar comando",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Si una sugerencia alineada está visible",
|
||||
"Si la sugerencia alineada comienza con un espacio en blanco",
|
||||
"Si la sugerencia insertada comienza con un espacio en blanco menor que lo que se insertaría mediante tabulación",
|
||||
"Si deshacer desharía una sugerencia insertada",
|
||||
"Indica si la barra de herramientas de sugerencias insertada debe estar siempre visible",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Mostrar sugerencia alineada siguiente",
|
||||
"Mostrar sugerencia alineada anterior",
|
||||
"Desencadenar sugerencia alineada",
|
||||
"Aceptar la siguiente palabra de sugerencia insertada",
|
||||
"Aceptar palabra",
|
||||
"Aceptar la siguiente línea de sugerencia insertada",
|
||||
"Aceptar línea",
|
||||
"Aceptar la sugerencia insertada",
|
||||
"Aceptar",
|
||||
"Ocultar la sugerencia insertada",
|
||||
"Mostrar siempre la barra de herramientas",
|
||||
"Deshacer Aceptar palabra",
|
||||
"Deshacer Aceptar palabra",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Sugerencia:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Si una sugerencia alineada está visible",
|
||||
"Si la sugerencia alineada comienza con un espacio en blanco",
|
||||
"Si la sugerencia insertada comienza con un espacio en blanco menor que lo que se insertaría mediante tabulación",
|
||||
"Si las sugerencias deben suprimirse para la sugerencia actual",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Icono para mostrar la sugerencia de parámetro siguiente.",
|
||||
"Icono para mostrar la sugerencia de parámetro anterior.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Se presionó ({0}). Esperando la siguiente tecla...",
|
||||
"Se ha presionado ({0}). Esperando la siguiente tecla...",
|
||||
"La combinación de claves ({0}, {1}) no es un comando.",
|
||||
"La combinación de claves ({0}, {1}) no es un comando.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"Área de trabajo",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Información",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"usado recientemente",
|
||||
"usados habitualmente",
|
||||
"otros comandos",
|
||||
"{0}, {1}",
|
||||
"El comando \"{0}\" ha dado lugar a un error",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Color de fondo para la barra de progreso que se puede mostrar para las operaciones de larga duración.",
|
||||
"Color de fondo del texto de error del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",
|
||||
"Color de primer plano de squigglies de error en el editor.",
|
||||
"Color del borde de los cuadros de error en el editor.",
|
||||
"Si se establece, color de subrayados dobles para errores en el editor.",
|
||||
"Color de fondo del texto de advertencia del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",
|
||||
"Color de primer plano de squigglies de advertencia en el editor.",
|
||||
"Color del borde de los cuadros de advertencia en el editor.",
|
||||
"Si se establece, color de subrayados dobles para advertencias en el editor.",
|
||||
"Color de fondo del texto de información del editor. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",
|
||||
"Color de primer plano de los subrayados ondulados informativos en el editor.",
|
||||
"Color del borde de los cuadros de información en el editor.",
|
||||
"Si se establece, color de subrayados dobles para informaciones en el editor.",
|
||||
"Color de primer plano de pista squigglies en el editor.",
|
||||
"Color del borde de los cuadros de sugerencia en el editor.",
|
||||
"Si se establece, color de subrayados dobles para sugerencias en el editor.",
|
||||
"Color de borde de los marcos activos.",
|
||||
"Color de fondo del editor.",
|
||||
"Color de primer plano predeterminado del editor.",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Color de contorno para el texto quitado.",
|
||||
"Color del borde entre ambos editores de texto.",
|
||||
"Color de relleno diagonal del editor de diferencias. El relleno diagonal se usa en las vistas de diferencias en paralelo.",
|
||||
"Color de los bloques sin modificar en el editor de diferencias.",
|
||||
"Color de fondo de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",
|
||||
"Color de primer plano de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",
|
||||
"Color de contorno de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, pero no cuando están inactivos.",
|
||||
|
|
@ -1746,7 +1791,7 @@ define("vs/editor/editor.main.nls.es", {
|
|||
"Color de fondo del widget de filtro de tipo en listas y árboles.",
|
||||
"Color de contorno del widget de filtro de tipo en listas y árboles.",
|
||||
"Color de contorno del widget de filtro de tipo en listas y árboles, cuando no hay coincidencias.",
|
||||
"Color del sombreado del widget de filtrado de escritura en listas y árboles.",
|
||||
"Color de sombra del widget de filtrado de escritura en listas y árboles.",
|
||||
"Color de fondo de la coincidencia filtrada.",
|
||||
"Color de borde de la coincidencia filtrada.",
|
||||
"Color de trazo de árbol para las guías de sangría.",
|
||||
|
|
|
|||
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.fr.js
generated
vendored
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.fr.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Avertissement : {0}",
|
||||
"Info : {0}",
|
||||
"pour l’historique",
|
||||
"Entrée effacée",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"Indépendant",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Élément décoratif de ligne pour les suppressions dans l\'éditeur de différences.",
|
||||
" utiliser Maj + F7 pour parcourir les modifications",
|
||||
"Impossible de comparer les fichiers car l\'un d\'eux est trop volumineux.",
|
||||
"Cliquez pour rétablir la modification",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Icône de l\'option Insérer dans la revue des différences.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Les lignes plus longues que cette valeur ne sont pas tokenisées pour des raisons de performances",
|
||||
"Contrôle si la création de jetons doit se produire de manière asynchrone sur un worker web.",
|
||||
"Contrôle si la création de jetons asynchrones doit être journalisée. Pour le débogage uniquement.",
|
||||
"Contrôle si la segmentation du texte en unités lexicales asynchrones doit être vérifiée par rapport à la segmentation du texte en unités lexicales en arrière-plan héritée. Peut ralentir la segmentation du texte en unités lexicales. Pour le débogage uniquement.",
|
||||
"Définit les symboles de type crochet qui augmentent ou diminuent le retrait.",
|
||||
"Séquence de chaînes ou de caractères de crochets ouvrants.",
|
||||
"Séquence de chaînes ou de caractères de crochets fermants.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Le retour automatique à la ligne n\'est jamais effectué.",
|
||||
"Le retour automatique à la ligne s\'effectue en fonction de la largeur de la fenêtre d\'affichage.",
|
||||
"Le retour automatique à la ligne dépend du paramètre {0}.",
|
||||
"Utilise l’algorithme de comparaison par défaut.",
|
||||
"Utilise un algorithme de comparaison expérimental.",
|
||||
"Utilise l’algorithme de comparaison hérité.",
|
||||
"Utilise l’algorithme de comparaison avancé.",
|
||||
"Contrôle si l’éditeur de différences affiche les régions inchangées. Fonctionne uniquement lorsque \'diffEditor.experimental.useVersion2\' est défini.",
|
||||
"Contrôle si l’éditeur de différences utilise la nouvelle ou l’ancienne implémentation.",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Utiliser les API de la plateforme pour détecter si un lecteur d\'écran est attaché",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Les lignes justifiées obtiennent une mise en retrait +2 vers le parent. ",
|
||||
"Contrôle la mise en retrait des lignes justifiées.",
|
||||
"Contrôle si vous pouvez faire glisser et déposer un fichier dans un éditeur de texte en maintenant la touche Maj enfoncée (au lieu d’ouvrir le fichier dans un éditeur).",
|
||||
"Contrôle si un widget est affiché lors de l’annulation de fichiers dans l’éditeur. Ce widget vous permet de contrôler la façon dont le fichier est annulé.",
|
||||
"Afficher le widget du sélecteur de dépôt après la suppression d’un fichier dans l’éditeur.",
|
||||
"Ne jamais afficher le widget du sélecteur de dépôt. À la place, le fournisseur de dépôt par défaut est toujours utilisé.",
|
||||
"Contrôle si vous pouvez coller le contenu de différentes manières.",
|
||||
"Contrôle l’affichage d’un widget lors du collage de contenu dans l’éditeur. Ce widget vous permet de contrôler la manière dont le fichier est collé.",
|
||||
"Afficher le widget du sélecteur de collage une fois le contenu collé dans l’éditeur.",
|
||||
"Ne jamais afficher le widget de sélection de collage. Au lieu de cela, le comportement de collage par défaut est toujours utilisé.",
|
||||
"Contrôle si les suggestions doivent être acceptées sur les caractères de validation. Par exemple, en JavaScript, le point-virgule (`;`) peut être un caractère de validation qui accepte une suggestion et tape ce caractère.",
|
||||
"Accepter uniquement une suggestion avec \'Entrée\' quand elle effectue une modification textuelle.",
|
||||
"Contrôle si les suggestions sont acceptées après appui sur \'Entrée\', en plus de \'Tab\'. Permet d’éviter toute ambiguïté entre l’insertion de nouvelles lignes et l\'acceptation de suggestions.",
|
||||
"Contrôle le nombre de lignes de l’éditeur qu’un lecteur d’écran peut lire en une seule fois. Quand nous détectons un lecteur d’écran, nous définissons automatiquement la valeur par défaut à 500. Attention : Les valeurs supérieures à la valeur par défaut peuvent avoir un impact important sur les performances.",
|
||||
"Contenu de l\'éditeur",
|
||||
"Contrôlez si les suggestions inline sont annoncées par un lecteur d’écran. Notez que cela ne fonctionne pas sur macOS avec VoiceOver.",
|
||||
"Contrôlez si les suggestions incluses sont annoncées par un lecteur d’écran.",
|
||||
"Utilisez les configurations de langage pour déterminer quand fermer automatiquement les parenthèses.",
|
||||
"Fermer automatiquement les parenthèses uniquement lorsque le curseur est à gauche de l’espace.",
|
||||
"Contrôle si l’éditeur doit fermer automatiquement les parenthèses quand l’utilisateur ajoute une parenthèse ouvrante.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Les lignes seront terminées au minimum du viewport et `#editor.wordWrapColumn#`.",
|
||||
"Contrôle comment les lignes doivent être limitées.",
|
||||
"Contrôle la colonne de terminaison de l’éditeur lorsque `#editor.wordWrap#` est à `wordWrapColumn` ou `bounded`.",
|
||||
"Contrôle si les décorations de couleur inline doivent être affichées à l’aide du fournisseur de couleurs de document par défaut",
|
||||
"Contrôle si l’éditeur reçoit des onglets ou les reporte au banc d’essai pour la navigation.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Indique si un éditeur ou une entrée de texte mis en forme a le focus (le curseur clignote)",
|
||||
"Indique si l\'éditeur est en lecture seule",
|
||||
"Indique si le contexte est celui d\'un éditeur de différences",
|
||||
"Indique si le contexte est celui d’un éditeur de différences intégré",
|
||||
"Indique si \'editor.columnSelection\' est activé",
|
||||
"Indique si du texte est sélectionné dans l\'éditeur",
|
||||
"Indique si l\'éditeur a plusieurs sélections",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Indique si le pointage de l’éditeur est ciblé",
|
||||
"Indique si le défilement du pense-bête a le focus",
|
||||
"Indique si le défilement du pense-bête est visible",
|
||||
"Indique si le sélecteur de couleurs autonome est visible",
|
||||
"Indique si le sélecteur de couleurs autonome est prioritaire",
|
||||
"Indique si l\'éditeur fait partie d\'un éditeur plus important (par exemple Notebooks)",
|
||||
"Identificateur de langage de l\'éditeur",
|
||||
"Indique si l\'éditeur a un fournisseur d\'éléments de complétion",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Appuyez sur Contrôle+H maintenant pour ouvrir une fenêtre de navigateur avec plus d\'informations sur l\'accessibilité de l\'éditeur.",
|
||||
"Vous pouvez masquer cette info-bulle et revenir à l\'éditeur en appuyant sur Échap ou Maj+Échap.",
|
||||
"Afficher l\'aide sur l\'accessibilité",
|
||||
"Aide sur l’accessibilité",
|
||||
"Développeur : Inspecter les jetons",
|
||||
"Accéder à la ligne/colonne...",
|
||||
"Afficher tous les fournisseurs d\'accès rapide",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Activez/désactivez l’affichage des en-têtes de groupe dans le menu d’action du code.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Masquer désactivé",
|
||||
"Afficher les éléments désactivés",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"Plus d’actions...",
|
||||
"Correction rapide...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Entourer de...",
|
||||
"Action de la source...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Masquer désactivé",
|
||||
"Afficher les éléments désactivés",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Afficher les actions de code. Correctif rapide disponible par défaut ({0})",
|
||||
"Afficher les actions de code ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Cliquez pour activer/désactiver les options de couleur (rgb/hsl/hexadécimal).",
|
||||
"Icône pour fermer le sélecteur de couleurs",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Afficher ou mettre le focus sur le sélecteur de couleurs autonome",
|
||||
"&&Afficher ou mettre le focus sur le sélecteur de couleurs autonome",
|
||||
"Masquer le sélecteur de couleurs",
|
||||
"Insérer une couleur avec un sélecteur de couleurs autonome",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Activer/désactiver le commentaire de ligne",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Toujours",
|
||||
"Afficher le menu contextuel de l\'éditeur",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Activez/désactivez l’exécution des modifications à partir des extensions lors du collage.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Exécution des gestionnaires de collage...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Annulation du curseur",
|
||||
"Restauration du curseur",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Exécution des gestionnaires de dépôt...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Coller en tant que...",
|
||||
"ID de la modification de collage à appliquer. S’il n’est pas fourni, l’éditeur affiche un sélecteur.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Si le widget de collage est affiché",
|
||||
"Afficher les options de collage...",
|
||||
"Exécution des gestionnaires de collage. Cliquez pour annuler",
|
||||
"Sélectionner l’action Coller",
|
||||
"Exécution des gestionnaires de collage",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Intégré",
|
||||
"Insérer du texte brut",
|
||||
"Insérer des URI",
|
||||
"Insérer un URI",
|
||||
"Insérer des chemins d’accès",
|
||||
"Insérer un chemin d’accès",
|
||||
"Insérer des chemins d’accès relatifs",
|
||||
"Insérer un chemin d’accès relatif",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Indique si le widget de suppression s’affiche",
|
||||
"Afficher les options de suppression...",
|
||||
"Exécution des gestionnaires de dépôt. Cliquez pour annuler",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Indique si l\'éditeur exécute une opération annulable, par exemple \'Avoir un aperçu des références\'",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Rechercher suivant",
|
||||
"Rechercher précédent",
|
||||
"Accéder à la correspondance...",
|
||||
"Aucune correspondance. Essayez de rechercher autre chose.",
|
||||
"Tapez un nombre pour accéder à une correspondance spécifique (entre 1 et {0})",
|
||||
"Veuillez entrer un nombre compris entre 1 et {0}",
|
||||
"Veuillez entrer un nombre compris entre 1 et {0}",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Références",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"symbole dans {0} sur la ligne {1}, colonne {2}",
|
||||
"symbole dans {0} à la ligne {1}, colonne {2}, {3}",
|
||||
"dans {0} à la ligne {1} à la colonne {2}",
|
||||
"{0}dans {1} à la ligne {2} à la colonne {3}",
|
||||
"1 symbole dans {0}, chemin complet {1}",
|
||||
"{0} symboles dans {1}, chemin complet {2}",
|
||||
"Résultats introuvables",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Accéder à Définition ({0})",
|
||||
"Exécuter la commande",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Indique si une suggestion en ligne est visible",
|
||||
"Indique si la suggestion en ligne commence par un espace blanc",
|
||||
"Indique si la suggestion incluse commence par un espace blanc inférieur à ce qui serait inséré par l’onglet.",
|
||||
"Indique si l’annulation annulerait une suggestion inline",
|
||||
"Indique si la barre d’outils de suggestion en ligne doit toujours être visible",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Afficher la suggestion en ligne suivante",
|
||||
"Afficher la suggestion en ligne précédente",
|
||||
"Déclencher la suggestion en ligne",
|
||||
"Accepter le mot suivant de la suggestion inline",
|
||||
"Accepter le mot",
|
||||
"Accepter la ligne suivante d’une suggestion en ligne",
|
||||
"Accepter la ligne",
|
||||
"Accepter la suggestion inline",
|
||||
"Accepter",
|
||||
"Masquer la suggestion inlined",
|
||||
"Toujours afficher la barre d’outils",
|
||||
"Annuler l’acceptation du mot",
|
||||
"Annuler l’acceptation du mot",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Suggestion :",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Indique si une suggestion en ligne est visible",
|
||||
"Indique si la suggestion en ligne commence par un espace blanc",
|
||||
"Indique si la suggestion incluse commence par un espace blanc inférieur à ce qui serait inséré par l’onglet.",
|
||||
"Indique si les suggestions doivent être supprimées pour la suggestion actuelle",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Icône d\'affichage du prochain conseil de paramètre.",
|
||||
"Icône d\'affichage du précédent conseil de paramètre.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Touche ({0}) utilisée. En attente d\'une seconde touche...",
|
||||
"({0}) a été enfoncé. En attente de la touche suivante de la pression...",
|
||||
"La combinaison de touches ({0}, {1}) n’est pas une commande.",
|
||||
"La combinaison de touches ({0}, {1}) n’est pas une commande.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"Banc d\'essai",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Info",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"récemment utilisées",
|
||||
"utilisés le plus souvent",
|
||||
"autres commandes",
|
||||
"{0}, {1}",
|
||||
"La commande « {0} » a entraîné une erreur",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Couleur de fond pour la barre de progression qui peut s\'afficher lors d\'opérations longues.",
|
||||
"Couleur d\'arrière-plan du texte d\'erreur dans l\'éditeur. La couleur ne doit pas être opaque pour ne pas masquer les décorations sous-jacentes.",
|
||||
"Couleur de premier plan de la ligne ondulée marquant les erreurs dans l\'éditeur.",
|
||||
"Couleur de bordure des zones d\'erreur dans l\'éditeur.",
|
||||
"Si cette option est définie, couleur des doubles soulignements pour les erreurs dans l’éditeur.",
|
||||
"Couleur d\'arrière-plan du texte d\'avertissement dans l\'éditeur. La couleur ne doit pas être opaque pour ne pas masquer les décorations sous-jacentes.",
|
||||
"Couleur de premier plan de la ligne ondulée marquant les avertissements dans l\'éditeur.",
|
||||
"Couleur de bordure des zones d\'avertissement dans l\'éditeur.",
|
||||
"Si cette option est définie, couleur des doubles soulignements pour les avertissements dans l’éditeur.",
|
||||
"Couleur d\'arrière-plan du texte d\'information dans l\'éditeur. La couleur ne doit pas être opaque pour ne pas masquer les décorations sous-jacentes.",
|
||||
"Couleur de premier plan de la ligne ondulée marquant les informations dans l\'éditeur.",
|
||||
"Couleur de bordure des zones d\'informations dans l\'éditeur.",
|
||||
"Si cette option est définie, couleur des doubles soulignements pour les informations dans l’éditeur.",
|
||||
"Couleur de premier plan de la ligne ondulée d\'indication dans l\'éditeur.",
|
||||
"Couleur de bordure des zones d\'indication dans l\'éditeur.",
|
||||
"Si cette option est définie, couleur des doubles soulignements pour les conseils dans l’éditeur.",
|
||||
"Couleur de bordure des fenêtres coulissantes.",
|
||||
"Couleur d\'arrière-plan de l\'éditeur.",
|
||||
"Couleur de premier plan par défaut de l\'éditeur.",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.fr", {
|
|||
"Couleur de contour du texte supprimé.",
|
||||
"Couleur de bordure entre les deux éditeurs de texte.",
|
||||
"Couleur du remplissage diagonal de l\'éditeur de différences. Le remplissage diagonal est utilisé dans les vues de différences côte à côte.",
|
||||
"Couleur des blocs inchangés dans l’éditeur de différences.",
|
||||
"Couleur d\'arrière-plan de la liste/l\'arborescence pour l\'élément ayant le focus quand la liste/l\'arborescence est active. Une liste/arborescence active peut être sélectionnée au clavier, elle ne l\'est pas quand elle est inactive.",
|
||||
"Couleur de premier plan de la liste/l\'arborescence pour l\'élément ayant le focus quand la liste/l\'arborescence est active. Une liste/arborescence active peut être sélectionnée au clavier, elle ne l\'est pas quand elle est inactive.",
|
||||
"Couleur de contour de la liste/l\'arborescence pour l\'élément ayant le focus quand la liste/l\'arborescence est active. Une liste/arborescence active a le focus clavier, contrairement à une liste/arborescence inactive.",
|
||||
|
|
|
|||
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.it.js
generated
vendored
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.it.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Avviso: {0}",
|
||||
"Info: {0}",
|
||||
"per la cronologia",
|
||||
"Input cancellato",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"Non associato",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Effetto di riga per le rimozioni nell\'editor diff.",
|
||||
" usa MAIUSC +F7 per esplorare le modifiche",
|
||||
"Non è possibile confrontare i file perché uno è troppo grande.",
|
||||
"Fare clic per annullare la modifica",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Icona per \'Inserisci\' nella revisione diff.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Per motivi di prestazioni le righe di lunghezza superiore non verranno tokenizzate",
|
||||
"Controlla se la tokenizzazione deve essere eseguita in modo asincrono in un web worker.",
|
||||
"Controlla se deve essere registrata la tokenizzazione asincrona. Solo per il debug.",
|
||||
"Controlla se la tokenizzazione asincrona deve essere verificata rispetto alla tokenizzazione legacy in background. Potrebbe rallentare la tokenizzazione. Solo per il debug.",
|
||||
"Definisce i simboli di parentesi quadra che aumentano o riducono il rientro.",
|
||||
"Sequenza di stringa o carattere parentesi quadra di apertura.",
|
||||
"Sequenza di stringa o carattere parentesi quadra di chiusura.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Il ritorno a capo automatico delle righe non viene mai applicato.",
|
||||
"Il ritorno a capo automatico delle righe viene applicato in corrispondenza della larghezza del viewport.",
|
||||
"Le righe andranno a capo in base all\'impostazione {0}.",
|
||||
"Usa l\'algoritmo diffing predefinito.",
|
||||
"Usa un algoritmo diffing sperimentale.",
|
||||
"Usare l\'algoritmo diffing legacy.",
|
||||
"Usare l\'algoritmo diffing avanzato.",
|
||||
"Controlla se l\'editor diff mostra aree non modificate. Funziona solo quando \'diffEditor.experimental.useVersion2\' è impostato.",
|
||||
"Controlla se l\'editor diff usa la nuova o la precedente implementazione.",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Usare le API della piattaforma per rilevare quando viene collegata un\'utilità per la lettura dello schermo",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Le righe con ritorno a capo hanno un rientro di +2 rispetto alla riga padre.",
|
||||
"Controlla il rientro delle righe con ritorno a capo.",
|
||||
"Controlla se è possibile trascinare un file in un editor di testo tenendo premuto MAIUSC (invece di aprire il file in un editor).",
|
||||
"Controlla se viene visualizzato un widget quando si rilasciano file nell\'editor. Questo widget consente di controllare la modalità di rilascio del file.",
|
||||
"Mostra il widget del selettore di rilascio dopo il rilascio di un file nell\'editor.",
|
||||
"Non visualizzare mai il widget del selettore di rilascio. Usare sempre il provider di rilascio predefinito.",
|
||||
"Controlla se è possibile incollare il contenuto in modi diversi.",
|
||||
"Controlla se viene visualizzato un widget quando si incolla il contenuto nell\'editor. Questo widget consente di controllare il modo in cui il file viene incollato.",
|
||||
"Mostra il widget del selettore dell\'operazione Incolla dopo che il contenuto è stato incollato nell\'editor.",
|
||||
"Non visualizzare mai il widget del selettore dell\'operazione Incolla. Usare sempre il comportamento dell\'operazione Incolla predefinito.",
|
||||
"Controlla se accettare i suggerimenti con i caratteri di commit. Ad esempio, in JavaScript il punto e virgola (\';\') può essere un carattere di commit che accetta un suggerimento e digita tale carattere.",
|
||||
"Accetta un suggerimento con \'Invio\' solo quando si apporta una modifica al testo.",
|
||||
"Controlla se i suggerimenti devono essere accettati con \'INVIO\' in aggiunta a \'TAB\'. In questo modo è possibile evitare ambiguità tra l\'inserimento di nuove righe e l\'accettazione di suggerimenti.",
|
||||
"Controlla il numero di righe nell\'Editor che possono essere lette alla volta da un utilità per la lettura dello schermo. Quando viene rilevata un\'utilità per la lettura dello schermo, questo valore viene impostato su 500 per impostazione predefinita. Avviso: questa opzione può influire sulle prestazioni se il numero di righe è superiore a quello predefinito.",
|
||||
"Contenuto editor",
|
||||
"Controlla se i suggerimenti inline vengono annunciati da un\'utilità per la lettura dello schermo. Si noti che questo non funziona in macOS con VoiceOver.",
|
||||
"Controllare se i suggerimenti inline vengono annunciati da un\'utilità per la lettura dello schermo.",
|
||||
"Usa le configurazioni del linguaggio per determinare la chiusura automatica delle parentesi.",
|
||||
"Chiudi automaticamente le parentesi solo quando il cursore si trova alla sinistra di uno spazio vuoto.",
|
||||
"Controlla se l\'editor deve chiudere automaticamente le parentesi quadre dopo che sono state aperte.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Il ritorno a capo automatico delle righe viene applicato in corrispondenza della larghezza minima del viewport e di `#editor.wordWrapColumn#`.",
|
||||
"Controlla il ritorno a capo automatico delle righe.",
|
||||
"Controlla la colonna per il ritorno a capo automatico dell\'editor quando il valore di `#editor.wordWrap#` è `wordWrapColumn` o `bounded`.",
|
||||
"Controllare se visualizzare le decorazioni colori incorporate usando il provider colori predefinito del documento",
|
||||
"Controlla se l\'editor riceve le schede o le rinvia al workbench per lo spostamento.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Indica se un editor o un input RTF ha lo stato attivo (il cursore lampeggia)",
|
||||
"Indica se l\'editor è di sola lettura",
|
||||
"Indica se il contesto è un editor diff",
|
||||
"Indica se il contesto è un editor diff incorporato",
|
||||
"Indica se `editor.columnSelection` è abilitato",
|
||||
"Indica se per l\'editor esiste testo selezionato",
|
||||
"Indica se per l\'editor esistono più selezioni",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Indica se l\'area sensibile al passaggio del mouse dell\'edito è attivata",
|
||||
"Indica se lo scorrimento permanente è attivo",
|
||||
"Indica se lo scorrimento permanente è visibile",
|
||||
"Indicare se la selezione colori autonoma è visibile",
|
||||
"Indicare se la selezione colori autonoma è evidenziata",
|
||||
"Indica se l\'editor fa parte di un editor più esteso (ad esempio notebook)",
|
||||
"Identificatore lingua dell\'editor",
|
||||
"Indica se per l\'editor esiste un provider di voci di completamento",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Premere CTRL+H per aprire una finestra del browser contenente maggiori informazioni correlate all\'accessibilità dell\'editor.",
|
||||
"Per chiudere questa descrizione comando e tornare all\'editor, premere ESC o MAIUSC+ESC.",
|
||||
"Visualizza la Guida sull\'accessibilità",
|
||||
"Guida sull\'accessibilità",
|
||||
"Sviluppatore: Controlla token",
|
||||
"Vai a Riga/Colonna...",
|
||||
"Mostra tutti i provider di accesso rapido",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Abilita/disabilita la visualizzazione delle intestazioni gruppo nel menu Azione codice.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Nascondi elementi disabilitati",
|
||||
"Mostra elementi disabilitati",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"Altre azioni...",
|
||||
"Correzione rapida...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Racchiudi con...",
|
||||
"Azione di origine...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Nascondi elementi disabilitati",
|
||||
"Mostra elementi disabilitati",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Mostra azioni codice. Correzione rapida preferita disponibile ({0})",
|
||||
"Mostra Azioni codice ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.it", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Fare clic per attivare/disattivare le opzioni di colore (rgb/hsl/hex)",
|
||||
"Icona per chiudere la selezione colori",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Mostra o sposta lo stato attivo su Selezione colori autonomo",
|
||||
"&&Mostra o sposta lo stato attivo su Selezione colori autonomo",
|
||||
"Nascondere la Selezione colori",
|
||||
"Inserire colore con Selezione colori autonomo",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Attiva/disattiva commento per la riga",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Sempre",
|
||||
"Mostra il menu di scelta rapida editor",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Abilita/disabilita l\'esecuzione delle modifiche dalle estensioni quando si incolla.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Esecuzione dei gestori Incolla in corso...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Cursore - Annulla",
|
||||
"Cursore - Ripeti",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Esecuzione dei gestori di rilascio in corso...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Incolla come...",
|
||||
"ID della modifica dell\'operazione Incolla da provare ad applicare. Se non viene specificato, l\'editor mostrerà un controllo di selezione.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Indica se il widget dell\'operazione Incolla viene visualizzato",
|
||||
"Mostra opzioni operazione Incolla...",
|
||||
"Esecuzione dei gestori del comando Incolla. Fare clic per annullare",
|
||||
"Seleziona azione Incolla",
|
||||
"Esecuzione dei gestori Incolla in corso",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Predefinita",
|
||||
"Inserire testo normale",
|
||||
"Inserire l\'URL",
|
||||
"Inserire l\'Uri",
|
||||
"Inserire percorsi",
|
||||
"Inserire percorso",
|
||||
"Inserire percorsi relativi",
|
||||
"Inserire percorso relativo",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Indica se il widget di rilascio viene visualizzato",
|
||||
"Mostra opzioni di rilascio...",
|
||||
"Esecuzione dei gestori di rilascio. Fare clic per annullare",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Indica se l\'editor esegue un\'operazione annullabile, ad esempio \'Anteprima riferimenti\'",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Trova successivo",
|
||||
"Trova precedente",
|
||||
"Andare a Corrispondenza...",
|
||||
"Nessuna corrispondenza. Provare a cercare qualcos\'altro.",
|
||||
"Digitare un numero per passare a una corrispondenza specifica (tra 1 e {0})",
|
||||
"Digitare un numero compreso tra 1 e {0}",
|
||||
"Digitare un numero compreso tra 1 e {0}",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Riferimenti",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"simbolo in {0} alla riga {1} colonna {2}",
|
||||
"simbolo in {0} alla riga {1} colonna {2}, {3}",
|
||||
"in {0} alla riga {1} della colonna {2}",
|
||||
"{0} in {1} alla riga {2} della colonna {3}",
|
||||
"1 simbolo in {0}, percorso completo {1}",
|
||||
"{0} simboli in {1}, percorso completo {2}",
|
||||
"Non sono stati trovati risultati",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Vai alla definizione ({0})",
|
||||
"Esegui il comando",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Se è visibile un suggerimento inline",
|
||||
"Se il suggerimento in linea inizia con spazi vuoti",
|
||||
"Indica se il suggerimento inline inizia con uno spazio vuoto minore di quello che verrebbe inserito dalla tabulazione",
|
||||
"Indica se l\'annullamento annullerebbe un suggerimento inline",
|
||||
"Indica se la barra degli strumenti dei suggerimenti in linea deve essere sempre visibile",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Mostrare suggerimento inline successivo",
|
||||
"Mostrare suggerimento inline precedente",
|
||||
"Trigger del suggerimento inline",
|
||||
"Accettare suggerimento inline per la parola successiva",
|
||||
"Accetta parola",
|
||||
"Accetta la riga successiva del suggerimento in linea",
|
||||
"Accetta riga",
|
||||
"Accetta il suggerimento in linea",
|
||||
"Accetta",
|
||||
"Nascondi suggerimento inline",
|
||||
"Mostra sempre la barra degli strumenti",
|
||||
"Annullare Accetta parola",
|
||||
"Annulla Accetta parola",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Suggerimento:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Se è visibile un suggerimento inline",
|
||||
"Se il suggerimento in linea inizia con spazi vuoti",
|
||||
"Indica se il suggerimento inline inizia con uno spazio vuoto minore di quello che verrebbe inserito dalla tabulazione",
|
||||
"Indica se i suggerimenti devono essere eliminati per il suggerimento corrente",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Icona per visualizzare il suggerimento del parametro successivo.",
|
||||
"Icona per visualizzare il suggerimento del parametro precedente.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"È stato premuto ({0}). In attesa del secondo tasto...",
|
||||
"È stato premuto ({0}). In attesa del prossimo tasto...",
|
||||
"La combinazione di tasti ({0}, {1}) non è un comando.",
|
||||
"La combinazione di tasti ({0}, {1}) non è un comando.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"Workbench",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Info",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"usate di recente",
|
||||
"più usato",
|
||||
"altri comandi",
|
||||
"{0}, {1}",
|
||||
"Il comando \'{0}\' ha restituito un errore",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Colore di sfondo dell\'indicatore di stato che può essere mostrato per operazioni a esecuzione prolungata.",
|
||||
"Colore di sfondo del testo dell\'errore nell\'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.",
|
||||
"Colore primo piano degli indicatori di errore nell\'editor.",
|
||||
"Colore del bordo delle caselle di errore nell\'editor.",
|
||||
"Se impostato, colore delle doppie sottolineature per gli errori nell\'editor.",
|
||||
"Colore di sfondo del testo dell\'avviso nell\'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.",
|
||||
"Colore primo piano degli indicatori di avviso nell\'editor.",
|
||||
"Colore del bordo delle caselle di avviso nell\'editor.",
|
||||
"Se impostato, colore delle doppie sottolineature per gli avvisi nell\'editor.",
|
||||
"Colore di sfondo del testo delle informazioni nell\'editor. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.",
|
||||
"Colore primo piano degli indicatori di informazioni nell\'editor.",
|
||||
"Colore del bordo delle caselle informative nell\'editor.",
|
||||
"Se impostato, colore delle doppie sottolineature per i messaggi informativi nell\'editor.",
|
||||
"Colore primo piano degli indicatori di suggerimento nell\'editor.",
|
||||
"Colore del bordo delle caselle dei suggerimenti nell\'editor.",
|
||||
"Se impostato, colore delle doppie sottolineature per i suggerimenti nell\'editor.",
|
||||
"Colore dei bordi di ridimensionamento attivi.",
|
||||
"Colore di sfondo dell\'editor.",
|
||||
"Colore primo piano predefinito dell\'editor.",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Colore del contorno del testo che è stato rimosso.",
|
||||
"Colore del bordo tra due editor di testo.",
|
||||
"Colore del riempimento diagonale dell\'editor diff. Il riempimento diagonale viene usato nelle visualizzazioni diff affiancate.",
|
||||
"Colore dei blocchi non modificati nell\'editor diff.",
|
||||
"Colore di sfondo dell\'elenco/albero per l\'elemento con lo stato attivo quando l\'elenco/albero è attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.",
|
||||
"Colore primo piano dell\'elenco/albero per l\'elemento con lo stato attivo quando l\'elenco/albero è attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.",
|
||||
"Colore del contorno dell\'elenco/albero per l\'elemento con lo stato attivo quando l\'elenco/albero è attivo. Un elenco/albero attivo ha lo stato attivo della tastiera, a differenza di uno inattivo.",
|
||||
|
|
@ -1746,7 +1791,7 @@ define("vs/editor/editor.main.nls.it", {
|
|||
"Colore di sfondo del widget del filtro per tipo in elenchi e alberi.",
|
||||
"Colore del contorno del widget del filtro per tipo in elenchi e alberi.",
|
||||
"Colore del contorno del widget del filtro per tipo in elenchi e alberi quando non sono presenti corrispondenze.",
|
||||
"Colore ombreggiatura del widget del filtro in elenchi e alberi.",
|
||||
"Colore ombreggiatura del widget del filtro sul tipo negli elenchi e alberi.",
|
||||
"Colore di sfondo della corrispondenza filtrata.",
|
||||
"Colore del bordo della corrispondenza filtrata.",
|
||||
"Colore del tratto dell\'albero per le guide per i rientri.",
|
||||
|
|
|
|||
115
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ja.js
generated
vendored
115
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ja.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"警告: {0}",
|
||||
"情報: {0}",
|
||||
"履歴対象",
|
||||
"クリアされた入力",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"バインドなし",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"差分エディターで削除を示す行の装飾。",
|
||||
" Shift + F7 を使用して変更を移動する",
|
||||
"一方のファイルが大きすぎるため、ファイルを比較できません。",
|
||||
"クリックして変更を元に戻す",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"差分レビューでの \'挿入\' のアイコン。",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"この長さを越える行は、パフォーマンス上の理由によりトークン化されません。",
|
||||
"Web ワーカーでトークン化を非同期的に行うかどうかを制御します。",
|
||||
"非同期トークン化をログに記録するかどうかを制御します。デバッグ用のみ。",
|
||||
"従来のバックグラウンド トークン化に対して非同期トークン化を検証するかどうかを制御します。トークン化が遅くなる可能性があります。デバッグ専用です。",
|
||||
"インデントを増減する角かっこを定義します。",
|
||||
"左角かっこまたは文字列シーケンス。",
|
||||
"右角かっこまたは文字列シーケンス。",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"行を折り返しません。",
|
||||
"行をビューポートの幅で折り返します。",
|
||||
"行は、{0} の設定に従って折り返されます。",
|
||||
"既定の差分アルゴリズムを使用します。",
|
||||
"試験的な差分アルゴリズムを使用します。",
|
||||
"従来の差分アルゴリズムを使用します。",
|
||||
"高度な差分アルゴリズムを使用します。",
|
||||
"差分エディターで変更されていない領域を表示するかどうかを制御します。\'diffEditor.experimental.useVersion2\' が設定されている場合にのみ機能します。",
|
||||
"差分エディターで新しい実装と古い実装のどちらを使用するかを制御します。",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"プラットフォーム API を使用して、スクリーン リーダーがいつ接続されたかを検出する",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"折り返し行は、親 +2 のインデントになります。",
|
||||
"折り返し行のインデントを制御します。",
|
||||
"(エディターでファイルを開く代わりに) \'shift\' を押しながらテキスト エディターにファイルをドラッグ アンド ドロップできるかどうかを制御します。",
|
||||
"エディターにファイルをドロップするときにウィジェットを表示するかどうかを制御します。このウィジェットでは、ファイルのドロップ方法を制御できます。",
|
||||
"ファイルがエディターにドロップされた後に、ドロップ セレクター ウィジェットを表示します。",
|
||||
"ドロップ セレクター ウィジェットを表示しません。代わりに、既定のドロップ プロバイダーが常に使用されます。",
|
||||
"さまざまな方法でコンテンツを貼り付けることができるかどうかを制御します。",
|
||||
"エディターにコンテンツを貼り付けるときにウィジェットを表示するかどうかを制御します。このウィジェットを使用すると、ファイルの貼り付け方法を制御できます。",
|
||||
"コンテンツをエディターに貼り付けた後、貼り付けセレクター ウィジェットを表示します。",
|
||||
"貼り付けセレクター ウィジェットを表示しないでください。代わりに、既定の貼り付け動作が常に使用されます。",
|
||||
"コミット文字で候補を受け入れるかどうかを制御します。たとえば、JavaScript ではセミコロン (`;`) をコミット文字にして、候補を受け入れてその文字を入力することができます。",
|
||||
"テキストの変更を行うとき、`Enter` を使用する場合にのみ候補を受け付けます。",
|
||||
"`Tab` キーに加えて `Enter` キーで候補を受け入れるかどうかを制御します。改行の挿入や候補の反映の間であいまいさを解消するのに役立ちます。",
|
||||
"一度にスクリーン リーダーによって読み上げることができるエディターの行数を制御します。スクリーン リーダーが検出されると、既定値が 500 に自動的に設定されます。警告: 既定値より大きい数値の場合は、パフォーマンスに影響があります。",
|
||||
"エディターのコンテンツ",
|
||||
"スクリーン リーダーでインライン候補が通知されるかどうかを制御します。VoiceOver を使用した macOS では動作しないことに注意してください。",
|
||||
"スクリーン リーダーによってインライン候補が読み上げられるかどうかを制御します。",
|
||||
"言語設定を使用して、いつかっこを自動クローズするか決定します。",
|
||||
"カーソルが空白文字の左にあるときだけ、かっこを自動クローズします。",
|
||||
"エディターで左角かっこを追加した後に自動的に右角かっこを挿入するかどうかを制御します。",
|
||||
|
|
@ -471,7 +483,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"常に折りたたみコントロールを表示します。",
|
||||
"折りたたみコントロールを表示せず、余白のサイズを小さくします。",
|
||||
"マウスがとじしろの上にあるときにのみ、折りたたみコントロールを表示します。",
|
||||
"とじしろのの折りたたみコントロールを表示するタイミングを制御します。",
|
||||
"とじしろの折りたたみコントロールを表示するタイミングを制御します。",
|
||||
"使用されていないコードのフェードアウトを制御します。",
|
||||
"非推奨の変数の取り消し線を制御します。",
|
||||
"他の候補の上にスニペットの候補を表示します。",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"ビューポートと `#editor.wordWrapColumn#` の最小値で行を折り返します。",
|
||||
"行の折り返し方法を制御します。",
|
||||
"`#editor.wordWrap#` が `wordWrapColumn` または `bounded` の場合に、エディターの折り返し桁を制御します。",
|
||||
"既定のドキュメント カラー プロバイダーを使用してインラインの色の装飾を表示するかどうかを制御します",
|
||||
"エディターがタブを受け取るか、ワークベンチに委ねてナビゲーションするかを制御します。",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"エディターまたはリッチ テキスト入力にフォーカスがある (カーソルが点滅している) かどうか",
|
||||
"エディターが読み取り専用かどうか",
|
||||
"コンテキストが差分エディターであるかどうか",
|
||||
"コンテキストが埋め込み差分エディターであるかどうか",
|
||||
"`editor.columnSelection` が有効になっているかどうか",
|
||||
"エディターでテキストが選択されているかどうか",
|
||||
"エディターに複数の選択範囲があるかどうか",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"エディターのホバーがフォーカスされているかどうか",
|
||||
"固定スクロールがフォーカスされているかどうか",
|
||||
"固定スクロールが表示されているかどうか",
|
||||
"スタンドアロン カラー ピッカーを表示するかどうか",
|
||||
"スタンドアロン カラー ピッカーがフォーカスされているかどうか",
|
||||
"エディターがより大きなエディター (例: Notebooks) の一部であるかどうか",
|
||||
"エディターの言語識別子",
|
||||
"エディターに入力候補項目プロバイダーがあるかどうか",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"エディターのアクセシビリティに関する詳細情報が記されたブラウザー ウィンドウを開くには、Control+H を押してください。",
|
||||
"Esc キー か Shift+Esc を押すと、ヒントを消してエディターに戻ることができます。",
|
||||
"アクセシビリティのヘルプを表示します",
|
||||
"アクセシビリティのヘルプ",
|
||||
"開発者: トークンの検査",
|
||||
"行/列に移動する...",
|
||||
"すべてのクイック アクセス プロバイダーを表示",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"コード アクション メニューでのグループ ヘッダーの表示の有効/無効を切り替えます。",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"無効なものを非表示",
|
||||
"無効を表示",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"その他の操作...",
|
||||
"クイック フィックス...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"ブロックの挿入...",
|
||||
"ソース アクション...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"無効なものを非表示",
|
||||
"無効を表示",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"コードアクションを表示します。使用可能な優先のクイック修正 ({0})",
|
||||
"コード アクションの表示 ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"クリックして色オプションを切り替えます (rgb/hsl/hex)",
|
||||
"カラー ピッカーを閉じるアイコン",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"スタンドアロン カラー ピッカーの表示またはフォーカス",
|
||||
"スタンドアロン カラー ピッカーの表示またはフォーカス(&S)",
|
||||
"カラー ピッカーを非表示にする",
|
||||
"スタンドアロン カラー ピッカーで色を挿入",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"行コメントの切り替え",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"常に",
|
||||
"エディターのコンテキスト メニューの表示",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"貼り付け時に拡張機能からの編集の実行を有効化/無効化してください。",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"貼り付けハンドラーを実行しています...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"カーソルを元に戻す",
|
||||
"カーソルのやり直し",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"ドロップ ハンドラーを実行しています...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"貼り付けのオプション...",
|
||||
"適用しようとする貼り付け編集の ID。指定しない場合、エディターにピッカーが表示されます。",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"貼り付けウィジェットが表示されているかどうか",
|
||||
"貼り付けオプションを表示...",
|
||||
"貼り付けハンドラーを実行しています。クリックしてキャンセルします",
|
||||
"貼り付け操作の選択",
|
||||
"貼り付けハンドラーを実行しています...",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"ビルトイン",
|
||||
"プレーンテキストの挿入",
|
||||
"URI の挿入",
|
||||
"URI の挿入",
|
||||
"パスの挿入",
|
||||
"パスの挿入",
|
||||
"相対パスの挿入",
|
||||
"相対パスの挿入",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"ドロップ ウィジェットが表示されているかどうか",
|
||||
"ドロップ オプションを表示...",
|
||||
"ドロップ ハンドラーを実行しています。クリックしてキャンセルします",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"エディターで取り消し可能な操作 (\'参照をここに表示\' など) を実行するかどうか",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"次を検索",
|
||||
"前を検索",
|
||||
"[一致] に移動...",
|
||||
"一致しません。他の項目を検索してみてください。",
|
||||
"特定の一致に移動する数値を入力します (1 から {0})",
|
||||
"1 ~ {0} の数を入力してください。",
|
||||
"1 ~ {0} の数を入力してください。",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"参照設定",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"列 {2} の {1} 行目に {0} つのシンボル",
|
||||
"列 {2}、{3} の {1} 行目の {0} にある記号",
|
||||
"列 {2} の行 {1} の {0}",
|
||||
"列 {3} の行 {2} の {1} に {0}",
|
||||
"{0} に 1 個のシンボル、完全なパス {1}",
|
||||
"{1} に {0} 個のシンボル、完全なパス {2}",
|
||||
"一致する項目はありません",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"定義に移動 ({0})",
|
||||
"コマンドの実行",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"インライン候補を表示するかどうか",
|
||||
"インライン候補がスペースで始まるかどうか",
|
||||
"インライン候補が、タブで挿入されるものよりも小さいスペースで始まるかどうか",
|
||||
"元に戻す場合にインライン候補を元に戻すかどうか",
|
||||
"インライン提案ツール バーを常に表示するかどうか",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"次のインライン候補を表示する",
|
||||
"前のインライン候補を表示する",
|
||||
"インライン候補をトリガーする",
|
||||
"インライン提案の次の単語を承諾する",
|
||||
"ワードを承諾する",
|
||||
"インライン提案の次の行を承諾する",
|
||||
"行を承諾する",
|
||||
"インライン候補を承諾する",
|
||||
"承諾する",
|
||||
"インライン候補を非表示にする",
|
||||
"常にツール バーを表示する",
|
||||
"ワードの承認を元に戻す",
|
||||
"ワードの承諾を元に戻す",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"おすすめ:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"インライン候補を表示するかどうか",
|
||||
"インライン候補がスペースで始まるかどうか",
|
||||
"インライン候補が、タブで挿入されるものよりも小さいスペースで始まるかどうか",
|
||||
"現在の候補について候補表示を止めるかどうか",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"次のパラメーター ヒントを表示するためのアイコン。",
|
||||
"前のパラメーター ヒントを表示するためのアイコン。",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"({0}) が渡されました。2 番目のキーを待っています...",
|
||||
"({0}) が渡されました。次のキーを待っています...",
|
||||
"キーの組み合わせ ({0}、{1}) はコマンドではありません。",
|
||||
"キーの組み合わせ ({0}、{1}) はコマンドではありません。",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"ワークベンチ",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"情報",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"最近使用したもの",
|
||||
"よく使用するもの",
|
||||
"その他のコマンド",
|
||||
"{0}, {1}",
|
||||
"コマンド \'{0}\' でエラーが発生しました",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"時間のかかる操作で表示するプログレス バーの背景色。",
|
||||
"エディター内のエラー テキストの背景色。この色は、基本装飾が非表示にならないよう不透明にすることはできません。",
|
||||
"エディターでエラーを示す波線の前景色。",
|
||||
"エディター内のエラー ボックスの境界線の色です。",
|
||||
"設定されている場合、エディター内のエラーの二重下線の色。",
|
||||
"エディター内の警告テキストの背景色。この色は、基本装飾が非表示にならないよう不透明にすることはできません。",
|
||||
"エディターで警告を示す波線の前景色。",
|
||||
"エディターでの警告ボックスの境界線の色です。",
|
||||
"設定されている場合、エディター内の警告の二重下線の色。",
|
||||
"エディター内の情報テキストの背景色。この色は、基本装飾が非表示にならないよう不透明にすることはできません。",
|
||||
"エディターで情報を示す波線の前景色。",
|
||||
"エディター内の情報ボックスの境界線の色です。",
|
||||
"設定されている場合、エディター内の情報の二重下線の色。",
|
||||
"エディターでヒントを示す波線の前景色。",
|
||||
"エディター内のヒント ボックスの境界線の色。",
|
||||
"設定されている場合、エディター内のヒントの二重下線の色。",
|
||||
"アクティブな枠の境界線の色。",
|
||||
"エディターの背景色。",
|
||||
"エディターの既定の前景色。",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"削除されたテキストの輪郭の色。",
|
||||
"2 つのテキスト エディターの間の境界線の色。",
|
||||
"差分エディターの対角線の塗りつぶし色。対角線の塗りつぶしは、横に並べて比較するビューで使用されます。",
|
||||
"差分エディター内の変更されていないブロックの色。",
|
||||
"ツリーリストがアクティブのとき、フォーカスされた項目のツリーリスト背景色。アクティブなツリーリストはキーボード フォーカスがあり、非アクティブではこれがありません。",
|
||||
"ツリーリストがアクティブのとき、フォーカスされた項目のツリーリスト前景色。アクティブなツリーリストはキーボード フォーカスがあり、非アクティブではこれがありません。",
|
||||
"リストやツリーがアクティブな場合の、フォーカスされた項目のリストやツリーのアウトライン色。アクティブなリストやツリーにはキーボード フォーカスがあり、非アクティブにはこれがありません。",
|
||||
|
|
@ -1746,7 +1791,7 @@ define("vs/editor/editor.main.nls.ja", {
|
|||
"リストおよびツリーの型フィルター ウェジェットの背景色。",
|
||||
"リストおよびツリーの型フィルター ウィジェットのアウトライン色。",
|
||||
"一致項目がない場合の、リストおよびツリーの型フィルター ウィジェットのアウトライン色。",
|
||||
"リストおよびツリーの型フィルター ウィジェットのシャドウ色。",
|
||||
"リストおよびツリーの型フィルター ウィジェットの影の色。",
|
||||
"フィルタリングされた一致の背景色。",
|
||||
"フィルタリングされた一致の境界線の色。",
|
||||
"インデント ガイドのツリー ストロークの色。",
|
||||
|
|
|
|||
121
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.js
generated
vendored
121
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -31,7 +31,8 @@ define("vs/editor/editor.main.nls", {
|
|||
"Error: {0}",
|
||||
"Warning: {0}",
|
||||
"Info: {0}",
|
||||
"for history"
|
||||
"for history",
|
||||
"Cleared Input"
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"Unbound"
|
||||
|
|
@ -112,7 +113,8 @@ define("vs/editor/editor.main.nls", {
|
|||
"Line decoration for inserts in the diff editor.",
|
||||
"Line decoration for removals in the diff editor.",
|
||||
" use Shift + F7 to navigate changes",
|
||||
"Cannot compare files because one file is too large."
|
||||
"Cannot compare files because one file is too large.",
|
||||
"Click to revert change"
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Icon for 'Insert' in diff review.",
|
||||
|
|
@ -163,6 +165,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Lines above this length will not be tokenized for performance reasons",
|
||||
"Controls whether the tokenization should happen asynchronously on a web worker.",
|
||||
"Controls whether async tokenization should be logged. For debugging only.",
|
||||
"Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only.",
|
||||
"Defines the bracket symbols that increase or decrease the indentation.",
|
||||
"The opening bracket character or string sequence.",
|
||||
"The closing bracket character or string sequence.",
|
||||
|
|
@ -179,8 +182,10 @@ define("vs/editor/editor.main.nls", {
|
|||
"Lines will never wrap.",
|
||||
"Lines will wrap at the viewport width.",
|
||||
"Lines will wrap according to the {0} setting.",
|
||||
"Uses the default diffing algorithm.",
|
||||
"Uses an experimental diffing algorithm."
|
||||
"Uses the legacy diffing algorithm.",
|
||||
"Uses the advanced diffing algorithm.",
|
||||
"Controls whether the diff editor shows unchanged regions. Only works when 'diffEditor.experimental.useVersion2' is set.",
|
||||
"Controls whether the diff editor uses the new or the old implementation."
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Use platform APIs to detect when a Screen Reader is attached",
|
||||
|
|
@ -369,12 +374,19 @@ define("vs/editor/editor.main.nls", {
|
|||
"Wrapped lines get +2 indentation toward the parent.",
|
||||
"Controls the indentation of wrapped lines.",
|
||||
"Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).",
|
||||
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped.",
|
||||
"Show the drop selector widget after a file is dropped into the editor.",
|
||||
"Never show the drop selector widget. Instead the default drop provider is always used.",
|
||||
"Controls whether you can paste content in different ways.",
|
||||
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted.",
|
||||
"Show the paste selector widget after content is pasted into the editor.",
|
||||
"Never show the paste selector widget. Instead the default pasting behavior is always used.",
|
||||
"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.",
|
||||
"Only accept a suggestion with `Enter` when it makes a textual change.",
|
||||
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.",
|
||||
"Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.",
|
||||
"Editor content",
|
||||
"Control whether inline suggestions are announced by a screen reader. Note that this does not work on macOS with VoiceOver.",
|
||||
"Control whether inline suggestions are announced by a screen reader.",
|
||||
"Use language configurations to determine when to autoclose brackets.",
|
||||
"Autoclose brackets only when the cursor is to the left of whitespace.",
|
||||
"Controls whether the editor should automatically close brackets after the user adds an opening bracket.",
|
||||
|
|
@ -509,6 +521,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.",
|
||||
"Controls how lines should wrap.",
|
||||
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.",
|
||||
"Controls whether inline color decorations should be shown using the default document color provider",
|
||||
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -572,6 +585,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Whether an editor or a rich text input has focus (cursor is blinking)",
|
||||
"Whether the editor is read only",
|
||||
"Whether the context is a diff editor",
|
||||
"Whether the context is an embedded diff editor",
|
||||
"Whether `editor.columnSelection` is enabled",
|
||||
"Whether the editor has text selected",
|
||||
"Whether the editor has multiple selections",
|
||||
|
|
@ -580,6 +594,8 @@ define("vs/editor/editor.main.nls", {
|
|||
"Whether the editor hover is focused",
|
||||
"Whether the sticky scroll is focused",
|
||||
"Whether the sticky scroll is visible",
|
||||
"Whether the standalone color picker is visible",
|
||||
"Whether the standalone color picker is focused",
|
||||
"Whether the editor is part of a larger editor (e.g. notebooks)",
|
||||
"The language identifier of the editor",
|
||||
"Whether the editor has a completion item provider",
|
||||
|
|
@ -631,6 +647,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Press Control+H now to open a browser window with more information related to editor accessibility.",
|
||||
"You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape.",
|
||||
"Show Accessibility Help",
|
||||
"Accessibility Help",
|
||||
"Developer: Inspect Tokens",
|
||||
"Go to Line/Column...",
|
||||
"Show all Quick Access Providers",
|
||||
|
|
@ -725,6 +742,10 @@ define("vs/editor/editor.main.nls", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Enable/disable showing group headers in the Code Action menu."
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Hide Disabled",
|
||||
"Show Disabled"
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"More Actions...",
|
||||
"Quick Fix...",
|
||||
|
|
@ -735,10 +756,6 @@ define("vs/editor/editor.main.nls", {
|
|||
"Surround With...",
|
||||
"Source Action..."
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Hide Disabled",
|
||||
"Show Disabled"
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Show Code Actions. Preferred Quick Fix Available ({0})",
|
||||
"Show Code Actions ({0})",
|
||||
|
|
@ -748,7 +765,14 @@ define("vs/editor/editor.main.nls", {
|
|||
"Show CodeLens Commands For Current Line"
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Click to toggle color options (rgb/hsl/hex)"
|
||||
"Click to toggle color options (rgb/hsl/hex)",
|
||||
"Icon to close the color picker"
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Show or Focus Standalone Color Picker",
|
||||
"&&Show or Focus Standalone Color Picker",
|
||||
"Hide the Color Picker",
|
||||
"Insert Color with Standalone Color Picker"
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Toggle Line Comment",
|
||||
|
|
@ -770,18 +794,35 @@ define("vs/editor/editor.main.nls", {
|
|||
"Always",
|
||||
"Show Editor Context Menu"
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Enable/disable running edits from extensions on paste."
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Running paste handlers..."
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Cursor Undo",
|
||||
"Cursor Redo"
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Running drop handlers..."
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Paste As...",
|
||||
"The id of the paste edit to try applying. If not provided, the editor will show a picker."
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Whether the paste widget is showing",
|
||||
"Show paste options...",
|
||||
"Running paste handlers. Click to cancel",
|
||||
"Select Paste Action",
|
||||
"Running paste handlers"
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Built-in",
|
||||
"Insert Plain Text",
|
||||
"Insert Uris",
|
||||
"Insert Uri",
|
||||
"Insert Paths",
|
||||
"Insert Path",
|
||||
"Insert Relative Paths",
|
||||
"Insert Relative Path"
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Whether the drop widget is showing",
|
||||
"Show drop options...",
|
||||
"Running drop handlers. Click to cancel"
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Whether the editor runs a cancellable operation, e.g. like 'Peek References'"
|
||||
|
|
@ -798,6 +839,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Find Next",
|
||||
"Find Previous",
|
||||
"Go to Match...",
|
||||
"No matches. Try searching for something else.",
|
||||
"Type a number to go to a specific match (between 1 and {0})",
|
||||
"Please type a number between 1 and {0}",
|
||||
"Please type a number between 1 and {0}",
|
||||
|
|
@ -963,8 +1005,8 @@ define("vs/editor/editor.main.nls", {
|
|||
"References"
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"symbol in {0} on line {1} at column {2}",
|
||||
"symbol in {0} on line {1} at column {2}, {3}",
|
||||
"in {0} on line {1} at column {2}",
|
||||
"{0} in {1} on line {2} at column {3}",
|
||||
"1 symbol in {0}, full path {1}",
|
||||
"{0} symbols in {1}, full path {2}",
|
||||
"No results found",
|
||||
|
|
@ -1030,28 +1072,29 @@ define("vs/editor/editor.main.nls", {
|
|||
"Go to Definition ({0})",
|
||||
"Execute Command"
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Whether an inline suggestion is visible",
|
||||
"Whether the inline suggestion starts with whitespace",
|
||||
"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab",
|
||||
"Whether undo would undo an inline suggestion",
|
||||
"Whether the inline suggestion toolbar should always be visible",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Show Next Inline Suggestion",
|
||||
"Show Previous Inline Suggestion",
|
||||
"Trigger Inline Suggestion",
|
||||
"Accept Next Word Of Inline Suggestion",
|
||||
"Accept Word",
|
||||
"Accept Next Line Of Inline Suggestion",
|
||||
"Accept Line",
|
||||
"Accept Inline Suggestion",
|
||||
"Accept",
|
||||
"Hide Inline Suggestion",
|
||||
"Always Show Toolbar",
|
||||
"Undo Accept Word",
|
||||
"Undo Accept Word"
|
||||
"Always Show Toolbar"
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Suggestion:"
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Whether an inline suggestion is visible",
|
||||
"Whether the inline suggestion starts with whitespace",
|
||||
"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab",
|
||||
"Whether suggestions should be suppressed for the current suggestion"
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Icon for show next parameter hint.",
|
||||
"Icon for show previous parameter hint.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1539,6 +1582,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"vs/platform/keybinding/common/abstractKeybindingService": [
|
||||
"({0}) was pressed. Waiting for second key of chord...",
|
||||
"({0}) was pressed. Waiting for next key of chord...",
|
||||
"The key combination ({0}, {1}) is not a command.",
|
||||
"The key combination ({0}, {1}) is not a command."
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
|
|
@ -1574,10 +1618,10 @@ define("vs/editor/editor.main.nls", {
|
|||
"Info"
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"recently used",
|
||||
"commonly used",
|
||||
"other commands",
|
||||
"{0}, {1}",
|
||||
"Command '{0}' resulted in an error"
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1659,15 +1703,15 @@ define("vs/editor/editor.main.nls", {
|
|||
"Background color of the progress bar that can show for long running operations.",
|
||||
"Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.",
|
||||
"Foreground color of error squigglies in the editor.",
|
||||
"Border color of error boxes in the editor.",
|
||||
"If set, color of double underlines for errors in the editor.",
|
||||
"Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.",
|
||||
"Foreground color of warning squigglies in the editor.",
|
||||
"Border color of warning boxes in the editor.",
|
||||
"If set, color of double underlines for warnings in the editor.",
|
||||
"Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.",
|
||||
"Foreground color of info squigglies in the editor.",
|
||||
"Border color of info boxes in the editor.",
|
||||
"If set, color of double underlines for infos in the editor.",
|
||||
"Foreground color of hint squigglies in the editor.",
|
||||
"Border color of hint boxes in the editor.",
|
||||
"If set, color of double underlines for hints in the editor.",
|
||||
"Border color of active sashes.",
|
||||
"Editor background color.",
|
||||
"Editor default foreground color.",
|
||||
|
|
@ -1726,6 +1770,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Outline color for text that got removed.",
|
||||
"Border color between the two text editors.",
|
||||
"Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.",
|
||||
"The color of unchanged blocks in diff editor.",
|
||||
"List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.",
|
||||
"List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.",
|
||||
"List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.",
|
||||
|
|
@ -1749,7 +1794,7 @@ define("vs/editor/editor.main.nls", {
|
|||
"Background color of the type filter widget in lists and trees.",
|
||||
"Outline color of the type filter widget in lists and trees.",
|
||||
"Outline color of the type filter widget in lists and trees, when there are no matches.",
|
||||
"Shadown color of the type filter widget in lists and trees.",
|
||||
"Shadow color of the type filter widget in lists and trees.",
|
||||
"Background color of the filtered match.",
|
||||
"Border color of the filtered match.",
|
||||
"Tree stroke color for the indentation guides.",
|
||||
|
|
|
|||
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ko.js
generated
vendored
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ko.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"경고: {0}",
|
||||
"정보: {0}",
|
||||
"기록용",
|
||||
"입력이 지워짐",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"바인딩 안 됨",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"diff 편집기의 제거에 대한 줄 데코레이션입니다.",
|
||||
" Shift + F7을 사용하여 변경 내용 탐색",
|
||||
"파일 1개가 너무 커서 파일을 비교할 수 없습니다.",
|
||||
"변경 내용을 되돌리려면 클릭",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Diff 검토에서 \'삽입\'의 아이콘입니다.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"이 길이를 초과하는 줄은 성능상의 이유로 토큰화되지 않습니다.",
|
||||
"웹 작업자에서 토큰화가 비동기적으로 수행되어야 하는지 여부를 제어합니다.",
|
||||
"비동기 토큰화가 기록되어야 하는지 여부를 제어합니다. 디버깅 전용입니다.",
|
||||
"레거시 백그라운드 토큰화에 대해 비동기 토큰화를 확인해야 하는지 여부를 제어합니다. 토큰화 속도가 느려질 수 있습니다. 디버깅 전용입니다.",
|
||||
"들여쓰기를 늘리거나 줄이는 대괄호 기호를 정의합니다.",
|
||||
"여는 대괄호 문자 또는 문자열 시퀀스입니다.",
|
||||
"닫는 대괄호 문자 또는 문자열 시퀀스입니다.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"줄이 바뀌지 않습니다.",
|
||||
"뷰포트 너비에서 줄이 바뀝니다.",
|
||||
"줄은 {0} 설정에 따라 줄 바꿈됩니다.",
|
||||
"기본 차이 알고리즘을 사용합니다.",
|
||||
"실험적 차이 알고리즘을 사용합니다.",
|
||||
"레거시 비교 알고리즘을 사용합니다.",
|
||||
"고급 비교 알고리즘을 사용합니다.",
|
||||
"Diff 편집기에 변경되지 않은 영역이 표시되는지 여부를 제어합니다. \'diffEditor.experimental.useVersion2\'가 설정된 경우에만 작동합니다.",
|
||||
"diff 편집기에서 새 구현을 사용하는지 또는 이전 구현을 사용하는지 여부를 제어합니다.",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"플랫폼 API를 사용하여 화면 읽기 프로그램이 연결된 경우 감지",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"줄 바꿈 행이 부모 쪽으로 +2만큼 들여쓰기됩니다.",
|
||||
"줄 바꿈 행의 들여쓰기를 제어합니다.",
|
||||
"편집기에서 파일을 여는 대신 `shift`를 누른 채 파일을 텍스트 편집기로 끌어서 놓을 수 있는지 여부를 제어합니다.",
|
||||
"편집기에 파일을 끌어 놓을 때 위젯을 표시할지 여부를 제어합니다. 이 위젯을 사용하면 파일을 드롭하는 방법을 제어할 수 있습니다.",
|
||||
"파일이 편집기에 드롭된 후 드롭 선택기 위젯을 표시합니다.",
|
||||
"드롭 선택기 위젯을 표시하지 않습니다. 대신 기본 드롭 공급자가 항상 사용됩니다.",
|
||||
"콘텐츠를 다른 방법으로 붙여넣을 수 있는지 여부를 제어합니다.",
|
||||
"콘텐츠를 편집기에 붙여넣을 때 위젯을 표시할지 여부를 제어합니다. 이 위젯을 사용하여 파일을 붙여넣는 방법을 제어할 수 있습니다.",
|
||||
"콘텐츠를 편집기에 붙여넣은 후 붙여넣기 선택기 위젯을 표시합니다.",
|
||||
"붙여넣기 선택기 위젯을 표시하지 않습니다. 대신 기본 붙여넣기 동작이 항상 사용됩니다.",
|
||||
"커밋 문자에 대한 제안을 허용할지를 제어합니다. 예를 들어 JavaScript에서는 세미콜론(\';\')이 제안을 허용하고 해당 문자를 입력하는 커밋 문자일 수 있습니다.",
|
||||
"텍스트를 변경할 때 `Enter` 키를 사용한 제안만 허용합니다.",
|
||||
"\'Tab\' 키 외에 \'Enter\' 키에 대한 제안도 허용할지를 제어합니다. 새 줄을 삽입하는 동작과 제안을 허용하는 동작 간의 모호함을 없앨 수 있습니다.",
|
||||
"화면 읽기 프로그램에서 한 번에 읽을 수 있는 편집기 줄 수를 제어합니다. 화면 읽기 프로그램을 검색하면 기본값이 500으로 자동 설정됩니다. 경고: 기본값보다 큰 수의 경우 성능에 영향을 미칩니다.",
|
||||
"편집기 콘텐츠",
|
||||
"화면 판독기에서 인라인 제안을 발표할지 여부를 제어합니다. VoiceOver가 있는 macOS에서는 작동하지 않습니다.",
|
||||
"화면 읽기 프로그램에서 인라인 제안을 발표하는지 여부를 제어합니다.",
|
||||
"언어 구성을 사용하여 대괄호를 자동으로 닫을 경우를 결정합니다.",
|
||||
"커서가 공백의 왼쪽에 있는 경우에만 대괄호를 자동으로 닫습니다.",
|
||||
"사용자가 여는 괄호를 추가한 후 편집기에서 괄호를 자동으로 닫을지 여부를 제어합니다.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"뷰포트의 최소값 및 `#editor.wordWrapColumn#`에서 줄이 바뀝니다.",
|
||||
"줄 바꿈 여부를 제어합니다.",
|
||||
"`#editor.wordWrap#`이 `wordWrapColumn` 또는 \'bounded\'인 경우 편집기의 열 줄 바꿈을 제어합니다.",
|
||||
"기본 문서 색 공급자를 사용하여 인라인 색 장식을 표시할지 여부를 제어합니다.",
|
||||
"편집기에서 탭을 받을지 또는 탐색을 위해 워크벤치로 미룰지를 제어합니다.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"편집기 또는 서식 있는 텍스트 입력에 포커스가 있는지 여부(커서가 깜박임)",
|
||||
"편집기가 읽기 전용인지 여부",
|
||||
"컨텍스트가 diff 편집기인지 여부",
|
||||
"컨텍스트가 포함된 diff 편집기인지 여부",
|
||||
"\'editor.columnSelection\'을 사용하도록 설정되어 있는지 여부",
|
||||
"편집기에 선택된 텍스트가 있는지 여부",
|
||||
"편집기에 여러 개의 선택 항목이 있는지 여부",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"편집기 가리키기에 포커스가 있는지 여부",
|
||||
"스티키 스크롤의 포커스 여부",
|
||||
"스티키 스크롤의 가시성 여부",
|
||||
"독립 실행형 색 편집기가 표시되는지 여부",
|
||||
"독립 실행형 색 편집기가 포커스되는지 여부",
|
||||
"편집기가 더 큰 편집기(예: 전자 필기장)에 속해 있는지 여부",
|
||||
"편집기의 언어 식별자",
|
||||
"편집기에 완성 항목 공급자가 있는지 여부",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"Ctrl+H를 눌러 편집기 접근성과 관련된 자세한 정보가 있는 브라우저 창을 엽니다.",
|
||||
"이 도구 설명을 해제하고 Esc 키 또는 Shift+Esc를 눌러서 편집기로 돌아갈 수 있습니다.",
|
||||
"접근성 도움말 표시",
|
||||
"접근성 도움말",
|
||||
"개발자: 검사 토큰",
|
||||
"줄/열로 이동...",
|
||||
"빠른 액세스 공급자 모두 표시",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"코드 작업 메뉴에 그룹 헤더 표시를 활성화/비활성화합니다.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"사용하지 않는 항목 숨기기",
|
||||
"비활성화된 항목 표시",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"추가 작업...",
|
||||
"빠른 수정...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"코드 감싸기...",
|
||||
"소스 작업...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"사용하지 않는 항목 숨기기",
|
||||
"비활성화된 항목 표시",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"코드 작업 표시. 기본 설정 빠른 수정 사용 가능({0})",
|
||||
"코드 작업 표시({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"색 옵션을 토글하려면 클릭하세요(rgb/hsl/hex).",
|
||||
"색 편집기를 닫는 아이콘",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"독립 실행형 색 편집기 표시 또는 포커스",
|
||||
"독립 실행형 색 편집기 표시 또는 포커스(&&S)",
|
||||
"색 편집기 숨기기",
|
||||
"독립 실행형 색 편집기로 색 삽입",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"줄 주석 설정/해제",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"항상",
|
||||
"편집기 상황에 맞는 메뉴 표시",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"붙여넣을 때 확장에서 편집 실행을 사용하거나 사용하지 않도록 설정합니다.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"붙여넣기 처리기를 실행하는 중...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"커서 실행 취소",
|
||||
"커서 다시 실행",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"드롭 처리기를 실행하는 중...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"다른 이름으로 붙여넣기...",
|
||||
"적용할 붙여넣기 편집의 ID입니다. 제공하지 않으면 편집기에 선택기가 표시됩니다.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"붙여넣기 위젯이 표시되는지 여부",
|
||||
"붙여넣기 옵션 표시...",
|
||||
"붙여넣기 처리기를 실행하는 중입니다. 취소하려면 클릭하세요.",
|
||||
"붙여넣기 작업 선택",
|
||||
"붙여넣기 처리기를 실행하는 중",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"기본 제공",
|
||||
"일반 텍스트 삽입",
|
||||
"URI 삽입",
|
||||
"URI 삽입",
|
||||
"경로 삽입",
|
||||
"경로 삽입",
|
||||
"상대 경로 삽입",
|
||||
"상대 경로 삽입",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"드롭 위젯이 표시되는지 여부",
|
||||
"드롭 옵션 표시...",
|
||||
"드롭 처리기를 실행하는 중입니다. 취소하려면 클릭하세요.",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"편집기에서 취소 가능한 작업(예: \'참조 피킹\')을 실행하는지 여부",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"다음 찾기",
|
||||
"이전 찾기",
|
||||
"일치 항목으로 이동...",
|
||||
"일치하는 항목이 없습니다. 다른 내용으로 검색해 보세요.",
|
||||
"특정 일치 항목으로 이동하려면 숫자를 입력하세요(1~{0} 사이).",
|
||||
"1에서 {0} 사이의 숫자를 입력하세요",
|
||||
"1에서 {0} 사이의 숫자를 입력하세요",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"참조",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"{2}열, {1}줄, {0}의 기호",
|
||||
"열 {2}, {3}의 줄 {1}에 있는 {0}의 기호",
|
||||
"{2} 열에 있는 {1} 행의 {0}에",
|
||||
"{3} 열에서 {2} 행의 {1}에 {0}",
|
||||
"{0}의 기호 1개, 전체 경로 {1}",
|
||||
"{1}의 기호 {0}개, 전체 경로 {2}",
|
||||
"결과 없음",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"정의로 이동({0})",
|
||||
"명령 실행",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"인라인 제안 표시 여부",
|
||||
"인라인 제안이 공백으로 시작하는지 여부",
|
||||
"인라인 제안이 탭에 의해 삽입되는 것보다 작은 공백으로 시작하는지 여부",
|
||||
"실행 취소가 인라인 제안을 실행 취소할지 여부",
|
||||
"인라인 추천 도구 모음을 항상 표시할지 여부",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"다음 인라인 제안 표시",
|
||||
"이전 인라인 제안 표시",
|
||||
"인라인 제안 트리거",
|
||||
"인라인 제안의 다음 단어 수락",
|
||||
"단어 수락",
|
||||
"인라인 제안의 다음 줄 수락",
|
||||
"줄 수락",
|
||||
"인라인 추천 수락",
|
||||
"수락",
|
||||
"인라인 제안 숨기기",
|
||||
"항상 도구 모음 표시",
|
||||
"Word 수락 취소",
|
||||
"단어 수락 취소",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"제안:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"인라인 제안 표시 여부",
|
||||
"인라인 제안이 공백으로 시작하는지 여부",
|
||||
"인라인 제안이 탭에 의해 삽입되는 것보다 작은 공백으로 시작하는지 여부",
|
||||
"현재 제안에 대한 제안 표시 여부",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"다음 매개 변수 힌트 표시의 아이콘입니다.",
|
||||
"이전 매개 변수 힌트 표시의 아이콘입니다.",
|
||||
"{0}({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"({0})을(를) 눌렀습니다. 둘째 키는 잠시 기다렸다가 누르십시오...",
|
||||
"({0})을(를) 눌렀습니다. 코드의 다음 키를 기다리는 중...",
|
||||
"키 조합({0}, {1})은 명령이 아닙니다.",
|
||||
"키 조합({0}, {1})은 명령이 아닙니다.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"워크벤치",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"정보",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"최근에 사용한 항목",
|
||||
"일반적으로 사용됨",
|
||||
"기타 명령",
|
||||
"{0}, {1}",
|
||||
"\'{0}\' 명령에서 오류가 발생했습니다.",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"장기 작업을 대상으로 표시될 수 있는 진행률 표시줄의 배경색입니다.",
|
||||
"편집기에서 오류 텍스트의 배경색입니다. 기본 장식을 숨기지 않도록 색은 불투명하지 않아야 합니다.",
|
||||
"편집기 내 오류 표시선의 전경색입니다.",
|
||||
"편집기에서 오류 상자의 테두리 색입니다.",
|
||||
"설정된 경우 편집기에서 오류를 나타내는 이중 밑줄의 색입니다.",
|
||||
"편집기에서 경고 텍스트의 배경색입니다. 기본 장식을 숨기지 않도록 색은 불투명하지 않아야 합니다.",
|
||||
"편집기 내 경고 표시선의 전경색입니다.",
|
||||
"편집기에서 경고 상자의 테두리 색입니다.",
|
||||
"설정된 경우 편집기에서 경고를 나타내는 이중 밑줄의 색입니다.",
|
||||
"편집기에서 정보 텍스트의 배경색입니다. 기본 장식을 숨기지 않도록 색은 불투명하지 않아야 합니다.",
|
||||
"편집기 내 정보 표시선의 전경색입니다.",
|
||||
"편집기에서 정보 상자의 테두리 색입니다.",
|
||||
"설정된 경우 편집기에서 정보를 나타내는 이중 밑줄 색입니다.",
|
||||
"편집기에서 힌트 표시선의 전경색입니다.",
|
||||
"편집기에서 힌트 상자의 테두리 색입니다.",
|
||||
"설정된 경우 편집기에서 힌트를 나타내는 이중 밑줄 색입니다.",
|
||||
"활성 섀시의 테두리 색입니다.",
|
||||
"편집기 배경색입니다.",
|
||||
"편집기 기본 전경색입니다.",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"제거된 텍스트의 윤곽선 색입니다.",
|
||||
"두 텍스트 편집기 사이의 테두리 색입니다.",
|
||||
"diff 편집기의 대각선 채우기 색입니다. 대각선 채우기는 diff 나란히 보기에서 사용됩니다.",
|
||||
"diff 편집기에서 변경되지 않은 블록의 색입니다.",
|
||||
"목록/트리가 활성 상태인 경우 포커스가 있는 항목의 목록/트리 배경색입니다. 목록/트리가 활성 상태이면 키보드 포커스를 가지며, 비활성 상태이면 포커스가 없습니다.",
|
||||
"목록/트리가 활성 상태인 경우 포커스가 있는 항목의 목록/트리 전경색입니다. 목록/트리가 활성 상태이면 키보드 포커스를 가지며, 비활성 상태이면 포커스가 없습니다.",
|
||||
"목록/트리가 활성 상태인 경우 포커스가 있는 항목의 목록/트리 윤곽선 색입니다. 목록/트리가 활성 상태이면 키보드 포커스를 가지며, 비활성 상태이면 포커스가 없습니다.",
|
||||
|
|
@ -1746,7 +1791,7 @@ define("vs/editor/editor.main.nls.ko", {
|
|||
"목록 및 트리에서 형식 필터 위젯의 배경색입니다.",
|
||||
"목록 및 트리에서 형식 필터 위젯의 윤곽선 색입니다.",
|
||||
"일치하는 항목이 없을 때 목록 및 트리에서 표시되는 형식 필터 위젯의 윤곽선 색입니다.",
|
||||
"목록 및 트리에 있는 유형 필터 위젯의 그림자 색상입니다.",
|
||||
"목록 및 트리에서 유형 필터 위젯의 그림자 색상입니다.",
|
||||
"필터링된 일치 항목의 배경색입니다.",
|
||||
"필터링된 일치 항목의 테두리 색입니다.",
|
||||
"들여쓰기 가이드의 트리 스트로크 색입니다.",
|
||||
|
|
|
|||
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ru.js
generated
vendored
113
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.ru.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Предупреждение: {0}",
|
||||
"Информация: {0}",
|
||||
"для журнала",
|
||||
"Очищенные входные данные",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"свободный",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Оформление строки для удалений в редакторе несовпадений.",
|
||||
" используйте SHIFT + F7 для навигации по изменениям",
|
||||
"Нельзя сравнить файлы, потому что один из файлов слишком большой.",
|
||||
"Выберите, чтобы отменить изменение",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Значок для кнопки \"Вставить\" в окне проверки несовпадений.",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Строки, длина которых превышает указанное значение, не будут размечены из соображений производительности",
|
||||
"Определяет, должна ли разметка происходить асинхронно в рабочей роли.",
|
||||
"Определяет, следует ли регистрировать асинхронную разметку. Только для отладки.",
|
||||
"Определяет, должна ли асинхронная разметка проверяться по отношению к устаревшей фоновой разметке. Может замедлить разметку. Только для отладки.",
|
||||
"Определяет символы скобок, увеличивающие или уменьшающие отступ.",
|
||||
"Открывающий символ скобки или строковая последовательность.",
|
||||
"Закрывающий символ скобки или строковая последовательность.",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Строки не будут переноситься никогда.",
|
||||
"Строки будут переноситься по ширине окна просмотра.",
|
||||
"Строки будут переноситься в соответствии с настройкой {0}.",
|
||||
"Использует алгоритм сравнения по умолчанию.",
|
||||
"Использует экспериментальный алгоритм сравнения.",
|
||||
"Использует устаревший алгоритм сравнения.",
|
||||
"Использует расширенный алгоритм сравнения.",
|
||||
"Определяет, отображает ли редактор несовпадений неизмененные регионы. Работает только при настройке параметра \"diffEditor.experimental.useVersion2\".",
|
||||
"Определяет реализацию, используемую редактором несовпадений (новая или старая реализация).",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"Использовать API-интерфейсы платформы, чтобы определять, подключено ли средство чтения с экрана",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Перенесенные строки получат отступ, увеличенный на два по сравнению с родительской строкой.",
|
||||
"Управляет отступом строк с переносом по словам.",
|
||||
"Определяет, можно ли перетаскивать файл в редактор, удерживая нажатой клавишу SHIFT (вместо открытия файла в самом редакторе).",
|
||||
"Определяет, отображается ли мини-приложение при сбросе файлов в редактор. Это мини-приложение позволяет управлять тем, как сбрасывается файл.",
|
||||
"Отображать мини-приложение выбора сброса после сброса файла в редактор.",
|
||||
"Никогда не показывать мини-приложение выбора сброса. Вместо этого всегда используется поставщик сброса по умолчанию.",
|
||||
"Определяет, можно ли вставлять содержимое различными способами.",
|
||||
"Определяет, отображается ли мини-приложение при вставке содержимого в редактор. Это мини-приложение позволяет управлять тем, как вставляется файл.",
|
||||
"Отображать мини-приложение выбора вставки после вставки содержимого в редактор.",
|
||||
"Никогда не показывать мини-приложение выбора вставки. Вместо этого всегда используется действие вставки по умолчанию.",
|
||||
"Определяет, будут ли предложения приниматься при вводе символов фиксации. Например, в JavaScript точка с запятой (\";\") может быть символом фиксации, при вводе которого предложение принимается.",
|
||||
"Принимать предложение при нажатии клавиши ВВОД только в том случае, если оно изменяет текст.",
|
||||
"Определяет, будут ли предложения приниматься клавишей ВВОД в дополнение к клавише TAB. Это помогает избежать неоднозначности между вставкой новых строк и принятием предложений.",
|
||||
"Управляет числом строк в редакторе, которые могут быть прочитаны средством чтения с экрана за один раз. При обнаружении средства чтения с экрана автоматически устанавливается значение по умолчанию 500. Внимание! При указании числа строк, превышающего значение по умолчанию, возможно снижение производительности.",
|
||||
"Содержимое редактора",
|
||||
"Управляйте тем, будут ли встроенные предложения объявляться средством чтения с экрана. Обратите внимание, что это не поддерживается в macOS с VoiceOver.",
|
||||
"Управляйте тем, объявляются ли встроенные предложения средством чтения экрана.",
|
||||
"Использовать конфигурации языка для автоматического закрытия скобок.",
|
||||
"Автоматически закрывать скобки только в том случае, если курсор находится слева от пробела.",
|
||||
"Определяет, должен ли редактор автоматически добавлять закрывающую скобку при вводе пользователем открывающей скобки.",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Строки будут перенесены по минимальному значению из двух: ширина окна просмотра и \"#editor.wordWrapColumn#\".",
|
||||
"Управляет тем, как следует переносить строки.",
|
||||
"Определяет столбец переноса редактора, если значение \"#editor.wordWrap#\" — \"wordWrapColumn\" или \"bounded\".",
|
||||
"Определяет, должны ли отображаться встроенные цветовые оформления с использованием поставщика цвета документа по умолчанию.",
|
||||
"Определяет, получает ли редактор вкладки или откладывает ли их в рабочую среду для навигации.",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Находится ли фокус на редакторе или на поле ввода форматированного текста (курсор мигает)",
|
||||
"Доступен ли редактор только для чтения",
|
||||
"Является ли контекст редактором несовпадений",
|
||||
"Является ли контекст внедренным редактором несовпадений",
|
||||
"Включен ли параметр \"editor.columnSelection\"",
|
||||
"Есть ли в редакторе выбранный текст",
|
||||
"Есть ли в редакторе множественный выбор",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Находится ли в фокусе наведение в редакторе",
|
||||
"Находится ли залипание прокрутки в фокусе",
|
||||
"Отображается ли залипание прокрутки",
|
||||
"Видна ли автономная палитра цветов",
|
||||
"Сфокусирована ли автономная палитра цветов",
|
||||
"Является ли редактор частью большего редактора (например, записных книжек)",
|
||||
"Идентификатор языка редактора",
|
||||
"Есть ли в редакторе поставщик элементов завершения",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Нажмите CTRL+H, чтобы открыть окно браузера с дополнительной информацией о специальных возможностях редактора.",
|
||||
"Вы можете закрыть эту подсказку и вернуться в редактор, нажав клавиши ESCAPE или SHIFT+ESCAPE.",
|
||||
"Показать справку по специальным возможностям",
|
||||
"Справка по специальным возможностям",
|
||||
"Разработчик: проверить токены",
|
||||
"Перейти к строке/столбцу...",
|
||||
"Показать всех поставщиков быстрого доступа",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"Включить или отключить отображение заголовков групп в меню действий кода.",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"Скрыть отключенные",
|
||||
"Показать отключенные",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"Дополнительные действия...",
|
||||
"Быстрое исправление...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Разместить во фрагменте...",
|
||||
"Действие с исходным кодом...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"Скрыть отключенные",
|
||||
"Показать отключенные",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"Показать действия кода. Доступно предпочтительное быстрое исправление ({0})",
|
||||
"Показать действия кода ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"Щелкните, чтобы переключить параметры цвета (RGB/HSL/HEX)",
|
||||
"Значок для закрытия палитры",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"Показать или выделить автономный выбор цвета",
|
||||
"&&Показать или выделить автономный выбор цвета",
|
||||
"Скрыть палитру цветов",
|
||||
"Вставка цвета с помощью автономной палитры цветов",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"Закомментировать или раскомментировать строку",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Всегда",
|
||||
"Показать контекстное меню редактора",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"Включить или отключить текущие изменения из расширений при вставке.",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"Запуск обработчиков вставки...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"Отмена действия курсора",
|
||||
"Повтор действия курсора",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"Запуск обработчиков передачи...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"Вставить как...",
|
||||
"Идентификатор изменения вставки для попытки применения. Если этот параметр не указан, в редакторе будет отображаться средство выбора.",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"Отображается ли мини-приложение вставки",
|
||||
"Показать параметры вставки...",
|
||||
"Запускаются обработчики вставки. Щелкните для отмены",
|
||||
"Выберите действие вставки",
|
||||
"Запуск обработчиков вставки",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"Встроено",
|
||||
"Вставить обычный текст",
|
||||
"Вставить URI",
|
||||
"Вставить URI",
|
||||
"Вставить пути",
|
||||
"Вставить путь",
|
||||
"Вставить относительные пути",
|
||||
"Вставить относительный путь",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"Отображается ли мини-приложение сброса",
|
||||
"Показать параметры сброса...",
|
||||
"Запускаются обработчики сброса. Щелкните для отмены",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"Выполняются ли в редакторе операции, допускающие отмену, например, \"Показать ссылки\"",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Найти далее",
|
||||
"Найти ранее",
|
||||
"Перейти к совпадению...",
|
||||
"Нет совпадений. Попробуйте найти что-нибудь другое.",
|
||||
"Введите число, чтобы перейти к определенному совпадению (от 1 до {0})",
|
||||
"Введите число от 1 до {0}",
|
||||
"Введите число от 1 до {0}",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Ссылки",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"ссылка в {0} в строке {1} и символе {2}",
|
||||
"символ в {0} в строке {1} и столбце {2}, {3}",
|
||||
"в {0} в строке {1} в столбце {2}",
|
||||
"{0} в {1} в строке {2} в столбце {3}",
|
||||
"1 символ в {0}, полный путь: {1}",
|
||||
"{0} символов в {1}, полный путь: {2} ",
|
||||
"Результаты не найдены",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Перейти к определению ({0})",
|
||||
"Выполнить команду",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"Отображается ли встроенное предложение",
|
||||
"Начинается ли встроенное предложение с пробела",
|
||||
"Проверяет, не является ли пробел перед встроенной рекомендацией короче, чем текст, вставляемый клавишей TAB",
|
||||
"Выполняет ли команда \"Отменить\" отмену встроенного предложения",
|
||||
"Должна ли всегда отображаться встроенная панель инструментов предложений",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"Показывать следующее встроенное предложение",
|
||||
"Показать предыдущее встроенное предложение",
|
||||
"Активировать встроенное предложение",
|
||||
"Принять следующее слово встроенного предложения",
|
||||
"Принять Word",
|
||||
"Принять следующую строку встроенного предложения",
|
||||
"Принять строку",
|
||||
"Принять встроенное предложение",
|
||||
"Принять",
|
||||
"Скрыть встроенное предложение",
|
||||
"Всегда отображать панель инструментов",
|
||||
"Отменить принятие слова",
|
||||
"Отменить принятие Word",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"Предложение:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"Отображается ли встроенное предложение",
|
||||
"Начинается ли встроенное предложение с пробела",
|
||||
"Проверяет, не является ли пробел перед встроенной рекомендацией короче, чем текст, вставляемый клавишей TAB",
|
||||
"Следует ли подавлять предложения для текущего предложения",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"Значок для отображения подсказки следующего параметра.",
|
||||
"Значок для отображения подсказки предыдущего параметра.",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Была нажата клавиша {0}. Ожидание нажатия второй клавиши сочетания...",
|
||||
"Была нажата клавиша ({0}). Ожидание нажатия следующей клавиши сочетания...",
|
||||
"Сочетание клавиш ({0} и {1}) не является командой.",
|
||||
"Сочетание клавиш ({0} и {1}) не является командой.",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"Рабочее место",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Информация",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"недавно использованные",
|
||||
"часто используемые",
|
||||
"другие команды",
|
||||
"{0}, {1}",
|
||||
"Команда \"{0}\" привела к ошибке",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Цвет фона индикатора выполнения, который может отображаться для длительных операций.",
|
||||
"Цвет фона для текста ошибки в редакторе. Цвет не должен быть непрозрачным, чтобы не скрыть расположенные ниже элементы оформления.",
|
||||
"Цвет волнистой линии для выделения ошибок в редакторе.",
|
||||
"Цвет границы для окон ошибок в редакторе.",
|
||||
"Если задано, цвет двойного подчеркивания ошибок в редакторе.",
|
||||
"Цвет фона для текста предупреждения в редакторе. Цвет не должен быть непрозрачным, чтобы не скрыть расположенные ниже элементы оформления.",
|
||||
"Цвет волнистой линии для выделения предупреждений в редакторе.",
|
||||
"Цвет границы для окон предупреждений в редакторе.",
|
||||
"Если задано, цвет двойного подчеркивания предупреждений в редакторе.",
|
||||
"Цвет фона для текста информационного сообщения в редакторе. Цвет не должен быть непрозрачным, чтобы не скрыть расположенные ниже элементы оформления.",
|
||||
"Цвет волнистой линии для выделения информационных сообщений в редакторе.",
|
||||
"Цвет границы для окон сведений в редакторе.",
|
||||
"Если задано, цвет двойного подчеркивания информационных сообщений в редакторе.",
|
||||
"Цвет волнистой линии для выделения подсказок в редакторе.",
|
||||
"Цвет границы для окон указаний в редакторе.",
|
||||
"Если задано, цвет двойного подчеркивания указаний в редакторе.",
|
||||
"Цвет границы активных лент.",
|
||||
"Цвет фона редактора.",
|
||||
"Цвет переднего плана редактора по умолчанию.",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Цвет контура для удаленных строк.",
|
||||
"Цвет границы между двумя текстовыми редакторами.",
|
||||
"Цвет диагональной заливки для редактора несовпадений. Диагональная заливка используется в размещаемых рядом представлениях несовпадений.",
|
||||
"Цвет неизмененных блоков в редакторе несовпадений.",
|
||||
"Фоновый цвет находящегося в фокусе элемента List/Tree, когда элемент List/Tree активен. На активном элементе List/Tree есть фокус клавиатуры, на неактивном — нет.",
|
||||
"Цвет переднего плана находящегося в фокусе элемента List/Tree, когда элемент List/Tree активен. На активном элементе List/Tree есть фокус клавиатуры, на неактивном — нет.",
|
||||
"Цвет контура находящегося в фокусе элемента List/Tree, когда элемент List/Tree активен. На активном элементе List/Tree есть фокус клавиатуры, на неактивном — нет.",
|
||||
|
|
@ -1746,7 +1791,7 @@ define("vs/editor/editor.main.nls.ru", {
|
|||
"Цвет фона для мини-приложения фильтра типов в списках и деревьях.",
|
||||
"Цвет контура для мини-приложения фильтра типов в списках и деревьях.",
|
||||
"Цвет контура для мини-приложения фильтра типов в списках и деревьях при отсутствии совпадений.",
|
||||
"Цвет затемнения для мини-приложения фильтра типов в списках и деревьях.",
|
||||
"Цвет тени для мини-приложения фильтра типов в списках и деревьях.",
|
||||
"Цвет фона для отфильтрованного совпадения.",
|
||||
"Цвет границы для отфильтрованного совпадения.",
|
||||
"Цвет штриха дерева для направляющих отступа.",
|
||||
|
|
|
|||
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.zh-cn.js
generated
vendored
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.zh-cn.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"警告: {0}",
|
||||
"信息: {0}",
|
||||
"对于历史记录",
|
||||
"清除的输入",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"未绑定",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"差异编辑器中删除项的线条修饰。",
|
||||
" 使用 Shift + F7 导航更改",
|
||||
"文件过大,无法比较。",
|
||||
"单击以还原更改",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"差异评审中的“插入”图标。",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"由于性能原因,超过这个长度的行将不会被标记",
|
||||
"控制是否应在 Web 辅助进程上异步进行标记化。",
|
||||
"控制是否应记录异步词汇切分。仅用于调试。",
|
||||
"控制是否应对旧版后台令牌化验证异步令牌化。可能会减慢令牌化速度。仅用于调试。",
|
||||
"定义增加和减少缩进的括号。",
|
||||
"左方括号字符或字符串序列。",
|
||||
"右方括号字符或字符串序列。",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"永不换行。",
|
||||
"将在视区宽度处换行。",
|
||||
"行将根据 {0} 设置进行换行。",
|
||||
"使用默认的差异算法。",
|
||||
"使用实验性差异算法。",
|
||||
"使用旧差异算法。",
|
||||
"使用高级差异算法。",
|
||||
"控制差异编辑器是否显示未更改的区域。仅当设置了 \"diffEditor.experimental.useVersion2\" 时才有效。",
|
||||
"控制差异编辑器是使用新实现还是旧实现。",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"连接屏幕阅读器后使用平台 API 进行检测",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"折行的缩进量比其父级多 2。",
|
||||
"控制折行的缩进。",
|
||||
"控制是否可以通过按住 `Shift` (而不是在编辑器中打开文件)将文件拖放到编辑器中。",
|
||||
"控制将文件放入编辑器时是否显示小组件。使用此小组件可以控制文件的删除方式。",
|
||||
"将文件放入编辑器后显示放置选择器小组件。",
|
||||
"切勿显示放置选择器小组件。而是始终使用默认删除提供程序。",
|
||||
"控制是否可以以不同的方式粘贴内容。",
|
||||
"控制将内容粘贴到编辑器时是否显示小组件。使用此小组件可以控制文件的粘贴方式。",
|
||||
"将内容粘贴到编辑器后显示粘贴选择器小组件。",
|
||||
"切勿显示粘贴选择器小组件。而是始终使用默认粘贴行为。",
|
||||
"控制是否应在遇到提交字符时接受建议。例如,在 JavaScript 中,半角分号 (`;`) 可以为提交字符,能够在接受建议的同时键入该字符。",
|
||||
"仅当建议包含文本改动时才可使用 `Enter` 键进行接受。",
|
||||
"控制除了 `Tab` 键以外, `Enter` 键是否同样可以接受建议。这能减少“插入新行”和“接受建议”命令之间的歧义。",
|
||||
"控制编辑器中可由屏幕阅读器一次读出的行数。我们检测到屏幕阅读器时,会自动将默认值设置为 500。警告: 如果行数大于默认值,可能会影响性能。",
|
||||
"编辑器内容",
|
||||
"控制内联建议是否由屏幕阅读器公布。请注意,这不适用于带有 VoiceOver 的 macOS。",
|
||||
"控制内联建议是否由屏幕阅读器公布。",
|
||||
"使用语言配置确定何时自动闭合括号。",
|
||||
"仅当光标位于空白字符左侧时,才自动闭合括号。",
|
||||
"控制编辑器是否在左括号后自动插入右括号。",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"在视区宽度和 `#editor.wordWrapColumn#` 中的较小值处折行。",
|
||||
"控制折行的方式。",
|
||||
"在 `#editor.wordWrap#` 为 `wordWrapColumn` 或 `bounded` 时,控制编辑器的折行列。",
|
||||
"控制是否应使用默认文档颜色提供程序显示内联颜色修饰",
|
||||
"控制编辑器是接收选项卡还是将其延迟到工作台进行导航。",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"编辑器或 RTF 输入是否有焦点(光标是否闪烁)",
|
||||
"编辑器是否为只读",
|
||||
"上下文是否为差异编辑器",
|
||||
"上下文是否为嵌入式差异编辑器",
|
||||
"是否已启用 \"editor.columnSelection\"",
|
||||
"编辑器是否已选定文本",
|
||||
"编辑器是否有多个选择",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"是否聚焦编辑器悬停",
|
||||
"是否聚焦粘性滚动",
|
||||
"粘性滚动是否可见",
|
||||
"独立颜色选取器是否可见",
|
||||
"独立颜色选取器是否聚焦",
|
||||
"该编辑器是否是更大的编辑器(例如笔记本)的一部分",
|
||||
"编辑器的语言标识符",
|
||||
"编辑器是否具有补全项提供程序",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"现在按 Ctrl+H 打开一个浏览器窗口, 其中包含有关编辑器辅助功能的更多信息。",
|
||||
"你可以按 Esc 或 Shift+Esc 消除此工具提示并返回到编辑器。",
|
||||
"显示辅助功能帮助",
|
||||
"辅助功能帮助",
|
||||
"开发人员: 检查令牌",
|
||||
"转到行/列...",
|
||||
"显示所有快速访问提供程序",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"启用/禁用在代码操作菜单中显示组标头。",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"隐藏已禁用项",
|
||||
"显示已禁用项",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"更多操作...",
|
||||
"快速修复...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"环绕方式...",
|
||||
"源代码操作...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"隐藏已禁用项",
|
||||
"显示已禁用项",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"显示代码操作。首选可用的快速修复({0})",
|
||||
"显示代码操作({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"单击以切换颜色选项 (rgb/hsl/hex)",
|
||||
"用于关闭颜色选取器的图标",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"显示或聚焦独立颜色选取器",
|
||||
"&&显示或聚焦独立颜色选取器",
|
||||
"隐藏颜色选取器",
|
||||
"使用独立颜色选取器插入颜色",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"切换行注释",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"始终",
|
||||
"显示编辑器上下文菜单",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"启用/禁用粘贴时从扩展运行编辑。",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"正在运行粘贴处理程序...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"光标撤消",
|
||||
"光标重做",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"正在运行放置处理程序...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"粘贴为...",
|
||||
"要尝试应用的粘贴编辑的 ID。如果未提供,编辑器将显示选取器。",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"是否显示粘贴小组件",
|
||||
"显示粘贴选项...",
|
||||
"正在运行粘贴处理程序。单击以取消",
|
||||
"选择粘贴操作",
|
||||
"正在运行粘贴处理程序",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"内置",
|
||||
"插入纯文本",
|
||||
"插入 URI",
|
||||
"插入 URI",
|
||||
"插入路径",
|
||||
"插入路径",
|
||||
"插入相对路径",
|
||||
"插入相对路径",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"是否显示放置小组件",
|
||||
"显示放置选项...",
|
||||
"正在运行放置处理程序。单击以取消",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"编辑器是否运行可取消的操作,例如“预览引用”",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"查找下一个",
|
||||
"查找上一个",
|
||||
"转到“匹配”...",
|
||||
"无匹配项。请尝试搜索其他内容。",
|
||||
"键入数字以转到特定匹配项(介于 1 和 {0} 之间)",
|
||||
"请键入介于 1 和 {0} 之间的数字",
|
||||
"请键入介于 1 和 {0} 之间的数字",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"引用",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"在文件 {0} 的 {1} 行 {2} 列的符号",
|
||||
"{0} 中 {1} 行 {2} 列的符号,{3}",
|
||||
"在列 {2} 行 {1} 的 {0} 中",
|
||||
"在列 {3} 行 {2} 的 {1} 中的 {0}",
|
||||
"{0} 中有 1 个符号,完整路径: {1}",
|
||||
"{1} 中有 {0} 个符号,完整路径: {2}",
|
||||
"未找到结果",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"转到定义({0})",
|
||||
"执行命令",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"内联建议是否可见",
|
||||
"内联建议是否以空白开头",
|
||||
"内联建议是否以小于选项卡插入内容的空格开头",
|
||||
"撤消是否会撤消内联建议",
|
||||
"内联建议工具栏是否应始终可见",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"显示下一个内联建议",
|
||||
"显示上一个内联建议",
|
||||
"触发内联建议",
|
||||
"接受内联建议的下一个字",
|
||||
"接受 Word",
|
||||
"接受内联建议的下一行",
|
||||
"接受行",
|
||||
"接受内联建议",
|
||||
"接受",
|
||||
"隐藏内联建议",
|
||||
"始终显示工具栏",
|
||||
"撤消接受 Word",
|
||||
"撤消接受 Word",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"建议:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"内联建议是否可见",
|
||||
"内联建议是否以空白开头",
|
||||
"内联建议是否以小于选项卡插入内容的空格开头",
|
||||
"是否应抑制当前建议",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"“显示下一个参数”提示的图标。",
|
||||
"“显示上一个参数”提示的图标。",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"({0})已按下。正在等待按下第二个键...",
|
||||
"已按下({0})。正在等待第二个键...",
|
||||
"组合键({0},{1})不是命令。",
|
||||
"组合键({0},{1})不是命令。",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"工作台",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"信息",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"最近使用",
|
||||
"常用",
|
||||
"其他命令",
|
||||
"{0}, {1}",
|
||||
"命令 \"{0}\" 导致错误",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"表示长时间操作的进度条的背景色。",
|
||||
"编辑器中错误文本的背景色。颜色必须透明,以免隐藏下面的修饰效果。",
|
||||
"编辑器中错误波浪线的前景色。",
|
||||
"编辑器中错误框的边框颜色。",
|
||||
"如果设置,编辑器中错误的双下划线颜色。",
|
||||
"编辑器中警告文本的背景色。颜色必须透明,以免隐藏下面的修饰效果。",
|
||||
"编辑器中警告波浪线的前景色。",
|
||||
"编辑器中警告框的边框颜色。",
|
||||
"如果设置,编辑器中警告的双下划线颜色。",
|
||||
"编辑器中信息文本的背景色。颜色必须透明,以免隐藏下面的修饰效果。",
|
||||
"编辑器中信息波浪线的前景色。",
|
||||
"编辑器中信息框的边框颜色。",
|
||||
"如果设置,编辑器中信息的双下划线颜色。",
|
||||
"编辑器中提示波浪线的前景色。",
|
||||
"编辑器中提示框的边框颜色。",
|
||||
"如果设置,编辑器中提示的双下划线颜色。",
|
||||
"活动框格的边框颜色。",
|
||||
"编辑器背景色。",
|
||||
"编辑器默认前景色。",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.zh-cn", {
|
|||
"被删除文本的轮廓颜色。",
|
||||
"两个文本编辑器之间的边框颜色。",
|
||||
"差异编辑器的对角线填充颜色。对角线填充用于并排差异视图。",
|
||||
"差异编辑器中未更改块的颜色。",
|
||||
"焦点项在列表或树活动时的背景颜色。活动的列表或树具有键盘焦点,非活动的没有。",
|
||||
"焦点项在列表或树活动时的前景颜色。活动的列表或树具有键盘焦点,非活动的没有。",
|
||||
"列表/树活动时,焦点项目的列表/树边框色。活动的列表/树具有键盘焦点,非活动的没有。",
|
||||
|
|
|
|||
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.zh-tw.js
generated
vendored
111
node_modules/monaco-editor-core/dev/vs/editor/editor.main.nls.zh-tw.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
@ -29,6 +29,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"警告: {0}",
|
||||
"資訊: {0}",
|
||||
"歷程記錄",
|
||||
"已清除輸入",
|
||||
],
|
||||
"vs/base/browser/ui/keybindingLabel/keybindingLabel": [
|
||||
"未繫結",
|
||||
|
|
@ -110,6 +111,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"Diff 編輯器中用於移除的線條裝飾。",
|
||||
" 使用 Shift + F7 瀏覽變更",
|
||||
"因其中一個檔案過大而無法比較。",
|
||||
"按一下以還原變更",
|
||||
],
|
||||
"vs/editor/browser/widget/diffReview": [
|
||||
"Diff 檢閱中 [插入] 的圖示。",
|
||||
|
|
@ -160,6 +162,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"因效能的緣故,不會將超過此高度的行 Token 化",
|
||||
"控制權杖化是否應該在 Web 工作者上非同步進行。",
|
||||
"控制是否應該記錄非同步權杖化。僅適用偵錯。",
|
||||
"控制是否應使用舊版背景 Token 化來驗證非同步 Token 化。可能會減慢 Token 化的速度。僅用於偵錯。",
|
||||
"定義增加或減少縮排的括弧符號。",
|
||||
"左括弧字元或字串順序。",
|
||||
"右括弧字元或字串順序。",
|
||||
|
|
@ -176,8 +179,10 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"一律不換行。",
|
||||
"依檢視區寬度換行。",
|
||||
"將依據 {0} 設定自動換行。",
|
||||
"使用預設的差異演算法。",
|
||||
"使用實驗性差異演算法。",
|
||||
"使用舊版差異演算法。",
|
||||
"使用進階版差異演算法。",
|
||||
"控制 diff 編輯器是否顯示未變更的區域。只有在設定 \'diffEditor.experimental.useVersion2\' 時才有效。",
|
||||
"控制 Diff 編輯器使用新的或舊的實作。",
|
||||
],
|
||||
"vs/editor/common/config/editorOptions": [
|
||||
"使用平台 API 以偵測螢幕助讀程式附加",
|
||||
|
|
@ -366,12 +371,19 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"換行縮排為父行 +2。",
|
||||
"控制換行的縮排。",
|
||||
"控制您是否可以按住 `shift` 鍵 (而非在編輯器中開啟檔案),將檔案拖放到文字編輯器中。",
|
||||
"控制將檔案放入編輯器時是否顯示小工具。此小工具可讓您控制檔案的置放方式。",
|
||||
"將檔案放入編輯器後顯示置放選取器小工具。",
|
||||
"永不顯示置放選取器小工具。改為一律使用預設置放提供者。",
|
||||
"控制是否可以以不同方式貼上內容。",
|
||||
"控制將內容貼上至編輯器時是否顯示小工具。此小工具可讓您控制檔案的貼上方式。",
|
||||
"將內容貼上編輯器後顯示貼上選取器小工具。",
|
||||
"永不顯示貼上選取器小工具。而是一律使用預設的貼上行為。",
|
||||
"控制是否透過提交字元接受建議。例如在 JavaScript 中,分號 (\';\') 可以是接受建議並鍵入該字元的提交字元。",
|
||||
"在建議進行文字變更時,僅透過 `Enter` 接受建議。",
|
||||
"控制除了 \'Tab\' 外,是否也透過 \'Enter\' 接受建議。這有助於避免混淆要插入新行或接受建議。",
|
||||
"控制編輯器中可一次由螢幕助讀程式讀出的行數。偵測到螢幕助讀程式時會自動預設為 500。警告: 若數字超過預設,可能會對效能有所影響。",
|
||||
"編輯器內容",
|
||||
"控制內嵌建議是否由螢幕閱讀程式宣告。請注意,在使用 VoiceOver 的 macOS 上無法進行此作業。",
|
||||
"控制螢幕助讀程式是否宣告內嵌建議。",
|
||||
"使用語言配置確定何時自動關閉括號。",
|
||||
"僅當游標位於空白的左側時自動關閉括號。",
|
||||
"控制編輯器是否應在使用者新增左括弧後,自動加上右括弧。",
|
||||
|
|
@ -506,6 +518,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"當檢視區縮至最小並設定 \'#editor.wordWrapColumn#\' 時換行。",
|
||||
"控制如何換行。",
|
||||
"當 `#editor.wordWrap#` 為 `wordWrapColumn` 或 `bounded` 時,控制編輯器中的資料行換行。",
|
||||
"控制是否應使用預設的文件色彩提供者顯示內嵌色彩裝飾",
|
||||
"控制編輯器是否接收索引標籤,或將其延遲至工作台進行流覽。",
|
||||
],
|
||||
"vs/editor/common/core/editorColorRegistry": [
|
||||
|
|
@ -569,6 +582,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"編輯器或 RTF 輸入是否有焦點 (游標閃爍)",
|
||||
"編輯器是否為唯讀",
|
||||
"內容是否為 Diff 編輯器",
|
||||
"內容是否為內嵌 Diff 編輯器",
|
||||
"\'editor.columnSelection\' 是否已啟用",
|
||||
"編輯器是否有選取文字",
|
||||
"編輯器是否有多個選取項目",
|
||||
|
|
@ -577,6 +591,8 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"編輯器暫留是否聚焦",
|
||||
"自黏捲動是否聚焦",
|
||||
"自黏捲動是否顯示",
|
||||
"是否顯示獨立的顏色選擇器",
|
||||
"獨立的顏色選擇器是否聚焦",
|
||||
"編輯器是否為較大編輯器的一部分 (例如筆記本)",
|
||||
"編輯器的語言識別碼",
|
||||
"編輯器是否有完成項目提供者",
|
||||
|
|
@ -628,6 +644,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"立即按 Control+H,以開啟提供編輯器協助工具相關詳細資訊的瀏覽器視窗。",
|
||||
"您可以按 Esc 鍵或 Shift+Esc 鍵來解除此工具提示並返回編輯器。",
|
||||
"顯示協助工具說明",
|
||||
"協助工具說明",
|
||||
"開發人員: 檢查權杖",
|
||||
"前往行/欄...",
|
||||
"顯示所有快速存取提供者",
|
||||
|
|
@ -722,6 +739,10 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"vs/editor/contrib/codeAction/browser/codeActionContributions": [
|
||||
"啟用/停用在 [程式碼動作] 功能表中顯示群組標頭。",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionController": [
|
||||
"隱藏已停用項目",
|
||||
"顯示已停用項目",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionMenu": [
|
||||
"更多動作...",
|
||||
"快速修正...",
|
||||
|
|
@ -732,10 +753,6 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"範圍陳述式...",
|
||||
"來源動作...",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/codeActionUi": [
|
||||
"隱藏已停用項目",
|
||||
"顯示已停用項目",
|
||||
],
|
||||
"vs/editor/contrib/codeAction/browser/lightBulbWidget": [
|
||||
"顯示程式碼動作。偏好的快速修正可用 ({0})",
|
||||
"顯示程式碼動作 ({0})",
|
||||
|
|
@ -746,6 +763,13 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
],
|
||||
"vs/editor/contrib/colorPicker/browser/colorPickerWidget": [
|
||||
"按一下以切換色彩選項 (rgb/hsl/hex)",
|
||||
"要關閉顏色選擇器的圖示",
|
||||
],
|
||||
"vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions": [
|
||||
"顯示或聚焦獨立的顏色選擇器",
|
||||
"&&顯示或聚焦獨立的顏色選擇器",
|
||||
"隱藏顏色選擇器",
|
||||
"使用獨立的顏色選擇器插入顏色",
|
||||
],
|
||||
"vs/editor/contrib/comment/browser/comment": [
|
||||
"切換行註解",
|
||||
|
|
@ -767,18 +791,35 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"一律",
|
||||
"顯示編輯器內容功能表",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteContribution": [
|
||||
"在貼上時啟用/停用從延伸模組執行編輯。",
|
||||
],
|
||||
"vs/editor/contrib/copyPaste/browser/copyPasteController": [
|
||||
"正在執行貼上處理常式...",
|
||||
],
|
||||
"vs/editor/contrib/cursorUndo/browser/cursorUndo": [
|
||||
"游標復原",
|
||||
"游標重做",
|
||||
],
|
||||
"vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution": [
|
||||
"正在執行置放處理常式...",
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution": [
|
||||
"貼上為...",
|
||||
"要嘗試套用的貼上編輯的識別碼。如果未提供,編輯器將顯示選擇器。",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/copyPasteController": [
|
||||
"是否顯示貼上小工具",
|
||||
"顯示貼上選項...",
|
||||
"正在執行貼上處理常式。按一下以取消",
|
||||
"選取貼上動作",
|
||||
"執行貼上處理常式",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/defaultProviders": [
|
||||
"內建",
|
||||
"插入純文字",
|
||||
"插入 URI",
|
||||
"插入 URI",
|
||||
"插入路徑",
|
||||
"插入路徑",
|
||||
"插入相對路徑",
|
||||
"插入相對路徑",
|
||||
],
|
||||
"vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController": [
|
||||
"是否顯示卸除小工具",
|
||||
"顯示卸除選項...",
|
||||
"正在執行置放處理常式。按一下以取消",
|
||||
],
|
||||
"vs/editor/contrib/editorState/browser/keybindingCancellation": [
|
||||
"編輯器是否執行可取消的作業,例如「預覽參考」",
|
||||
|
|
@ -795,6 +836,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"尋找下一個",
|
||||
"尋找上一個",
|
||||
"移至相符項目...",
|
||||
"沒有相符項目。嘗試搜尋其他項目。",
|
||||
"輸入數字以前往特定相符項目 (介於 1 到 {0})",
|
||||
"請輸入介於 1 和 {0} 之間的數字。",
|
||||
"請輸入介於 1 和 {0} 之間的數字。",
|
||||
|
|
@ -960,8 +1002,8 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"參考",
|
||||
],
|
||||
"vs/editor/contrib/gotoSymbol/browser/referencesModel": [
|
||||
"個符號位於 {0} 中的第 {1} 行第 {2} 欄",
|
||||
"符號位於 {0} 中的第 {1} 行第 {2}、{3} 欄",
|
||||
"在資料行 {2} 行 {1} 的 {0} 中",
|
||||
"在資料行 {3} 行 {2} 的 {1} 的 {0} 中",
|
||||
"1 個符號位於 {0}, 完整路徑 {1}",
|
||||
"{0} 個符號位於 {1}, 完整路徑 {2}",
|
||||
"找不到結果",
|
||||
|
|
@ -1027,28 +1069,29 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"移至定義 ({0})",
|
||||
"執行命令",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextController": [
|
||||
"是否顯示內嵌建議",
|
||||
"內嵌建議是否以空白字元開頭",
|
||||
"內嵌建議的開頭是否為空白,且比 Tab 能插入的字元要小",
|
||||
"復原是否復原內嵌建議",
|
||||
"是否一律顯示內嵌建議工具列",
|
||||
"vs/editor/contrib/inlineCompletions/browser/commands": [
|
||||
"顯示下一個內嵌建議",
|
||||
"顯示上一個內嵌建議",
|
||||
"觸發內嵌建議",
|
||||
"接受下一個內嵌建議字組",
|
||||
"接受字組",
|
||||
"接受下一個內嵌建議行",
|
||||
"接受行",
|
||||
"接受內嵌建議",
|
||||
"接受",
|
||||
"隱藏內嵌建議",
|
||||
"永遠顯示工具列",
|
||||
"復原接受字組",
|
||||
"復原接受字組",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/hoverParticipant": [
|
||||
"建議:",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineSuggestionHintsWidget": [
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys": [
|
||||
"是否顯示內嵌建議",
|
||||
"內嵌建議是否以空白字元開頭",
|
||||
"內嵌建議的開頭是否為空白,且比 Tab 能插入的字元要小",
|
||||
"是否應隱藏目前建議的其他建議",
|
||||
],
|
||||
"vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget": [
|
||||
"[顯示下一個參數提示] 的圖示。",
|
||||
"[顯示上一個參數提示] 的圖示。",
|
||||
"{0} ({1})",
|
||||
|
|
@ -1537,6 +1580,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"已按下 ({0})。等待第二個套索鍵...",
|
||||
"({0}) 已按下。正在等待下一個套索鍵...",
|
||||
"按鍵組合 ({0}, {1}) 不是命令。",
|
||||
"按鍵組合 ({0}, {1}) 不是命令。",
|
||||
],
|
||||
"vs/platform/list/browser/listService": [
|
||||
"工作台",
|
||||
|
|
@ -1571,10 +1615,10 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"資訊",
|
||||
],
|
||||
"vs/platform/quickinput/browser/commandsQuickAccess": [
|
||||
"{0}, {1}",
|
||||
"最近使用的",
|
||||
"經常使用",
|
||||
"其他命令",
|
||||
"{0}, {1}",
|
||||
"命令 \'{0}\' 造成錯誤",
|
||||
],
|
||||
"vs/platform/quickinput/browser/helpQuickAccess": [
|
||||
|
|
@ -1656,15 +1700,15 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"長時間運行進度條的背景色彩.",
|
||||
"編輯器中錯誤文字的背景色彩。其不得為不透明色彩,以免隱藏底層裝飾。",
|
||||
"編輯器內錯誤提示線的前景色彩.",
|
||||
"編輯器中錯誤方塊的框線色彩。",
|
||||
"如果設定,編輯器中的錯誤會顯示雙底線色彩。",
|
||||
"編輯器中警告文字的背景色彩。其不得為不透明色彩,以免隱藏底層裝飾。",
|
||||
"編輯器內警告提示線的前景色彩.",
|
||||
"編輯器中的警告方塊框線色彩。",
|
||||
"如果設定,編輯器中的警告會顯示雙底線色彩。",
|
||||
"編輯器中資訊文字的背景色彩。其不得為不透明色彩,以免隱藏底層裝飾。",
|
||||
"編輯器內資訊提示線的前景色彩",
|
||||
"編輯器中的資訊方塊框線色彩。",
|
||||
"如果設定,編輯器中的提示會顯示雙底線色彩。",
|
||||
"編輯器內提示訊息的提示線前景色彩",
|
||||
"編輯器中的提示方塊框線色彩。",
|
||||
"如果設定,編輯器中的提示會顯示雙底線色彩。",
|
||||
"使用中飾帶的框線色彩。",
|
||||
"編輯器的背景色彩。",
|
||||
"編輯器的預設前景色彩。",
|
||||
|
|
@ -1723,6 +1767,7 @@ define("vs/editor/editor.main.nls.zh-tw", {
|
|||
"移除的文字外框色彩。",
|
||||
"兩個文字編輯器之間的框線色彩。",
|
||||
"Diff 編輯器的斜紋填滿色彩。斜紋填滿用於並排 Diff 檢視。",
|
||||
"diff 編輯器中未變更區塊的色彩。",
|
||||
"當清單/樹狀為使用中狀態時,焦點項目的清單/樹狀背景色彩。使用中的清單/樹狀有鍵盤焦點,非使用中者則沒有。",
|
||||
"當清單/樹狀為使用中狀態時,焦點項目的清單/樹狀前景色彩。使用中的清單/樹狀有鍵盤焦點,非使用中者則沒有。",
|
||||
"當清單/樹狀目錄為使用中狀態時,焦點項目的清單/樹狀目錄外框色彩。使用中的清單/樹狀目錄有鍵盤焦點,非使用中者則沒有。",
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/dev/vs/loader.js
generated
vendored
2
node_modules/monaco-editor-core/dev/vs/loader.js
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
/*!-----------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.37.0-dev.20230403(4244bc3a06315f6c603b804a5a6fa7b9797f8060)
|
||||
* Version: 0.39.0-rc2(5f70e6fc720a698ae440ccf5a1d25dceff14dacd)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------*/
|
||||
|
|
|
|||
7
node_modules/monaco-editor-core/esm/vs/base/browser/defaultWorkerFactory.js
generated
vendored
7
node_modules/monaco-editor-core/esm/vs/base/browser/defaultWorkerFactory.js
generated
vendored
|
|
@ -2,9 +2,9 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
var _a;
|
||||
import { createTrustedTypesPolicy } from './trustedTypes.js';
|
||||
import { logOnceWebWorkerWarning } from '../common/worker/simpleWorker.js';
|
||||
const ttPolicy = (_a = window.trustedTypes) === null || _a === void 0 ? void 0 : _a.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });
|
||||
const ttPolicy = createTrustedTypesPolicy('defaultWorkerFactory', { createScriptURL: value => value });
|
||||
function getWorker(label) {
|
||||
const monacoEnvironment = globalThis.MonacoEnvironment;
|
||||
if (monacoEnvironment) {
|
||||
|
|
@ -98,7 +98,7 @@ class WebWorker {
|
|||
this.worker = null;
|
||||
}
|
||||
}
|
||||
class DefaultWorkerFactory {
|
||||
export class DefaultWorkerFactory {
|
||||
constructor(label) {
|
||||
this._label = label;
|
||||
this._webWorkerFailedBeforeError = false;
|
||||
|
|
@ -116,4 +116,3 @@ class DefaultWorkerFactory {
|
|||
}
|
||||
}
|
||||
DefaultWorkerFactory.LAST_WORKER_ID = 0;
|
||||
export { DefaultWorkerFactory };
|
||||
|
|
|
|||
8
node_modules/monaco-editor-core/esm/vs/base/browser/dnd.js
generated
vendored
8
node_modules/monaco-editor-core/esm/vs/base/browser/dnd.js
generated
vendored
|
|
@ -16,5 +16,11 @@ export const DataTransfers = {
|
|||
/**
|
||||
* Typically transfer type for copy/paste transfers.
|
||||
*/
|
||||
TEXT: Mimes.text
|
||||
TEXT: Mimes.text,
|
||||
/**
|
||||
* Internal type used to pass around text/uri-list data.
|
||||
*
|
||||
* This is needed to work around https://bugs.chromium.org/p/chromium/issues/detail?id=239745.
|
||||
*/
|
||||
INTERNAL_URI_LIST: 'application/vnd.code.uri-list',
|
||||
};
|
||||
|
|
|
|||
11
node_modules/monaco-editor-core/esm/vs/base/browser/dom.js
generated
vendored
11
node_modules/monaco-editor-core/esm/vs/base/browser/dom.js
generated
vendored
|
|
@ -242,7 +242,7 @@ class SizeUtils {
|
|||
return SizeUtils.getDimension(element, 'margin-bottom', 'marginBottom');
|
||||
}
|
||||
}
|
||||
class Dimension {
|
||||
export class Dimension {
|
||||
constructor(width, height) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
|
|
@ -277,7 +277,6 @@ class Dimension {
|
|||
}
|
||||
}
|
||||
Dimension.None = new Dimension(0, 0);
|
||||
export { Dimension };
|
||||
export function getTopLeftOffset(element) {
|
||||
// Adapted from WinJS.Utilities.getPosition
|
||||
// and added borders to the mix
|
||||
|
|
@ -615,6 +614,12 @@ class FocusTracker extends Disposable {
|
|||
this._register(addDisposableListener(element, EventType.FOCUS_OUT, () => this._refreshStateHandler()));
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Creates a new `IFocusTracker` instance that tracks focus changes on the given `element` and its descendants.
|
||||
*
|
||||
* @param element The `HTMLElement` or `Window` to track focus changes on.
|
||||
* @returns An `IFocusTracker` instance.
|
||||
*/
|
||||
export function trackFocus(element) {
|
||||
return new FocusTracker(element);
|
||||
}
|
||||
|
|
@ -1101,7 +1106,7 @@ export function h(tag, ...args) {
|
|||
else if (typeof c === 'string') {
|
||||
el.append(c);
|
||||
}
|
||||
else {
|
||||
else if ('root' in c) {
|
||||
Object.assign(result, c);
|
||||
el.appendChild(c.root);
|
||||
}
|
||||
|
|
|
|||
14
node_modules/monaco-editor-core/esm/vs/base/browser/keyboardEvent.js
generated
vendored
14
node_modules/monaco-editor-core/esm/vs/base/browser/keyboardEvent.js
generated
vendored
|
|
@ -19,14 +19,22 @@ function extractKeyCode(e) {
|
|||
}
|
||||
else if (browser.isFirefox) {
|
||||
switch (keyCode) {
|
||||
case 59: return 80 /* KeyCode.Semicolon */;
|
||||
case 59: return 85 /* KeyCode.Semicolon */;
|
||||
case 60:
|
||||
if (platform.isLinux) {
|
||||
return 97 /* KeyCode.IntlBackslash */;
|
||||
}
|
||||
break;
|
||||
case 61: return 86 /* KeyCode.Equal */;
|
||||
// based on: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode#numpad_keys
|
||||
case 107: return 104 /* KeyCode.NumpadAdd */;
|
||||
case 109: return 106 /* KeyCode.NumpadSubtract */;
|
||||
case 107: return 109 /* KeyCode.NumpadAdd */;
|
||||
case 109: return 111 /* KeyCode.NumpadSubtract */;
|
||||
case 173: return 88 /* KeyCode.Minus */;
|
||||
case 224:
|
||||
if (platform.isMacintosh) {
|
||||
return 57 /* KeyCode.Meta */;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (browser.isWebKit) {
|
||||
|
|
|
|||
96
node_modules/monaco-editor-core/esm/vs/base/browser/markdownRenderer.js
generated
vendored
96
node_modules/monaco-editor-core/esm/vs/base/browser/markdownRenderer.js
generated
vendored
|
|
@ -501,6 +501,52 @@ function mergeRawTokenText(tokens) {
|
|||
});
|
||||
return mergedTokenText;
|
||||
}
|
||||
function completeSingleLinePattern(token) {
|
||||
for (const subtoken of token.tokens) {
|
||||
if (subtoken.type === 'text') {
|
||||
const lines = subtoken.raw.split('\n');
|
||||
const lastLine = lines[lines.length - 1];
|
||||
if (lastLine.includes('`')) {
|
||||
return completeCodespan(token);
|
||||
}
|
||||
else if (lastLine.includes('**')) {
|
||||
return completeDoublestar(token);
|
||||
}
|
||||
else if (lastLine.match(/\*\w/)) {
|
||||
return completeStar(token);
|
||||
}
|
||||
else if (lastLine.match(/(^|\s)__\w/)) {
|
||||
return completeDoubleUnderscore(token);
|
||||
}
|
||||
else if (lastLine.match(/(^|\s)_\w/)) {
|
||||
return completeUnderscore(token);
|
||||
}
|
||||
else if (lastLine.match(/(^|\s)\[.*\]\(\w*/)) {
|
||||
return completeLinkTarget(token);
|
||||
}
|
||||
else if (lastLine.match(/(^|\s)\[\w/)) {
|
||||
return completeLinkText(token);
|
||||
}
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
// function completeListItemPattern(token: marked.Tokens.List): marked.Tokens.List | undefined {
|
||||
// // Patch up this one list item
|
||||
// const lastItem = token.items[token.items.length - 1];
|
||||
// const newList = completeSingleLinePattern(lastItem);
|
||||
// if (!newList || newList.type !== 'list') {
|
||||
// // Nothing to fix, or not a pattern we were expecting
|
||||
// return;
|
||||
// }
|
||||
// // Re-parse the whole list with the last item replaced
|
||||
// const completeList = marked.lexer(mergeRawTokenText(token.items.slice(0, token.items.length - 1)) + newList.items[0].raw);
|
||||
// if (completeList.length === 1 && completeList[0].type === 'list') {
|
||||
// return completeList[0];
|
||||
// }
|
||||
// // Not a pattern we were expecting
|
||||
// return undefined;
|
||||
// }
|
||||
export function fillInIncompleteTokens(tokens) {
|
||||
let i;
|
||||
let newTokens;
|
||||
|
|
@ -515,11 +561,26 @@ export function fillInIncompleteTokens(tokens) {
|
|||
newTokens = completeTable(tokens.slice(i));
|
||||
break;
|
||||
}
|
||||
// if (i === tokens.length - 1 && token.type === 'list') {
|
||||
// const newListToken = completeListItemPattern(token);
|
||||
// if (newListToken) {
|
||||
// newTokens = [newListToken];
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
if (i === tokens.length - 1 && token.type === 'paragraph') {
|
||||
// Only operates on a single token, because any newline that follows this should break these patterns
|
||||
const newToken = completeSingleLinePattern(token);
|
||||
if (newToken) {
|
||||
newTokens = [newToken];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (newTokens) {
|
||||
const newTokensList = [
|
||||
...tokens.slice(0, i),
|
||||
...newTokens,
|
||||
...newTokens
|
||||
];
|
||||
newTokensList.links = tokens.links;
|
||||
return newTokensList;
|
||||
|
|
@ -530,6 +591,33 @@ function completeCodeBlock(tokens) {
|
|||
const mergedRawText = mergeRawTokenText(tokens);
|
||||
return marked.lexer(mergedRawText + '\n```');
|
||||
}
|
||||
function completeCodespan(token) {
|
||||
return completeWithString(token, '`');
|
||||
}
|
||||
function completeStar(tokens) {
|
||||
return completeWithString(tokens, '*');
|
||||
}
|
||||
function completeUnderscore(tokens) {
|
||||
return completeWithString(tokens, '_');
|
||||
}
|
||||
function completeLinkTarget(tokens) {
|
||||
return completeWithString(tokens, ')');
|
||||
}
|
||||
function completeLinkText(tokens) {
|
||||
return completeWithString(tokens, '](about:blank)');
|
||||
}
|
||||
function completeDoublestar(tokens) {
|
||||
return completeWithString(tokens, '**');
|
||||
}
|
||||
function completeDoubleUnderscore(tokens) {
|
||||
return completeWithString(tokens, '__');
|
||||
}
|
||||
function completeWithString(tokens, closingString) {
|
||||
const mergedRawText = mergeRawTokenText(Array.isArray(tokens) ? tokens : [tokens]);
|
||||
// If it was completed correctly, this should be a single token.
|
||||
// Expecting either a Paragraph or a List
|
||||
return marked.lexer(mergedRawText + closingString)[0];
|
||||
}
|
||||
function completeTable(tokens) {
|
||||
const mergedRawText = mergeRawTokenText(tokens);
|
||||
const lines = mergedRawText.split('\n');
|
||||
|
|
@ -548,14 +636,14 @@ function completeTable(tokens) {
|
|||
if (i !== lines.length - 1) {
|
||||
// We got the line1 header row, and the line2 separator row, but there are more lines, and it wasn't parsed as a table!
|
||||
// That's strange and means that the table is probably malformed in the source, so I won't try to patch it up.
|
||||
return tokens;
|
||||
return undefined;
|
||||
}
|
||||
// Got a line2 separator row- partial or complete, doesn't matter, we'll replace it with a correct one
|
||||
hasSeparatorRow = true;
|
||||
}
|
||||
else {
|
||||
// The line after the header row isn't a valid separator row, so the table is malformed, don't fix it up
|
||||
return tokens;
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -565,5 +653,5 @@ function completeTable(tokens) {
|
|||
const newRawText = prefixText + (line1EndsInPipe ? '' : '|') + `\n|${' --- |'.repeat(numCols)}`;
|
||||
return marked.lexer(newRawText);
|
||||
}
|
||||
return tokens;
|
||||
return undefined;
|
||||
}
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/browser/touch.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/browser/touch.js
generated
vendored
|
|
@ -21,7 +21,7 @@ export var EventType;
|
|||
EventType.End = '-monaco-gesturesend';
|
||||
EventType.Contextmenu = '-monaco-gesturecontextmenu';
|
||||
})(EventType || (EventType = {}));
|
||||
class Gesture extends Disposable {
|
||||
export class Gesture extends Disposable {
|
||||
constructor() {
|
||||
super();
|
||||
this.dispatched = false;
|
||||
|
|
@ -251,4 +251,3 @@ Gesture.CLEAR_TAP_COUNT_TIME = 400; // ms
|
|||
__decorate([
|
||||
memoize
|
||||
], Gesture, "isTouchDevice", null);
|
||||
export { Gesture };
|
||||
|
|
|
|||
25
node_modules/monaco-editor-core/esm/vs/base/browser/trustedTypes.js
generated
vendored
Normal file
25
node_modules/monaco-editor-core/esm/vs/base/browser/trustedTypes.js
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { onUnexpectedError } from '../common/errors.js';
|
||||
export function createTrustedTypesPolicy(policyName, policyOptions) {
|
||||
var _a;
|
||||
const monacoEnvironment = globalThis.MonacoEnvironment;
|
||||
if (monacoEnvironment === null || monacoEnvironment === void 0 ? void 0 : monacoEnvironment.createTrustedTypesPolicy) {
|
||||
try {
|
||||
return monacoEnvironment.createTrustedTypesPolicy(policyName, policyOptions);
|
||||
}
|
||||
catch (err) {
|
||||
onUnexpectedError(err);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
try {
|
||||
return (_a = window.trustedTypes) === null || _a === void 0 ? void 0 : _a.createPolicy(policyName, policyOptions);
|
||||
}
|
||||
catch (err) {
|
||||
onUnexpectedError(err);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
33
node_modules/monaco-editor-core/esm/vs/base/browser/ui/actionbar/actionViewItems.js
generated
vendored
33
node_modules/monaco-editor-core/esm/vs/base/browser/ui/actionbar/actionViewItems.js
generated
vendored
|
|
@ -211,17 +211,7 @@ export class ActionViewItem extends BaseActionViewItem {
|
|||
this.label = append(this.element, $('a.action-label'));
|
||||
}
|
||||
if (this.label) {
|
||||
if (this._action.id === Separator.ID) {
|
||||
this.label.setAttribute('role', 'presentation'); // A separator is a presentation item
|
||||
}
|
||||
else {
|
||||
if (this.options.isMenu) {
|
||||
this.label.setAttribute('role', 'menuitem');
|
||||
}
|
||||
else {
|
||||
this.label.setAttribute('role', 'button');
|
||||
}
|
||||
}
|
||||
this.label.setAttribute('role', this.getDefaultAriaRole());
|
||||
}
|
||||
if (this.options.label && this.options.keybinding && this.element) {
|
||||
append(this.element, $('span.keybinding')).textContent = this.options.keybinding;
|
||||
|
|
@ -232,6 +222,19 @@ export class ActionViewItem extends BaseActionViewItem {
|
|||
this.updateEnabled();
|
||||
this.updateChecked();
|
||||
}
|
||||
getDefaultAriaRole() {
|
||||
if (this._action.id === Separator.ID) {
|
||||
return 'presentation'; // A separator is a presentation item
|
||||
}
|
||||
else {
|
||||
if (this.options.isMenu) {
|
||||
return 'menuitem';
|
||||
}
|
||||
else {
|
||||
return 'button';
|
||||
}
|
||||
}
|
||||
}
|
||||
// Only set the tabIndex on the element once it is about to get focused
|
||||
// That way this element wont be a tab stop when it is not needed #106441
|
||||
focus() {
|
||||
|
|
@ -313,11 +316,15 @@ export class ActionViewItem extends BaseActionViewItem {
|
|||
}
|
||||
updateChecked() {
|
||||
if (this.label) {
|
||||
if (this.action.checked) {
|
||||
this.label.classList.add('checked');
|
||||
if (this.action.checked !== undefined) {
|
||||
this.label.classList.toggle('checked', this.action.checked);
|
||||
this.label.setAttribute('aria-checked', this.action.checked ? 'true' : 'false');
|
||||
this.label.setAttribute('role', 'checkbox');
|
||||
}
|
||||
else {
|
||||
this.label.classList.remove('checked');
|
||||
this.label.setAttribute('aria-checked', '');
|
||||
this.label.setAttribute('role', this.getDefaultAriaRole());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
node_modules/monaco-editor-core/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf
generated
vendored
BIN
node_modules/monaco-editor-core/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf
generated
vendored
Binary file not shown.
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/contextview/contextview.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/contextview/contextview.js
generated
vendored
|
|
@ -40,7 +40,7 @@ export function layout(viewportSize, viewSize, anchor) {
|
|||
return 0; // sad case, lay it over the anchor
|
||||
}
|
||||
}
|
||||
class ContextView extends Disposable {
|
||||
export class ContextView extends Disposable {
|
||||
constructor(container, domPosition) {
|
||||
super();
|
||||
this.container = null;
|
||||
|
|
@ -236,7 +236,6 @@ class ContextView extends Disposable {
|
|||
}
|
||||
ContextView.BUBBLE_UP_EVENTS = ['click', 'keydown', 'focus', 'blur'];
|
||||
ContextView.BUBBLE_DOWN_EVENTS = ['click'];
|
||||
export { ContextView };
|
||||
const SHADOW_ROOT_CSS = /* css */ `
|
||||
:host {
|
||||
all: initial; /* 1st rule so subsequent properties are reset. */
|
||||
|
|
|
|||
20
node_modules/monaco-editor-core/esm/vs/base/browser/ui/inputbox/inputBox.js
generated
vendored
20
node_modules/monaco-editor-core/esm/vs/base/browser/ui/inputbox/inputBox.js
generated
vendored
|
|
@ -125,18 +125,6 @@ export class InputBox extends Widget {
|
|||
this.tooltip = tooltip;
|
||||
this.input.title = tooltip;
|
||||
}
|
||||
setAriaLabel(label) {
|
||||
this.ariaLabel = label;
|
||||
if (label) {
|
||||
this.input.setAttribute('aria-label', this.ariaLabel);
|
||||
}
|
||||
else {
|
||||
this.input.removeAttribute('aria-label');
|
||||
}
|
||||
}
|
||||
getAriaLabel() {
|
||||
return this.ariaLabel;
|
||||
}
|
||||
get inputElement() {
|
||||
return this.input;
|
||||
}
|
||||
|
|
@ -465,10 +453,8 @@ export class HistoryInputBox extends InputBox {
|
|||
if (next) {
|
||||
next = next === this.value ? this.getNextValue() : next;
|
||||
}
|
||||
if (next) {
|
||||
this.value = next;
|
||||
aria.status(this.value);
|
||||
}
|
||||
this.value = next !== null && next !== void 0 ? next : '';
|
||||
aria.status(this.value ? this.value : nls.localize('clearedInput', "Cleared Input"));
|
||||
}
|
||||
showPreviousValue() {
|
||||
if (!this.history.has(this.value)) {
|
||||
|
|
@ -503,6 +489,6 @@ export class HistoryInputBox extends InputBox {
|
|||
return this.history.previous() || this.history.first();
|
||||
}
|
||||
getNextValue() {
|
||||
return this.history.next() || this.history.last();
|
||||
return this.history.next();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5
node_modules/monaco-editor-core/esm/vs/base/browser/ui/list/listView.js
generated
vendored
5
node_modules/monaco-editor-core/esm/vs/base/browser/ui/list/listView.js
generated
vendored
|
|
@ -131,7 +131,7 @@ class ListViewAccessibilityProvider {
|
|||
* @remarks It is a low-level widget, not meant to be used directly. Refer to the
|
||||
* List widget instead.
|
||||
*/
|
||||
class ListView {
|
||||
export class ListView {
|
||||
get contentHeight() { return this.rangeMap.size; }
|
||||
get horizontalScrolling() { return this._horizontalScrolling; }
|
||||
set horizontalScrolling(value) {
|
||||
|
|
@ -174,6 +174,7 @@ class ListView {
|
|||
this.onDragLeaveTimeout = Disposable.None;
|
||||
this.disposables = new DisposableStore();
|
||||
this._onDidChangeContentHeight = new Emitter();
|
||||
this._onDidChangeContentWidth = new Emitter();
|
||||
this._horizontalScrolling = false;
|
||||
if (options.horizontalScrolling && options.supportDynamicHeights) {
|
||||
throw new Error('Horizontal scrolling and dynamic heights not supported simultaneously');
|
||||
|
|
@ -393,6 +394,7 @@ class ListView {
|
|||
}
|
||||
this.scrollWidth = scrollWidth;
|
||||
this.scrollableElement.setScrollDimensions({ scrollWidth: scrollWidth === 0 ? 0 : (scrollWidth + 10) });
|
||||
this._onDidChangeContentWidth.fire(this.scrollWidth);
|
||||
}
|
||||
rerender() {
|
||||
if (!this.supportDynamicHeights) {
|
||||
|
|
@ -1055,4 +1057,3 @@ __decorate([
|
|||
__decorate([
|
||||
memoize
|
||||
], ListView.prototype, "onTap", null);
|
||||
export { ListView };
|
||||
|
|
|
|||
12
node_modules/monaco-editor-core/esm/vs/base/browser/ui/list/listWidget.js
generated
vendored
12
node_modules/monaco-editor-core/esm/vs/base/browser/ui/list/listWidget.js
generated
vendored
|
|
@ -336,8 +336,8 @@ export const DefaultKeyboardNavigationDelegate = new class {
|
|||
}
|
||||
return (event.keyCode >= 31 /* KeyCode.KeyA */ && event.keyCode <= 56 /* KeyCode.KeyZ */)
|
||||
|| (event.keyCode >= 21 /* KeyCode.Digit0 */ && event.keyCode <= 30 /* KeyCode.Digit9 */)
|
||||
|| (event.keyCode >= 93 /* KeyCode.Numpad0 */ && event.keyCode <= 102 /* KeyCode.Numpad9 */)
|
||||
|| (event.keyCode >= 80 /* KeyCode.Semicolon */ && event.keyCode <= 90 /* KeyCode.Quote */);
|
||||
|| (event.keyCode >= 98 /* KeyCode.Numpad0 */ && event.keyCode <= 107 /* KeyCode.Numpad9 */)
|
||||
|| (event.keyCode >= 85 /* KeyCode.Semicolon */ && event.keyCode <= 95 /* KeyCode.Quote */);
|
||||
}
|
||||
};
|
||||
class TypeNavigationController {
|
||||
|
|
@ -554,6 +554,10 @@ export class MouseController {
|
|||
if (isInputElement(e.browserEvent.target) || isMonacoEditor(e.browserEvent.target)) {
|
||||
return;
|
||||
}
|
||||
if (e.browserEvent.isHandledByList) {
|
||||
return;
|
||||
}
|
||||
e.browserEvent.isHandledByList = true;
|
||||
const focus = e.index;
|
||||
if (typeof focus === 'undefined') {
|
||||
this.list.setFocus([], e.browserEvent);
|
||||
|
|
@ -581,6 +585,10 @@ export class MouseController {
|
|||
if (this.isSelectionChangeEvent(e)) {
|
||||
return;
|
||||
}
|
||||
if (e.browserEvent.isHandledByList) {
|
||||
return;
|
||||
}
|
||||
e.browserEvent.isHandledByList = true;
|
||||
const focus = this.list.getFocus();
|
||||
this.list.setSelection(focus, e.browserEvent);
|
||||
}
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/progressbar/progressbar.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/progressbar/progressbar.js
generated
vendored
|
|
@ -14,7 +14,7 @@ const CSS_DISCRETE = 'discrete';
|
|||
/**
|
||||
* A progress bar with support for infinite or discrete progress.
|
||||
*/
|
||||
class ProgressBar extends Disposable {
|
||||
export class ProgressBar extends Disposable {
|
||||
constructor(container, options) {
|
||||
super();
|
||||
this.workedVal = 0;
|
||||
|
|
@ -98,4 +98,3 @@ class ProgressBar extends Disposable {
|
|||
* https://github.com/microsoft/vscode/issues/138396
|
||||
*/
|
||||
ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
|
||||
export { ProgressBar };
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class MouseWheelClassifierItem {
|
|||
this.score = 0;
|
||||
}
|
||||
}
|
||||
class MouseWheelClassifier {
|
||||
export class MouseWheelClassifier {
|
||||
constructor() {
|
||||
this._capacity = 5;
|
||||
this._memory = [];
|
||||
|
|
@ -118,7 +118,6 @@ class MouseWheelClassifier {
|
|||
}
|
||||
}
|
||||
MouseWheelClassifier.INSTANCE = new MouseWheelClassifier();
|
||||
export { MouseWheelClassifier };
|
||||
export class AbstractScrollableElement extends Widget {
|
||||
get options() {
|
||||
return this._options;
|
||||
|
|
|
|||
7
node_modules/monaco-editor-core/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js
generated
vendored
7
node_modules/monaco-editor-core/esm/vs/base/browser/ui/selectBox/selectBoxCustom.js
generated
vendored
|
|
@ -48,7 +48,7 @@ class SelectListRenderer {
|
|||
// noop
|
||||
}
|
||||
}
|
||||
class SelectBoxList extends Disposable {
|
||||
export class SelectBoxList extends Disposable {
|
||||
constructor(options, selected, contextViewProvider, styles, selectBoxOptions) {
|
||||
super();
|
||||
this.options = [];
|
||||
|
|
@ -565,7 +565,7 @@ class SelectBoxList extends Disposable {
|
|||
return label;
|
||||
},
|
||||
getWidgetAriaLabel: () => localize({ key: 'selectBox', comment: ['Behave like native select dropdown element.'] }, "Select Box"),
|
||||
getRole: () => 'option',
|
||||
getRole: () => isMacintosh ? '' : 'option',
|
||||
getWidgetRole: () => 'listbox'
|
||||
}
|
||||
});
|
||||
|
|
@ -586,7 +586,7 @@ class SelectBoxList extends Disposable {
|
|||
this._register(onSelectDropDownKeyDown.filter(e => e.keyCode === 11 /* KeyCode.PageUp */).on(this.onPageUp, this));
|
||||
this._register(onSelectDropDownKeyDown.filter(e => e.keyCode === 14 /* KeyCode.Home */).on(this.onHome, this));
|
||||
this._register(onSelectDropDownKeyDown.filter(e => e.keyCode === 13 /* KeyCode.End */).on(this.onEnd, this));
|
||||
this._register(onSelectDropDownKeyDown.filter(e => (e.keyCode >= 21 /* KeyCode.Digit0 */ && e.keyCode <= 56 /* KeyCode.KeyZ */) || (e.keyCode >= 80 /* KeyCode.Semicolon */ && e.keyCode <= 108 /* KeyCode.NumpadDivide */)).on(this.onCharacter, this));
|
||||
this._register(onSelectDropDownKeyDown.filter(e => (e.keyCode >= 21 /* KeyCode.Digit0 */ && e.keyCode <= 56 /* KeyCode.KeyZ */) || (e.keyCode >= 85 /* KeyCode.Semicolon */ && e.keyCode <= 113 /* KeyCode.NumpadDivide */)).on(this.onCharacter, this));
|
||||
// SetUp list mouse controller - control navigation, disabled items, focus
|
||||
this._register(dom.addDisposableListener(this.selectList.getHTMLElement(), dom.EventType.POINTER_UP, e => this.onPointerUp(e)));
|
||||
this._register(this.selectList.onMouseOver(e => typeof e.index !== 'undefined' && this.selectList.setFocus([e.index])));
|
||||
|
|
@ -846,4 +846,3 @@ class SelectBoxList extends Disposable {
|
|||
SelectBoxList.DEFAULT_DROPDOWN_MINIMUM_BOTTOM_MARGIN = 32;
|
||||
SelectBoxList.DEFAULT_DROPDOWN_MINIMUM_TOP_MARGIN = 2;
|
||||
SelectBoxList.DEFAULT_MINIMUM_VISIBLE_OPTIONS = 3;
|
||||
export { SelectBoxList };
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/table/tableWidget.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/table/tableWidget.js
generated
vendored
|
|
@ -93,7 +93,7 @@ class ColumnHeader {
|
|||
this._onDidLayout.fire([this.index, size]);
|
||||
}
|
||||
}
|
||||
class Table {
|
||||
export class Table {
|
||||
get onDidChangeFocus() { return this.list.onDidChangeFocus; }
|
||||
get onDidChangeSelection() { return this.list.onDidChangeSelection; }
|
||||
get onMouseDblClick() { return this.list.onMouseDblClick; }
|
||||
|
|
@ -163,4 +163,3 @@ class Table {
|
|||
}
|
||||
}
|
||||
Table.InstanceCount = 0;
|
||||
export { Table };
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/toolbar/toolbar.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/browser/ui/toolbar/toolbar.js
generated
vendored
|
|
@ -122,7 +122,7 @@ export class ToolBar extends Disposable {
|
|||
super.dispose();
|
||||
}
|
||||
}
|
||||
class ToggleMenuAction extends Action {
|
||||
export class ToggleMenuAction extends Action {
|
||||
constructor(toggleDropdownMenu, title) {
|
||||
title = title || nls.localize('moreActions', "More Actions...");
|
||||
super(ToggleMenuAction.ID, title, undefined, true);
|
||||
|
|
@ -142,4 +142,3 @@ class ToggleMenuAction extends Action {
|
|||
}
|
||||
}
|
||||
ToggleMenuAction.ID = 'toolbar.toggle.more';
|
||||
export { ToggleMenuAction };
|
||||
|
|
|
|||
10
node_modules/monaco-editor-core/esm/vs/base/browser/ui/tree/abstractTree.js
generated
vendored
10
node_modules/monaco-editor-core/esm/vs/base/browser/ui/tree/abstractTree.js
generated
vendored
|
|
@ -878,7 +878,7 @@ class Trait {
|
|||
}
|
||||
else {
|
||||
const insertedNode = insertedNodesMap.get(id);
|
||||
if (insertedNode) {
|
||||
if (insertedNode && insertedNode.visible) {
|
||||
nodes.push(insertedNode);
|
||||
}
|
||||
}
|
||||
|
|
@ -910,6 +910,9 @@ class TreeNodeListMouseController extends MouseController {
|
|||
isMonacoEditor(e.browserEvent.target)) {
|
||||
return;
|
||||
}
|
||||
if (e.browserEvent.isHandledByList) {
|
||||
return;
|
||||
}
|
||||
const node = e.element;
|
||||
if (!node) {
|
||||
return super.onViewPointer(e);
|
||||
|
|
@ -939,6 +942,8 @@ class TreeNodeListMouseController extends MouseController {
|
|||
this.tree.setFocus([location]);
|
||||
this.tree.toggleCollapsed(location, recursive);
|
||||
if (expandOnlyOnTwistieClick && onTwistie) {
|
||||
// Do not set this before calling a handler on the super class, because it will reject it as handled
|
||||
e.browserEvent.isHandledByList = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -949,6 +954,9 @@ class TreeNodeListMouseController extends MouseController {
|
|||
if (onTwistie || !this.tree.expandOnDoubleClick) {
|
||||
return;
|
||||
}
|
||||
if (e.browserEvent.isHandledByList) {
|
||||
return;
|
||||
}
|
||||
super.onDoubleClick(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/base/common/actions.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/base/common/actions.js
generated
vendored
|
|
@ -127,7 +127,7 @@ export class ActionRunner extends Disposable {
|
|||
});
|
||||
}
|
||||
}
|
||||
class Separator {
|
||||
export class Separator {
|
||||
constructor() {
|
||||
this.id = Separator.ID;
|
||||
this.label = '';
|
||||
|
|
@ -159,7 +159,6 @@ class Separator {
|
|||
}
|
||||
}
|
||||
Separator.ID = 'vs.actions.separator';
|
||||
export { Separator };
|
||||
export class SubmenuAction {
|
||||
get actions() { return this._actions; }
|
||||
constructor(id, label, actions, cssClass) {
|
||||
|
|
@ -175,13 +174,12 @@ export class SubmenuAction {
|
|||
return __awaiter(this, void 0, void 0, function* () { });
|
||||
}
|
||||
}
|
||||
class EmptySubmenuAction extends Action {
|
||||
export class EmptySubmenuAction extends Action {
|
||||
constructor() {
|
||||
super(EmptySubmenuAction.ID, nls.localize('submenu.empty', '(empty)'), undefined, false);
|
||||
}
|
||||
}
|
||||
EmptySubmenuAction.ID = 'vs.actions.empty';
|
||||
export { EmptySubmenuAction };
|
||||
export function toAction(props) {
|
||||
var _a, _b;
|
||||
return {
|
||||
|
|
|
|||
15
node_modules/monaco-editor-core/esm/vs/base/common/arrays.js
generated
vendored
15
node_modules/monaco-editor-core/esm/vs/base/common/arrays.js
generated
vendored
|
|
@ -273,6 +273,18 @@ export function pushMany(arr, items) {
|
|||
export function asArray(x) {
|
||||
return Array.isArray(x) ? x : [x];
|
||||
}
|
||||
/**
|
||||
* Returns the first mapped value of the array which is not undefined.
|
||||
*/
|
||||
export function mapFind(array, mapFn) {
|
||||
for (const value of array) {
|
||||
const mapped = mapFn(value);
|
||||
if (mapped !== undefined) {
|
||||
return mapped;
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
/**
|
||||
* Insert the new items in the array.
|
||||
* @param array The original array.
|
||||
|
|
@ -442,7 +454,7 @@ export class ArrayQueue {
|
|||
/**
|
||||
* This class is faster than an iterator and array for lazy computed data.
|
||||
*/
|
||||
class CallbackIterable {
|
||||
export class CallbackIterable {
|
||||
constructor(
|
||||
/**
|
||||
* Calls the callback for every item.
|
||||
|
|
@ -486,4 +498,3 @@ class CallbackIterable {
|
|||
}
|
||||
}
|
||||
CallbackIterable.empty = new CallbackIterable(_callback => { });
|
||||
export { CallbackIterable };
|
||||
|
|
|
|||
88
node_modules/monaco-editor-core/esm/vs/base/common/async.js
generated
vendored
88
node_modules/monaco-editor-core/esm/vs/base/common/async.js
generated
vendored
|
|
@ -510,14 +510,13 @@ export class IdleValue {
|
|||
*/
|
||||
export class DeferredPromise {
|
||||
get isRejected() {
|
||||
return this.rejected;
|
||||
var _a;
|
||||
return ((_a = this.outcome) === null || _a === void 0 ? void 0 : _a.outcome) === 1 /* DeferredOutcome.Rejected */;
|
||||
}
|
||||
get isSettled() {
|
||||
return this.rejected || this.resolved;
|
||||
return !!this.outcome;
|
||||
}
|
||||
constructor() {
|
||||
this.rejected = false;
|
||||
this.resolved = false;
|
||||
this.p = new Promise((c, e) => {
|
||||
this.completeCallback = c;
|
||||
this.errorCallback = e;
|
||||
|
|
@ -526,16 +525,19 @@ export class DeferredPromise {
|
|||
complete(value) {
|
||||
return new Promise(resolve => {
|
||||
this.completeCallback(value);
|
||||
this.resolved = true;
|
||||
this.outcome = { outcome: 0 /* DeferredOutcome.Resolved */, value };
|
||||
resolve();
|
||||
});
|
||||
}
|
||||
error(err) {
|
||||
return new Promise(resolve => {
|
||||
this.errorCallback(err);
|
||||
this.outcome = { outcome: 1 /* DeferredOutcome.Rejected */, value: err };
|
||||
resolve();
|
||||
});
|
||||
}
|
||||
cancel() {
|
||||
new Promise(resolve => {
|
||||
this.errorCallback(new CancellationError());
|
||||
this.rejected = true;
|
||||
resolve();
|
||||
});
|
||||
return this.error(new CancellationError());
|
||||
}
|
||||
}
|
||||
//#endregion
|
||||
|
|
@ -591,7 +593,7 @@ export var Promises;
|
|||
/**
|
||||
* A rich implementation for an `AsyncIterable<T>`.
|
||||
*/
|
||||
class AsyncIterableObject {
|
||||
export class AsyncIterableObject {
|
||||
static fromArray(items) {
|
||||
return new AsyncIterableObject((writer) => {
|
||||
writer.emitMany(items);
|
||||
|
|
@ -612,16 +614,11 @@ class AsyncIterableObject {
|
|||
yield Promise.all(iterables.map((iterable) => { var _a, iterable_1, iterable_1_1; return __awaiter(this, void 0, void 0, function* () {
|
||||
var _b, e_1, _c, _d;
|
||||
try {
|
||||
for (_a = true, iterable_1 = __asyncValues(iterable); iterable_1_1 = yield iterable_1.next(), _b = iterable_1_1.done, !_b;) {
|
||||
for (_a = true, iterable_1 = __asyncValues(iterable); iterable_1_1 = yield iterable_1.next(), _b = iterable_1_1.done, !_b; _a = true) {
|
||||
_d = iterable_1_1.value;
|
||||
_a = false;
|
||||
try {
|
||||
const item = _d;
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
finally {
|
||||
_a = true;
|
||||
}
|
||||
const item = _d;
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
|
|
@ -682,16 +679,11 @@ class AsyncIterableObject {
|
|||
return new AsyncIterableObject((emitter) => __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, e_2, _b, _c;
|
||||
try {
|
||||
for (var _d = true, iterable_2 = __asyncValues(iterable), iterable_2_1; iterable_2_1 = yield iterable_2.next(), _a = iterable_2_1.done, !_a;) {
|
||||
for (var _d = true, iterable_2 = __asyncValues(iterable), iterable_2_1; iterable_2_1 = yield iterable_2.next(), _a = iterable_2_1.done, !_a; _d = true) {
|
||||
_c = iterable_2_1.value;
|
||||
_d = false;
|
||||
try {
|
||||
const item = _c;
|
||||
emitter.emitOne(mapFn(item));
|
||||
}
|
||||
finally {
|
||||
_d = true;
|
||||
}
|
||||
const item = _c;
|
||||
emitter.emitOne(mapFn(item));
|
||||
}
|
||||
}
|
||||
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
||||
|
|
@ -710,17 +702,12 @@ class AsyncIterableObject {
|
|||
return new AsyncIterableObject((emitter) => __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, e_3, _b, _c;
|
||||
try {
|
||||
for (var _d = true, iterable_3 = __asyncValues(iterable), iterable_3_1; iterable_3_1 = yield iterable_3.next(), _a = iterable_3_1.done, !_a;) {
|
||||
for (var _d = true, iterable_3 = __asyncValues(iterable), iterable_3_1; iterable_3_1 = yield iterable_3.next(), _a = iterable_3_1.done, !_a; _d = true) {
|
||||
_c = iterable_3_1.value;
|
||||
_d = false;
|
||||
try {
|
||||
const item = _c;
|
||||
if (filterFn(item)) {
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
}
|
||||
finally {
|
||||
_d = true;
|
||||
const item = _c;
|
||||
if (filterFn(item)) {
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -748,16 +735,11 @@ class AsyncIterableObject {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const result = [];
|
||||
try {
|
||||
for (_a = true, iterable_4 = __asyncValues(iterable); iterable_4_1 = yield iterable_4.next(), _b = iterable_4_1.done, !_b;) {
|
||||
for (_a = true, iterable_4 = __asyncValues(iterable); iterable_4_1 = yield iterable_4.next(), _b = iterable_4_1.done, !_b; _a = true) {
|
||||
_d = iterable_4_1.value;
|
||||
_a = false;
|
||||
try {
|
||||
const item = _d;
|
||||
result.push(item);
|
||||
}
|
||||
finally {
|
||||
_a = true;
|
||||
}
|
||||
const item = _d;
|
||||
result.push(item);
|
||||
}
|
||||
}
|
||||
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
||||
|
|
@ -830,7 +812,6 @@ class AsyncIterableObject {
|
|||
}
|
||||
}
|
||||
AsyncIterableObject.EMPTY = AsyncIterableObject.fromArray([]);
|
||||
export { AsyncIterableObject };
|
||||
export class CancelableAsyncIterableObject extends AsyncIterableObject {
|
||||
constructor(_source, executor) {
|
||||
super(executor);
|
||||
|
|
@ -852,20 +833,15 @@ export function createCancelableAsyncIterable(callback) {
|
|||
});
|
||||
try {
|
||||
try {
|
||||
for (var _d = true, innerIterable_1 = __asyncValues(innerIterable), innerIterable_1_1; innerIterable_1_1 = yield innerIterable_1.next(), _a = innerIterable_1_1.done, !_a;) {
|
||||
for (var _d = true, innerIterable_1 = __asyncValues(innerIterable), innerIterable_1_1; innerIterable_1_1 = yield innerIterable_1.next(), _a = innerIterable_1_1.done, !_a; _d = true) {
|
||||
_c = innerIterable_1_1.value;
|
||||
_d = false;
|
||||
try {
|
||||
const item = _c;
|
||||
if (source.token.isCancellationRequested) {
|
||||
// canceled in the meantime
|
||||
return;
|
||||
}
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
finally {
|
||||
_d = true;
|
||||
const item = _c;
|
||||
if (source.token.isCancellationRequested) {
|
||||
// canceled in the meantime
|
||||
return;
|
||||
}
|
||||
emitter.emitOne(item);
|
||||
}
|
||||
}
|
||||
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/base/common/buffer.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/base/common/buffer.js
generated
vendored
|
|
@ -1,4 +1,10 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { Lazy } from './lazy.js';
|
||||
const hasBuffer = (typeof Buffer !== 'undefined');
|
||||
const indexOfTable = new Lazy(() => new Uint8Array(256));
|
||||
let textDecoder;
|
||||
export class VSBuffer {
|
||||
/**
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/color.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/color.js
generated
vendored
|
|
@ -177,7 +177,7 @@ export class HSVA {
|
|||
return new RGBA(r, g, b, a);
|
||||
}
|
||||
}
|
||||
class Color {
|
||||
export class Color {
|
||||
static fromHex(hex) {
|
||||
return Color.Format.CSS.parseHex(hex) || Color.red;
|
||||
}
|
||||
|
|
@ -322,7 +322,6 @@ Color.green = new Color(new RGBA(0, 255, 0, 1));
|
|||
Color.cyan = new Color(new RGBA(0, 255, 255, 1));
|
||||
Color.lightgrey = new Color(new RGBA(211, 211, 211, 1));
|
||||
Color.transparent = new Color(new RGBA(0, 0, 0, 0));
|
||||
export { Color };
|
||||
(function (Color) {
|
||||
let Format;
|
||||
(function (Format) {
|
||||
|
|
|
|||
77
node_modules/monaco-editor-core/esm/vs/base/common/dataTransfer.js
generated
vendored
77
node_modules/monaco-editor-core/esm/vs/base/common/dataTransfer.js
generated
vendored
|
|
@ -12,20 +12,20 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
});
|
||||
};
|
||||
import { distinct } from './arrays.js';
|
||||
import { Iterable } from './iterator.js';
|
||||
import { generateUuid } from './uuid.js';
|
||||
export function createStringDataTransferItem(stringOrPromise) {
|
||||
return {
|
||||
id: generateUuid(),
|
||||
asString: () => __awaiter(this, void 0, void 0, function* () { return stringOrPromise; }),
|
||||
asFile: () => undefined,
|
||||
value: typeof stringOrPromise === 'string' ? stringOrPromise : undefined,
|
||||
};
|
||||
}
|
||||
export function createFileDataTransferItem(fileName, uri, data) {
|
||||
const file = { id: generateUuid(), name: fileName, uri, data };
|
||||
return {
|
||||
id: generateUuid(),
|
||||
asString: () => __awaiter(this, void 0, void 0, function* () { return ''; }),
|
||||
asFile: () => ({ name: fileName, uri, data }),
|
||||
asFile: () => file,
|
||||
value: undefined,
|
||||
};
|
||||
}
|
||||
|
|
@ -34,15 +34,31 @@ export class VSDataTransfer {
|
|||
this._entries = new Map();
|
||||
}
|
||||
get size() {
|
||||
return this._entries.size;
|
||||
let size = 0;
|
||||
for (const _ of this._entries) {
|
||||
size++;
|
||||
}
|
||||
return size;
|
||||
}
|
||||
has(mimeType) {
|
||||
return this._entries.has(this.toKey(mimeType));
|
||||
}
|
||||
matches(pattern) {
|
||||
const mimes = [...this._entries.keys()];
|
||||
if (Iterable.some(this, ([_, item]) => item.asFile())) {
|
||||
mimes.push('files');
|
||||
}
|
||||
return matchesMimeType_normalized(normalizeMimeType(pattern), mimes);
|
||||
}
|
||||
get(mimeType) {
|
||||
var _a;
|
||||
return (_a = this._entries.get(this.toKey(mimeType))) === null || _a === void 0 ? void 0 : _a[0];
|
||||
}
|
||||
/**
|
||||
* Add a new entry to this data transfer.
|
||||
*
|
||||
* This does not replace existing entries for `mimeType`.
|
||||
*/
|
||||
append(mimeType, value) {
|
||||
const existing = this._entries.get(mimeType);
|
||||
if (existing) {
|
||||
|
|
@ -52,31 +68,62 @@ export class VSDataTransfer {
|
|||
this._entries.set(this.toKey(mimeType), [value]);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Set the entry for a given mime type.
|
||||
*
|
||||
* This replaces all existing entries for `mimeType`.
|
||||
*/
|
||||
replace(mimeType, value) {
|
||||
this._entries.set(this.toKey(mimeType), [value]);
|
||||
}
|
||||
/**
|
||||
* Remove all entries for `mimeType`.
|
||||
*/
|
||||
delete(mimeType) {
|
||||
this._entries.delete(this.toKey(mimeType));
|
||||
}
|
||||
*entries() {
|
||||
for (const [mine, items] of this._entries.entries()) {
|
||||
/**
|
||||
* Iterate over all `[mime, item]` pairs in this data transfer.
|
||||
*
|
||||
* There may be multiple entries for each mime type.
|
||||
*/
|
||||
*[Symbol.iterator]() {
|
||||
for (const [mine, items] of this._entries) {
|
||||
for (const item of items) {
|
||||
yield [mine, item];
|
||||
}
|
||||
}
|
||||
}
|
||||
values() {
|
||||
return Array.from(this._entries.values()).flat();
|
||||
}
|
||||
forEach(f) {
|
||||
for (const [mime, item] of this.entries()) {
|
||||
f(item, mime);
|
||||
}
|
||||
}
|
||||
toKey(mimeType) {
|
||||
return mimeType.toLowerCase();
|
||||
return normalizeMimeType(mimeType);
|
||||
}
|
||||
}
|
||||
function normalizeMimeType(mimeType) {
|
||||
return mimeType.toLowerCase();
|
||||
}
|
||||
export function matchesMimeType(pattern, mimeTypes) {
|
||||
return matchesMimeType_normalized(normalizeMimeType(pattern), mimeTypes.map(normalizeMimeType));
|
||||
}
|
||||
function matchesMimeType_normalized(normalizedPattern, normalizedMimeTypes) {
|
||||
// Anything wildcard
|
||||
if (normalizedPattern === '*/*') {
|
||||
return normalizedMimeTypes.length > 0;
|
||||
}
|
||||
// Exact match
|
||||
if (normalizedMimeTypes.includes(normalizedPattern)) {
|
||||
return true;
|
||||
}
|
||||
// Wildcard, such as `image/*`
|
||||
const wildcard = normalizedPattern.match(/^([a-z]+)\/([a-z]+|\*)$/i);
|
||||
if (!wildcard) {
|
||||
return false;
|
||||
}
|
||||
const [_, type, subtype] = wildcard;
|
||||
if (subtype === '*') {
|
||||
return normalizedMimeTypes.some(mime => mime.startsWith(type + '/'));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
export const UriList = Object.freeze({
|
||||
// http://amundsen.com/hypermedia/urilist/
|
||||
create: (entries) => {
|
||||
|
|
|
|||
4
node_modules/monaco-editor-core/esm/vs/base/common/errorMessage.js
generated
vendored
4
node_modules/monaco-editor-core/esm/vs/base/common/errorMessage.js
generated
vendored
|
|
@ -18,6 +18,10 @@ function stackToString(stack) {
|
|||
return stack;
|
||||
}
|
||||
function detectSystemErrorMessage(exception) {
|
||||
// Custom node.js error from us
|
||||
if (exception.code === 'ERR_UNC_HOST_NOT_ALLOWED') {
|
||||
return `${exception.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`;
|
||||
}
|
||||
// See https://nodejs.org/api/errors.html#errors_class_system_error
|
||||
if (typeof exception.code === 'string' && typeof exception.errno === 'number' && typeof exception.syscall === 'string') {
|
||||
return nls.localize('nodeExceptionMessage', "A system error occurred ({0})", exception.message);
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/esm/vs/base/common/errors.js
generated
vendored
2
node_modules/monaco-editor-core/esm/vs/base/common/errors.js
generated
vendored
|
|
@ -145,6 +145,6 @@ export class BugIndicatingError extends Error {
|
|||
// Because we know for sure only buggy code throws this,
|
||||
// we definitely want to break here and fix the bug.
|
||||
// eslint-disable-next-line no-debugger
|
||||
debugger;
|
||||
// debugger;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
65
node_modules/monaco-editor-core/esm/vs/base/common/event.js
generated
vendored
65
node_modules/monaco-editor-core/esm/vs/base/common/event.js
generated
vendored
|
|
@ -466,16 +466,16 @@ export var Event;
|
|||
}
|
||||
Event.runAndSubscribeWithStore = runAndSubscribeWithStore;
|
||||
class EmitterObserver {
|
||||
constructor(obs, store) {
|
||||
this.obs = obs;
|
||||
constructor(_observable, store) {
|
||||
this._observable = _observable;
|
||||
this._counter = 0;
|
||||
this._hasChanged = false;
|
||||
const options = {
|
||||
onWillAddFirstListener: () => {
|
||||
obs.addObserver(this);
|
||||
_observable.addObserver(this);
|
||||
},
|
||||
onDidRemoveLastListener: () => {
|
||||
obs.removeObserver(this);
|
||||
_observable.removeObserver(this);
|
||||
}
|
||||
};
|
||||
if (!store) {
|
||||
|
|
@ -487,28 +487,76 @@ export var Event;
|
|||
}
|
||||
}
|
||||
beginUpdate(_observable) {
|
||||
// console.assert(_observable === this.obs);
|
||||
// assert(_observable === this.obs);
|
||||
this._counter++;
|
||||
}
|
||||
handlePossibleChange(_observable) {
|
||||
// assert(_observable === this.obs);
|
||||
}
|
||||
handleChange(_observable, _change) {
|
||||
// assert(_observable === this.obs);
|
||||
this._hasChanged = true;
|
||||
}
|
||||
endUpdate(_observable) {
|
||||
if (--this._counter === 0) {
|
||||
// assert(_observable === this.obs);
|
||||
this._counter--;
|
||||
if (this._counter === 0) {
|
||||
this._observable.reportChanges();
|
||||
if (this._hasChanged) {
|
||||
this._hasChanged = false;
|
||||
this.emitter.fire(this.obs.get());
|
||||
this.emitter.fire(this._observable.get());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Creates an event emitter that is fired when the observable changes.
|
||||
* Each listeners subscribes to the emitter.
|
||||
*/
|
||||
function fromObservable(obs, store) {
|
||||
const observer = new EmitterObserver(obs, store);
|
||||
return observer.emitter.event;
|
||||
}
|
||||
Event.fromObservable = fromObservable;
|
||||
/**
|
||||
* Each listener is attached to the observable directly.
|
||||
*/
|
||||
function fromObservableLight(observable) {
|
||||
return (listener) => {
|
||||
let count = 0;
|
||||
let didChange = false;
|
||||
const observer = {
|
||||
beginUpdate() {
|
||||
count++;
|
||||
},
|
||||
endUpdate() {
|
||||
count--;
|
||||
if (count === 0) {
|
||||
observable.reportChanges();
|
||||
if (didChange) {
|
||||
didChange = false;
|
||||
listener();
|
||||
}
|
||||
}
|
||||
},
|
||||
handlePossibleChange() {
|
||||
// noop
|
||||
},
|
||||
handleChange() {
|
||||
didChange = true;
|
||||
}
|
||||
};
|
||||
observable.addObserver(observer);
|
||||
return {
|
||||
dispose() {
|
||||
observable.removeObserver(observer);
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
Event.fromObservableLight = fromObservableLight;
|
||||
})(Event || (Event = {}));
|
||||
class EventProfiling {
|
||||
export class EventProfiling {
|
||||
constructor(name) {
|
||||
this.listenerCount = 0;
|
||||
this.invocationCount = 0;
|
||||
|
|
@ -533,7 +581,6 @@ class EventProfiling {
|
|||
}
|
||||
EventProfiling.all = new Set();
|
||||
EventProfiling._idPool = 0;
|
||||
export { EventProfiling };
|
||||
let _globalLeakWarningThreshold = -1;
|
||||
class LeakageMonitor {
|
||||
constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/filters.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/filters.js
generated
vendored
|
|
@ -462,14 +462,13 @@ export var FuzzyScore;
|
|||
}
|
||||
FuzzyScore.isDefault = isDefault;
|
||||
})(FuzzyScore || (FuzzyScore = {}));
|
||||
class FuzzyScoreOptions {
|
||||
export class FuzzyScoreOptions {
|
||||
constructor(firstMatchCanBeWeak, boostFullMatch) {
|
||||
this.firstMatchCanBeWeak = firstMatchCanBeWeak;
|
||||
this.boostFullMatch = boostFullMatch;
|
||||
}
|
||||
}
|
||||
FuzzyScoreOptions.default = { boostFullMatch: true, firstMatchCanBeWeak: false };
|
||||
export { FuzzyScoreOptions };
|
||||
export function fuzzyScore(pattern, patternLow, patternStart, word, wordLow, wordStart, options = FuzzyScoreOptions.default) {
|
||||
const patternLen = pattern.length > _maxLen ? _maxLen : pattern.length;
|
||||
const wordLen = word.length > _maxLen ? _maxLen : word.length;
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/hash.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/hash.js
generated
vendored
|
|
@ -83,7 +83,7 @@ export function toHexString(bufferOrValue, bitsize = 32) {
|
|||
/**
|
||||
* A SHA1 implementation that works with strings and does not allocate.
|
||||
*/
|
||||
class StringSHA1 {
|
||||
export class StringSHA1 {
|
||||
constructor() {
|
||||
this._h0 = 0x67452301;
|
||||
this._h1 = 0xEFCDAB89;
|
||||
|
|
@ -256,4 +256,3 @@ class StringSHA1 {
|
|||
}
|
||||
}
|
||||
StringSHA1._bigBlock32 = new DataView(new ArrayBuffer(320)); // 80 * 4 = 320
|
||||
export { StringSHA1 };
|
||||
|
|
|
|||
8
node_modules/monaco-editor-core/esm/vs/base/common/history.js
generated
vendored
8
node_modules/monaco-editor-core/esm/vs/base/common/history.js
generated
vendored
|
|
@ -18,10 +18,8 @@ export class HistoryNavigator {
|
|||
this._onChange();
|
||||
}
|
||||
next() {
|
||||
if (this._currentPosition() !== this._elements.length - 1) {
|
||||
return this._navigator.next();
|
||||
}
|
||||
return null;
|
||||
// This will navigate past the end of the last element, and in that case the input should be cleared
|
||||
return this._navigator.next();
|
||||
}
|
||||
previous() {
|
||||
if (this._currentPosition() !== 0) {
|
||||
|
|
@ -39,7 +37,7 @@ export class HistoryNavigator {
|
|||
return this._navigator.last();
|
||||
}
|
||||
isLast() {
|
||||
return this._currentPosition() === this._elements.length - 1;
|
||||
return this._currentPosition() >= this._elements.length - 1;
|
||||
}
|
||||
isNowhere() {
|
||||
return this._navigator.current() === null;
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/esm/vs/base/common/htmlContent.js
generated
vendored
2
node_modules/monaco-editor-core/esm/vs/base/common/htmlContent.js
generated
vendored
|
|
@ -84,7 +84,7 @@ export function isMarkdownString(thing) {
|
|||
}
|
||||
else if (thing && typeof thing === 'object') {
|
||||
return typeof thing.value === 'string'
|
||||
&& (typeof thing.isTrusted === 'boolean' || thing.isTrusted === undefined)
|
||||
&& (typeof thing.isTrusted === 'boolean' || typeof thing.isTrusted === 'object' || thing.isTrusted === undefined)
|
||||
&& (typeof thing.supportThemeIcons === 'boolean' || thing.supportThemeIcons === undefined);
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
468
node_modules/monaco-editor-core/esm/vs/base/common/keyCodes.js
generated
vendored
468
node_modules/monaco-editor-core/esm/vs/base/common/keyCodes.js
generated
vendored
|
|
@ -37,251 +37,251 @@ export const IMMUTABLE_KEY_CODE_TO_CODE = [];
|
|||
for (let i = 0; i <= 193 /* ScanCode.MAX_VALUE */; i++) {
|
||||
IMMUTABLE_CODE_TO_KEY_CODE[i] = -1 /* KeyCode.DependsOnKbLayout */;
|
||||
}
|
||||
for (let i = 0; i <= 127 /* KeyCode.MAX_VALUE */; i++) {
|
||||
for (let i = 0; i <= 132 /* KeyCode.MAX_VALUE */; i++) {
|
||||
IMMUTABLE_KEY_CODE_TO_CODE[i] = -1 /* ScanCode.DependsOnKbLayout */;
|
||||
}
|
||||
(function () {
|
||||
// See https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
|
||||
// See https://github.com/microsoft/node-native-keymap/blob/master/deps/chromium/keyboard_codes_win.h
|
||||
// See https://github.com/microsoft/node-native-keymap/blob/88c0b0e5/deps/chromium/keyboard_codes_win.h
|
||||
const empty = '';
|
||||
const mappings = [
|
||||
// keyCodeOrd, immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel
|
||||
[0, 1, 0 /* ScanCode.None */, 'None', 0 /* KeyCode.Unknown */, 'unknown', 0, 'VK_UNKNOWN', empty, empty],
|
||||
[0, 1, 1 /* ScanCode.Hyper */, 'Hyper', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 2 /* ScanCode.Super */, 'Super', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 3 /* ScanCode.Fn */, 'Fn', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 4 /* ScanCode.FnLock */, 'FnLock', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 5 /* ScanCode.Suspend */, 'Suspend', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 6 /* ScanCode.Resume */, 'Resume', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 7 /* ScanCode.Turbo */, 'Turbo', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 8 /* ScanCode.Sleep */, 'Sleep', 0 /* KeyCode.Unknown */, empty, 0, 'VK_SLEEP', empty, empty],
|
||||
[0, 1, 9 /* ScanCode.WakeUp */, 'WakeUp', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[31, 0, 10 /* ScanCode.KeyA */, 'KeyA', 31 /* KeyCode.KeyA */, 'A', 65, 'VK_A', empty, empty],
|
||||
[32, 0, 11 /* ScanCode.KeyB */, 'KeyB', 32 /* KeyCode.KeyB */, 'B', 66, 'VK_B', empty, empty],
|
||||
[33, 0, 12 /* ScanCode.KeyC */, 'KeyC', 33 /* KeyCode.KeyC */, 'C', 67, 'VK_C', empty, empty],
|
||||
[34, 0, 13 /* ScanCode.KeyD */, 'KeyD', 34 /* KeyCode.KeyD */, 'D', 68, 'VK_D', empty, empty],
|
||||
[35, 0, 14 /* ScanCode.KeyE */, 'KeyE', 35 /* KeyCode.KeyE */, 'E', 69, 'VK_E', empty, empty],
|
||||
[36, 0, 15 /* ScanCode.KeyF */, 'KeyF', 36 /* KeyCode.KeyF */, 'F', 70, 'VK_F', empty, empty],
|
||||
[37, 0, 16 /* ScanCode.KeyG */, 'KeyG', 37 /* KeyCode.KeyG */, 'G', 71, 'VK_G', empty, empty],
|
||||
[38, 0, 17 /* ScanCode.KeyH */, 'KeyH', 38 /* KeyCode.KeyH */, 'H', 72, 'VK_H', empty, empty],
|
||||
[39, 0, 18 /* ScanCode.KeyI */, 'KeyI', 39 /* KeyCode.KeyI */, 'I', 73, 'VK_I', empty, empty],
|
||||
[40, 0, 19 /* ScanCode.KeyJ */, 'KeyJ', 40 /* KeyCode.KeyJ */, 'J', 74, 'VK_J', empty, empty],
|
||||
[41, 0, 20 /* ScanCode.KeyK */, 'KeyK', 41 /* KeyCode.KeyK */, 'K', 75, 'VK_K', empty, empty],
|
||||
[42, 0, 21 /* ScanCode.KeyL */, 'KeyL', 42 /* KeyCode.KeyL */, 'L', 76, 'VK_L', empty, empty],
|
||||
[43, 0, 22 /* ScanCode.KeyM */, 'KeyM', 43 /* KeyCode.KeyM */, 'M', 77, 'VK_M', empty, empty],
|
||||
[44, 0, 23 /* ScanCode.KeyN */, 'KeyN', 44 /* KeyCode.KeyN */, 'N', 78, 'VK_N', empty, empty],
|
||||
[45, 0, 24 /* ScanCode.KeyO */, 'KeyO', 45 /* KeyCode.KeyO */, 'O', 79, 'VK_O', empty, empty],
|
||||
[46, 0, 25 /* ScanCode.KeyP */, 'KeyP', 46 /* KeyCode.KeyP */, 'P', 80, 'VK_P', empty, empty],
|
||||
[47, 0, 26 /* ScanCode.KeyQ */, 'KeyQ', 47 /* KeyCode.KeyQ */, 'Q', 81, 'VK_Q', empty, empty],
|
||||
[48, 0, 27 /* ScanCode.KeyR */, 'KeyR', 48 /* KeyCode.KeyR */, 'R', 82, 'VK_R', empty, empty],
|
||||
[49, 0, 28 /* ScanCode.KeyS */, 'KeyS', 49 /* KeyCode.KeyS */, 'S', 83, 'VK_S', empty, empty],
|
||||
[50, 0, 29 /* ScanCode.KeyT */, 'KeyT', 50 /* KeyCode.KeyT */, 'T', 84, 'VK_T', empty, empty],
|
||||
[51, 0, 30 /* ScanCode.KeyU */, 'KeyU', 51 /* KeyCode.KeyU */, 'U', 85, 'VK_U', empty, empty],
|
||||
[52, 0, 31 /* ScanCode.KeyV */, 'KeyV', 52 /* KeyCode.KeyV */, 'V', 86, 'VK_V', empty, empty],
|
||||
[53, 0, 32 /* ScanCode.KeyW */, 'KeyW', 53 /* KeyCode.KeyW */, 'W', 87, 'VK_W', empty, empty],
|
||||
[54, 0, 33 /* ScanCode.KeyX */, 'KeyX', 54 /* KeyCode.KeyX */, 'X', 88, 'VK_X', empty, empty],
|
||||
[55, 0, 34 /* ScanCode.KeyY */, 'KeyY', 55 /* KeyCode.KeyY */, 'Y', 89, 'VK_Y', empty, empty],
|
||||
[56, 0, 35 /* ScanCode.KeyZ */, 'KeyZ', 56 /* KeyCode.KeyZ */, 'Z', 90, 'VK_Z', empty, empty],
|
||||
[22, 0, 36 /* ScanCode.Digit1 */, 'Digit1', 22 /* KeyCode.Digit1 */, '1', 49, 'VK_1', empty, empty],
|
||||
[23, 0, 37 /* ScanCode.Digit2 */, 'Digit2', 23 /* KeyCode.Digit2 */, '2', 50, 'VK_2', empty, empty],
|
||||
[24, 0, 38 /* ScanCode.Digit3 */, 'Digit3', 24 /* KeyCode.Digit3 */, '3', 51, 'VK_3', empty, empty],
|
||||
[25, 0, 39 /* ScanCode.Digit4 */, 'Digit4', 25 /* KeyCode.Digit4 */, '4', 52, 'VK_4', empty, empty],
|
||||
[26, 0, 40 /* ScanCode.Digit5 */, 'Digit5', 26 /* KeyCode.Digit5 */, '5', 53, 'VK_5', empty, empty],
|
||||
[27, 0, 41 /* ScanCode.Digit6 */, 'Digit6', 27 /* KeyCode.Digit6 */, '6', 54, 'VK_6', empty, empty],
|
||||
[28, 0, 42 /* ScanCode.Digit7 */, 'Digit7', 28 /* KeyCode.Digit7 */, '7', 55, 'VK_7', empty, empty],
|
||||
[29, 0, 43 /* ScanCode.Digit8 */, 'Digit8', 29 /* KeyCode.Digit8 */, '8', 56, 'VK_8', empty, empty],
|
||||
[30, 0, 44 /* ScanCode.Digit9 */, 'Digit9', 30 /* KeyCode.Digit9 */, '9', 57, 'VK_9', empty, empty],
|
||||
[21, 0, 45 /* ScanCode.Digit0 */, 'Digit0', 21 /* KeyCode.Digit0 */, '0', 48, 'VK_0', empty, empty],
|
||||
[3, 1, 46 /* ScanCode.Enter */, 'Enter', 3 /* KeyCode.Enter */, 'Enter', 13, 'VK_RETURN', empty, empty],
|
||||
[9, 1, 47 /* ScanCode.Escape */, 'Escape', 9 /* KeyCode.Escape */, 'Escape', 27, 'VK_ESCAPE', empty, empty],
|
||||
[1, 1, 48 /* ScanCode.Backspace */, 'Backspace', 1 /* KeyCode.Backspace */, 'Backspace', 8, 'VK_BACK', empty, empty],
|
||||
[2, 1, 49 /* ScanCode.Tab */, 'Tab', 2 /* KeyCode.Tab */, 'Tab', 9, 'VK_TAB', empty, empty],
|
||||
[10, 1, 50 /* ScanCode.Space */, 'Space', 10 /* KeyCode.Space */, 'Space', 32, 'VK_SPACE', empty, empty],
|
||||
[83, 0, 51 /* ScanCode.Minus */, 'Minus', 83 /* KeyCode.Minus */, '-', 189, 'VK_OEM_MINUS', '-', 'OEM_MINUS'],
|
||||
[81, 0, 52 /* ScanCode.Equal */, 'Equal', 81 /* KeyCode.Equal */, '=', 187, 'VK_OEM_PLUS', '=', 'OEM_PLUS'],
|
||||
[87, 0, 53 /* ScanCode.BracketLeft */, 'BracketLeft', 87 /* KeyCode.BracketLeft */, '[', 219, 'VK_OEM_4', '[', 'OEM_4'],
|
||||
[89, 0, 54 /* ScanCode.BracketRight */, 'BracketRight', 89 /* KeyCode.BracketRight */, ']', 221, 'VK_OEM_6', ']', 'OEM_6'],
|
||||
[88, 0, 55 /* ScanCode.Backslash */, 'Backslash', 88 /* KeyCode.Backslash */, '\\', 220, 'VK_OEM_5', '\\', 'OEM_5'],
|
||||
[0, 0, 56 /* ScanCode.IntlHash */, 'IntlHash', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[80, 0, 57 /* ScanCode.Semicolon */, 'Semicolon', 80 /* KeyCode.Semicolon */, ';', 186, 'VK_OEM_1', ';', 'OEM_1'],
|
||||
[90, 0, 58 /* ScanCode.Quote */, 'Quote', 90 /* KeyCode.Quote */, '\'', 222, 'VK_OEM_7', '\'', 'OEM_7'],
|
||||
[86, 0, 59 /* ScanCode.Backquote */, 'Backquote', 86 /* KeyCode.Backquote */, '`', 192, 'VK_OEM_3', '`', 'OEM_3'],
|
||||
[82, 0, 60 /* ScanCode.Comma */, 'Comma', 82 /* KeyCode.Comma */, ',', 188, 'VK_OEM_COMMA', ',', 'OEM_COMMA'],
|
||||
[84, 0, 61 /* ScanCode.Period */, 'Period', 84 /* KeyCode.Period */, '.', 190, 'VK_OEM_PERIOD', '.', 'OEM_PERIOD'],
|
||||
[85, 0, 62 /* ScanCode.Slash */, 'Slash', 85 /* KeyCode.Slash */, '/', 191, 'VK_OEM_2', '/', 'OEM_2'],
|
||||
[8, 1, 63 /* ScanCode.CapsLock */, 'CapsLock', 8 /* KeyCode.CapsLock */, 'CapsLock', 20, 'VK_CAPITAL', empty, empty],
|
||||
[59, 1, 64 /* ScanCode.F1 */, 'F1', 59 /* KeyCode.F1 */, 'F1', 112, 'VK_F1', empty, empty],
|
||||
[60, 1, 65 /* ScanCode.F2 */, 'F2', 60 /* KeyCode.F2 */, 'F2', 113, 'VK_F2', empty, empty],
|
||||
[61, 1, 66 /* ScanCode.F3 */, 'F3', 61 /* KeyCode.F3 */, 'F3', 114, 'VK_F3', empty, empty],
|
||||
[62, 1, 67 /* ScanCode.F4 */, 'F4', 62 /* KeyCode.F4 */, 'F4', 115, 'VK_F4', empty, empty],
|
||||
[63, 1, 68 /* ScanCode.F5 */, 'F5', 63 /* KeyCode.F5 */, 'F5', 116, 'VK_F5', empty, empty],
|
||||
[64, 1, 69 /* ScanCode.F6 */, 'F6', 64 /* KeyCode.F6 */, 'F6', 117, 'VK_F6', empty, empty],
|
||||
[65, 1, 70 /* ScanCode.F7 */, 'F7', 65 /* KeyCode.F7 */, 'F7', 118, 'VK_F7', empty, empty],
|
||||
[66, 1, 71 /* ScanCode.F8 */, 'F8', 66 /* KeyCode.F8 */, 'F8', 119, 'VK_F8', empty, empty],
|
||||
[67, 1, 72 /* ScanCode.F9 */, 'F9', 67 /* KeyCode.F9 */, 'F9', 120, 'VK_F9', empty, empty],
|
||||
[68, 1, 73 /* ScanCode.F10 */, 'F10', 68 /* KeyCode.F10 */, 'F10', 121, 'VK_F10', empty, empty],
|
||||
[69, 1, 74 /* ScanCode.F11 */, 'F11', 69 /* KeyCode.F11 */, 'F11', 122, 'VK_F11', empty, empty],
|
||||
[70, 1, 75 /* ScanCode.F12 */, 'F12', 70 /* KeyCode.F12 */, 'F12', 123, 'VK_F12', empty, empty],
|
||||
[0, 1, 76 /* ScanCode.PrintScreen */, 'PrintScreen', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[79, 1, 77 /* ScanCode.ScrollLock */, 'ScrollLock', 79 /* KeyCode.ScrollLock */, 'ScrollLock', 145, 'VK_SCROLL', empty, empty],
|
||||
[7, 1, 78 /* ScanCode.Pause */, 'Pause', 7 /* KeyCode.PauseBreak */, 'PauseBreak', 19, 'VK_PAUSE', empty, empty],
|
||||
[19, 1, 79 /* ScanCode.Insert */, 'Insert', 19 /* KeyCode.Insert */, 'Insert', 45, 'VK_INSERT', empty, empty],
|
||||
[14, 1, 80 /* ScanCode.Home */, 'Home', 14 /* KeyCode.Home */, 'Home', 36, 'VK_HOME', empty, empty],
|
||||
[11, 1, 81 /* ScanCode.PageUp */, 'PageUp', 11 /* KeyCode.PageUp */, 'PageUp', 33, 'VK_PRIOR', empty, empty],
|
||||
[20, 1, 82 /* ScanCode.Delete */, 'Delete', 20 /* KeyCode.Delete */, 'Delete', 46, 'VK_DELETE', empty, empty],
|
||||
[13, 1, 83 /* ScanCode.End */, 'End', 13 /* KeyCode.End */, 'End', 35, 'VK_END', empty, empty],
|
||||
[12, 1, 84 /* ScanCode.PageDown */, 'PageDown', 12 /* KeyCode.PageDown */, 'PageDown', 34, 'VK_NEXT', empty, empty],
|
||||
[17, 1, 85 /* ScanCode.ArrowRight */, 'ArrowRight', 17 /* KeyCode.RightArrow */, 'RightArrow', 39, 'VK_RIGHT', 'Right', empty],
|
||||
[15, 1, 86 /* ScanCode.ArrowLeft */, 'ArrowLeft', 15 /* KeyCode.LeftArrow */, 'LeftArrow', 37, 'VK_LEFT', 'Left', empty],
|
||||
[18, 1, 87 /* ScanCode.ArrowDown */, 'ArrowDown', 18 /* KeyCode.DownArrow */, 'DownArrow', 40, 'VK_DOWN', 'Down', empty],
|
||||
[16, 1, 88 /* ScanCode.ArrowUp */, 'ArrowUp', 16 /* KeyCode.UpArrow */, 'UpArrow', 38, 'VK_UP', 'Up', empty],
|
||||
[78, 1, 89 /* ScanCode.NumLock */, 'NumLock', 78 /* KeyCode.NumLock */, 'NumLock', 144, 'VK_NUMLOCK', empty, empty],
|
||||
[108, 1, 90 /* ScanCode.NumpadDivide */, 'NumpadDivide', 108 /* KeyCode.NumpadDivide */, 'NumPad_Divide', 111, 'VK_DIVIDE', empty, empty],
|
||||
[103, 1, 91 /* ScanCode.NumpadMultiply */, 'NumpadMultiply', 103 /* KeyCode.NumpadMultiply */, 'NumPad_Multiply', 106, 'VK_MULTIPLY', empty, empty],
|
||||
[106, 1, 92 /* ScanCode.NumpadSubtract */, 'NumpadSubtract', 106 /* KeyCode.NumpadSubtract */, 'NumPad_Subtract', 109, 'VK_SUBTRACT', empty, empty],
|
||||
[104, 1, 93 /* ScanCode.NumpadAdd */, 'NumpadAdd', 104 /* KeyCode.NumpadAdd */, 'NumPad_Add', 107, 'VK_ADD', empty, empty],
|
||||
[3, 1, 94 /* ScanCode.NumpadEnter */, 'NumpadEnter', 3 /* KeyCode.Enter */, empty, 0, empty, empty, empty],
|
||||
[94, 1, 95 /* ScanCode.Numpad1 */, 'Numpad1', 94 /* KeyCode.Numpad1 */, 'NumPad1', 97, 'VK_NUMPAD1', empty, empty],
|
||||
[95, 1, 96 /* ScanCode.Numpad2 */, 'Numpad2', 95 /* KeyCode.Numpad2 */, 'NumPad2', 98, 'VK_NUMPAD2', empty, empty],
|
||||
[96, 1, 97 /* ScanCode.Numpad3 */, 'Numpad3', 96 /* KeyCode.Numpad3 */, 'NumPad3', 99, 'VK_NUMPAD3', empty, empty],
|
||||
[97, 1, 98 /* ScanCode.Numpad4 */, 'Numpad4', 97 /* KeyCode.Numpad4 */, 'NumPad4', 100, 'VK_NUMPAD4', empty, empty],
|
||||
[98, 1, 99 /* ScanCode.Numpad5 */, 'Numpad5', 98 /* KeyCode.Numpad5 */, 'NumPad5', 101, 'VK_NUMPAD5', empty, empty],
|
||||
[99, 1, 100 /* ScanCode.Numpad6 */, 'Numpad6', 99 /* KeyCode.Numpad6 */, 'NumPad6', 102, 'VK_NUMPAD6', empty, empty],
|
||||
[100, 1, 101 /* ScanCode.Numpad7 */, 'Numpad7', 100 /* KeyCode.Numpad7 */, 'NumPad7', 103, 'VK_NUMPAD7', empty, empty],
|
||||
[101, 1, 102 /* ScanCode.Numpad8 */, 'Numpad8', 101 /* KeyCode.Numpad8 */, 'NumPad8', 104, 'VK_NUMPAD8', empty, empty],
|
||||
[102, 1, 103 /* ScanCode.Numpad9 */, 'Numpad9', 102 /* KeyCode.Numpad9 */, 'NumPad9', 105, 'VK_NUMPAD9', empty, empty],
|
||||
[93, 1, 104 /* ScanCode.Numpad0 */, 'Numpad0', 93 /* KeyCode.Numpad0 */, 'NumPad0', 96, 'VK_NUMPAD0', empty, empty],
|
||||
[107, 1, 105 /* ScanCode.NumpadDecimal */, 'NumpadDecimal', 107 /* KeyCode.NumpadDecimal */, 'NumPad_Decimal', 110, 'VK_DECIMAL', empty, empty],
|
||||
[92, 0, 106 /* ScanCode.IntlBackslash */, 'IntlBackslash', 92 /* KeyCode.IntlBackslash */, 'OEM_102', 226, 'VK_OEM_102', empty, empty],
|
||||
[58, 1, 107 /* ScanCode.ContextMenu */, 'ContextMenu', 58 /* KeyCode.ContextMenu */, 'ContextMenu', 93, empty, empty, empty],
|
||||
[0, 1, 108 /* ScanCode.Power */, 'Power', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 109 /* ScanCode.NumpadEqual */, 'NumpadEqual', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[71, 1, 110 /* ScanCode.F13 */, 'F13', 71 /* KeyCode.F13 */, 'F13', 124, 'VK_F13', empty, empty],
|
||||
[72, 1, 111 /* ScanCode.F14 */, 'F14', 72 /* KeyCode.F14 */, 'F14', 125, 'VK_F14', empty, empty],
|
||||
[73, 1, 112 /* ScanCode.F15 */, 'F15', 73 /* KeyCode.F15 */, 'F15', 126, 'VK_F15', empty, empty],
|
||||
[74, 1, 113 /* ScanCode.F16 */, 'F16', 74 /* KeyCode.F16 */, 'F16', 127, 'VK_F16', empty, empty],
|
||||
[75, 1, 114 /* ScanCode.F17 */, 'F17', 75 /* KeyCode.F17 */, 'F17', 128, 'VK_F17', empty, empty],
|
||||
[76, 1, 115 /* ScanCode.F18 */, 'F18', 76 /* KeyCode.F18 */, 'F18', 129, 'VK_F18', empty, empty],
|
||||
[77, 1, 116 /* ScanCode.F19 */, 'F19', 77 /* KeyCode.F19 */, 'F19', 130, 'VK_F19', empty, empty],
|
||||
[0, 1, 117 /* ScanCode.F20 */, 'F20', 0 /* KeyCode.Unknown */, empty, 0, 'VK_F20', empty, empty],
|
||||
[0, 1, 118 /* ScanCode.F21 */, 'F21', 0 /* KeyCode.Unknown */, empty, 0, 'VK_F21', empty, empty],
|
||||
[0, 1, 119 /* ScanCode.F22 */, 'F22', 0 /* KeyCode.Unknown */, empty, 0, 'VK_F22', empty, empty],
|
||||
[0, 1, 120 /* ScanCode.F23 */, 'F23', 0 /* KeyCode.Unknown */, empty, 0, 'VK_F23', empty, empty],
|
||||
[0, 1, 121 /* ScanCode.F24 */, 'F24', 0 /* KeyCode.Unknown */, empty, 0, 'VK_F24', empty, empty],
|
||||
[0, 1, 122 /* ScanCode.Open */, 'Open', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 123 /* ScanCode.Help */, 'Help', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 124 /* ScanCode.Select */, 'Select', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 125 /* ScanCode.Again */, 'Again', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 126 /* ScanCode.Undo */, 'Undo', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 127 /* ScanCode.Cut */, 'Cut', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 128 /* ScanCode.Copy */, 'Copy', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 129 /* ScanCode.Paste */, 'Paste', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 130 /* ScanCode.Find */, 'Find', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 131 /* ScanCode.AudioVolumeMute */, 'AudioVolumeMute', 112 /* KeyCode.AudioVolumeMute */, 'AudioVolumeMute', 173, 'VK_VOLUME_MUTE', empty, empty],
|
||||
[0, 1, 132 /* ScanCode.AudioVolumeUp */, 'AudioVolumeUp', 113 /* KeyCode.AudioVolumeUp */, 'AudioVolumeUp', 175, 'VK_VOLUME_UP', empty, empty],
|
||||
[0, 1, 133 /* ScanCode.AudioVolumeDown */, 'AudioVolumeDown', 114 /* KeyCode.AudioVolumeDown */, 'AudioVolumeDown', 174, 'VK_VOLUME_DOWN', empty, empty],
|
||||
[105, 1, 134 /* ScanCode.NumpadComma */, 'NumpadComma', 105 /* KeyCode.NUMPAD_SEPARATOR */, 'NumPad_Separator', 108, 'VK_SEPARATOR', empty, empty],
|
||||
[110, 0, 135 /* ScanCode.IntlRo */, 'IntlRo', 110 /* KeyCode.ABNT_C1 */, 'ABNT_C1', 193, 'VK_ABNT_C1', empty, empty],
|
||||
[0, 1, 136 /* ScanCode.KanaMode */, 'KanaMode', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 0, 137 /* ScanCode.IntlYen */, 'IntlYen', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 138 /* ScanCode.Convert */, 'Convert', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 139 /* ScanCode.NonConvert */, 'NonConvert', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 140 /* ScanCode.Lang1 */, 'Lang1', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 141 /* ScanCode.Lang2 */, 'Lang2', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 142 /* ScanCode.Lang3 */, 'Lang3', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 143 /* ScanCode.Lang4 */, 'Lang4', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 144 /* ScanCode.Lang5 */, 'Lang5', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 145 /* ScanCode.Abort */, 'Abort', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 146 /* ScanCode.Props */, 'Props', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 147 /* ScanCode.NumpadParenLeft */, 'NumpadParenLeft', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 148 /* ScanCode.NumpadParenRight */, 'NumpadParenRight', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 149 /* ScanCode.NumpadBackspace */, 'NumpadBackspace', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 150 /* ScanCode.NumpadMemoryStore */, 'NumpadMemoryStore', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 151 /* ScanCode.NumpadMemoryRecall */, 'NumpadMemoryRecall', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 152 /* ScanCode.NumpadMemoryClear */, 'NumpadMemoryClear', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 153 /* ScanCode.NumpadMemoryAdd */, 'NumpadMemoryAdd', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 154 /* ScanCode.NumpadMemorySubtract */, 'NumpadMemorySubtract', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 155 /* ScanCode.NumpadClear */, 'NumpadClear', 126 /* KeyCode.Clear */, 'Clear', 12, 'VK_CLEAR', empty, empty],
|
||||
[0, 1, 156 /* ScanCode.NumpadClearEntry */, 'NumpadClearEntry', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[5, 1, 0 /* ScanCode.None */, empty, 5 /* KeyCode.Ctrl */, 'Ctrl', 17, 'VK_CONTROL', empty, empty],
|
||||
[4, 1, 0 /* ScanCode.None */, empty, 4 /* KeyCode.Shift */, 'Shift', 16, 'VK_SHIFT', empty, empty],
|
||||
[6, 1, 0 /* ScanCode.None */, empty, 6 /* KeyCode.Alt */, 'Alt', 18, 'VK_MENU', empty, empty],
|
||||
[57, 1, 0 /* ScanCode.None */, empty, 57 /* KeyCode.Meta */, 'Meta', 91, 'VK_COMMAND', empty, empty],
|
||||
[5, 1, 157 /* ScanCode.ControlLeft */, 'ControlLeft', 5 /* KeyCode.Ctrl */, empty, 0, 'VK_LCONTROL', empty, empty],
|
||||
[4, 1, 158 /* ScanCode.ShiftLeft */, 'ShiftLeft', 4 /* KeyCode.Shift */, empty, 0, 'VK_LSHIFT', empty, empty],
|
||||
[6, 1, 159 /* ScanCode.AltLeft */, 'AltLeft', 6 /* KeyCode.Alt */, empty, 0, 'VK_LMENU', empty, empty],
|
||||
[57, 1, 160 /* ScanCode.MetaLeft */, 'MetaLeft', 57 /* KeyCode.Meta */, empty, 0, 'VK_LWIN', empty, empty],
|
||||
[5, 1, 161 /* ScanCode.ControlRight */, 'ControlRight', 5 /* KeyCode.Ctrl */, empty, 0, 'VK_RCONTROL', empty, empty],
|
||||
[4, 1, 162 /* ScanCode.ShiftRight */, 'ShiftRight', 4 /* KeyCode.Shift */, empty, 0, 'VK_RSHIFT', empty, empty],
|
||||
[6, 1, 163 /* ScanCode.AltRight */, 'AltRight', 6 /* KeyCode.Alt */, empty, 0, 'VK_RMENU', empty, empty],
|
||||
[57, 1, 164 /* ScanCode.MetaRight */, 'MetaRight', 57 /* KeyCode.Meta */, empty, 0, 'VK_RWIN', empty, empty],
|
||||
[0, 1, 165 /* ScanCode.BrightnessUp */, 'BrightnessUp', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 166 /* ScanCode.BrightnessDown */, 'BrightnessDown', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 167 /* ScanCode.MediaPlay */, 'MediaPlay', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 168 /* ScanCode.MediaRecord */, 'MediaRecord', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 169 /* ScanCode.MediaFastForward */, 'MediaFastForward', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 170 /* ScanCode.MediaRewind */, 'MediaRewind', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[114, 1, 171 /* ScanCode.MediaTrackNext */, 'MediaTrackNext', 119 /* KeyCode.MediaTrackNext */, 'MediaTrackNext', 176, 'VK_MEDIA_NEXT_TRACK', empty, empty],
|
||||
[115, 1, 172 /* ScanCode.MediaTrackPrevious */, 'MediaTrackPrevious', 120 /* KeyCode.MediaTrackPrevious */, 'MediaTrackPrevious', 177, 'VK_MEDIA_PREV_TRACK', empty, empty],
|
||||
[116, 1, 173 /* ScanCode.MediaStop */, 'MediaStop', 121 /* KeyCode.MediaStop */, 'MediaStop', 178, 'VK_MEDIA_STOP', empty, empty],
|
||||
[0, 1, 174 /* ScanCode.Eject */, 'Eject', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[117, 1, 175 /* ScanCode.MediaPlayPause */, 'MediaPlayPause', 122 /* KeyCode.MediaPlayPause */, 'MediaPlayPause', 179, 'VK_MEDIA_PLAY_PAUSE', empty, empty],
|
||||
[0, 1, 176 /* ScanCode.MediaSelect */, 'MediaSelect', 123 /* KeyCode.LaunchMediaPlayer */, 'LaunchMediaPlayer', 181, 'VK_MEDIA_LAUNCH_MEDIA_SELECT', empty, empty],
|
||||
[0, 1, 177 /* ScanCode.LaunchMail */, 'LaunchMail', 124 /* KeyCode.LaunchMail */, 'LaunchMail', 180, 'VK_MEDIA_LAUNCH_MAIL', empty, empty],
|
||||
[0, 1, 178 /* ScanCode.LaunchApp2 */, 'LaunchApp2', 125 /* KeyCode.LaunchApp2 */, 'LaunchApp2', 183, 'VK_MEDIA_LAUNCH_APP2', empty, empty],
|
||||
[0, 1, 179 /* ScanCode.LaunchApp1 */, 'LaunchApp1', 0 /* KeyCode.Unknown */, empty, 0, 'VK_MEDIA_LAUNCH_APP1', empty, empty],
|
||||
[0, 1, 180 /* ScanCode.SelectTask */, 'SelectTask', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 181 /* ScanCode.LaunchScreenSaver */, 'LaunchScreenSaver', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 182 /* ScanCode.BrowserSearch */, 'BrowserSearch', 115 /* KeyCode.BrowserSearch */, 'BrowserSearch', 170, 'VK_BROWSER_SEARCH', empty, empty],
|
||||
[0, 1, 183 /* ScanCode.BrowserHome */, 'BrowserHome', 116 /* KeyCode.BrowserHome */, 'BrowserHome', 172, 'VK_BROWSER_HOME', empty, empty],
|
||||
[112, 1, 184 /* ScanCode.BrowserBack */, 'BrowserBack', 117 /* KeyCode.BrowserBack */, 'BrowserBack', 166, 'VK_BROWSER_BACK', empty, empty],
|
||||
[113, 1, 185 /* ScanCode.BrowserForward */, 'BrowserForward', 118 /* KeyCode.BrowserForward */, 'BrowserForward', 167, 'VK_BROWSER_FORWARD', empty, empty],
|
||||
[0, 1, 186 /* ScanCode.BrowserStop */, 'BrowserStop', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_STOP', empty, empty],
|
||||
[0, 1, 187 /* ScanCode.BrowserRefresh */, 'BrowserRefresh', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_REFRESH', empty, empty],
|
||||
[0, 1, 188 /* ScanCode.BrowserFavorites */, 'BrowserFavorites', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_FAVORITES', empty, empty],
|
||||
[0, 1, 189 /* ScanCode.ZoomToggle */, 'ZoomToggle', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 190 /* ScanCode.MailReply */, 'MailReply', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 191 /* ScanCode.MailForward */, 'MailForward', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 1, 192 /* ScanCode.MailSend */, 'MailSend', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
// immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel
|
||||
[1, 0 /* ScanCode.None */, 'None', 0 /* KeyCode.Unknown */, 'unknown', 0, 'VK_UNKNOWN', empty, empty],
|
||||
[1, 1 /* ScanCode.Hyper */, 'Hyper', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 2 /* ScanCode.Super */, 'Super', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 3 /* ScanCode.Fn */, 'Fn', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 4 /* ScanCode.FnLock */, 'FnLock', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 5 /* ScanCode.Suspend */, 'Suspend', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 6 /* ScanCode.Resume */, 'Resume', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 7 /* ScanCode.Turbo */, 'Turbo', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 8 /* ScanCode.Sleep */, 'Sleep', 0 /* KeyCode.Unknown */, empty, 0, 'VK_SLEEP', empty, empty],
|
||||
[1, 9 /* ScanCode.WakeUp */, 'WakeUp', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 10 /* ScanCode.KeyA */, 'KeyA', 31 /* KeyCode.KeyA */, 'A', 65, 'VK_A', empty, empty],
|
||||
[0, 11 /* ScanCode.KeyB */, 'KeyB', 32 /* KeyCode.KeyB */, 'B', 66, 'VK_B', empty, empty],
|
||||
[0, 12 /* ScanCode.KeyC */, 'KeyC', 33 /* KeyCode.KeyC */, 'C', 67, 'VK_C', empty, empty],
|
||||
[0, 13 /* ScanCode.KeyD */, 'KeyD', 34 /* KeyCode.KeyD */, 'D', 68, 'VK_D', empty, empty],
|
||||
[0, 14 /* ScanCode.KeyE */, 'KeyE', 35 /* KeyCode.KeyE */, 'E', 69, 'VK_E', empty, empty],
|
||||
[0, 15 /* ScanCode.KeyF */, 'KeyF', 36 /* KeyCode.KeyF */, 'F', 70, 'VK_F', empty, empty],
|
||||
[0, 16 /* ScanCode.KeyG */, 'KeyG', 37 /* KeyCode.KeyG */, 'G', 71, 'VK_G', empty, empty],
|
||||
[0, 17 /* ScanCode.KeyH */, 'KeyH', 38 /* KeyCode.KeyH */, 'H', 72, 'VK_H', empty, empty],
|
||||
[0, 18 /* ScanCode.KeyI */, 'KeyI', 39 /* KeyCode.KeyI */, 'I', 73, 'VK_I', empty, empty],
|
||||
[0, 19 /* ScanCode.KeyJ */, 'KeyJ', 40 /* KeyCode.KeyJ */, 'J', 74, 'VK_J', empty, empty],
|
||||
[0, 20 /* ScanCode.KeyK */, 'KeyK', 41 /* KeyCode.KeyK */, 'K', 75, 'VK_K', empty, empty],
|
||||
[0, 21 /* ScanCode.KeyL */, 'KeyL', 42 /* KeyCode.KeyL */, 'L', 76, 'VK_L', empty, empty],
|
||||
[0, 22 /* ScanCode.KeyM */, 'KeyM', 43 /* KeyCode.KeyM */, 'M', 77, 'VK_M', empty, empty],
|
||||
[0, 23 /* ScanCode.KeyN */, 'KeyN', 44 /* KeyCode.KeyN */, 'N', 78, 'VK_N', empty, empty],
|
||||
[0, 24 /* ScanCode.KeyO */, 'KeyO', 45 /* KeyCode.KeyO */, 'O', 79, 'VK_O', empty, empty],
|
||||
[0, 25 /* ScanCode.KeyP */, 'KeyP', 46 /* KeyCode.KeyP */, 'P', 80, 'VK_P', empty, empty],
|
||||
[0, 26 /* ScanCode.KeyQ */, 'KeyQ', 47 /* KeyCode.KeyQ */, 'Q', 81, 'VK_Q', empty, empty],
|
||||
[0, 27 /* ScanCode.KeyR */, 'KeyR', 48 /* KeyCode.KeyR */, 'R', 82, 'VK_R', empty, empty],
|
||||
[0, 28 /* ScanCode.KeyS */, 'KeyS', 49 /* KeyCode.KeyS */, 'S', 83, 'VK_S', empty, empty],
|
||||
[0, 29 /* ScanCode.KeyT */, 'KeyT', 50 /* KeyCode.KeyT */, 'T', 84, 'VK_T', empty, empty],
|
||||
[0, 30 /* ScanCode.KeyU */, 'KeyU', 51 /* KeyCode.KeyU */, 'U', 85, 'VK_U', empty, empty],
|
||||
[0, 31 /* ScanCode.KeyV */, 'KeyV', 52 /* KeyCode.KeyV */, 'V', 86, 'VK_V', empty, empty],
|
||||
[0, 32 /* ScanCode.KeyW */, 'KeyW', 53 /* KeyCode.KeyW */, 'W', 87, 'VK_W', empty, empty],
|
||||
[0, 33 /* ScanCode.KeyX */, 'KeyX', 54 /* KeyCode.KeyX */, 'X', 88, 'VK_X', empty, empty],
|
||||
[0, 34 /* ScanCode.KeyY */, 'KeyY', 55 /* KeyCode.KeyY */, 'Y', 89, 'VK_Y', empty, empty],
|
||||
[0, 35 /* ScanCode.KeyZ */, 'KeyZ', 56 /* KeyCode.KeyZ */, 'Z', 90, 'VK_Z', empty, empty],
|
||||
[0, 36 /* ScanCode.Digit1 */, 'Digit1', 22 /* KeyCode.Digit1 */, '1', 49, 'VK_1', empty, empty],
|
||||
[0, 37 /* ScanCode.Digit2 */, 'Digit2', 23 /* KeyCode.Digit2 */, '2', 50, 'VK_2', empty, empty],
|
||||
[0, 38 /* ScanCode.Digit3 */, 'Digit3', 24 /* KeyCode.Digit3 */, '3', 51, 'VK_3', empty, empty],
|
||||
[0, 39 /* ScanCode.Digit4 */, 'Digit4', 25 /* KeyCode.Digit4 */, '4', 52, 'VK_4', empty, empty],
|
||||
[0, 40 /* ScanCode.Digit5 */, 'Digit5', 26 /* KeyCode.Digit5 */, '5', 53, 'VK_5', empty, empty],
|
||||
[0, 41 /* ScanCode.Digit6 */, 'Digit6', 27 /* KeyCode.Digit6 */, '6', 54, 'VK_6', empty, empty],
|
||||
[0, 42 /* ScanCode.Digit7 */, 'Digit7', 28 /* KeyCode.Digit7 */, '7', 55, 'VK_7', empty, empty],
|
||||
[0, 43 /* ScanCode.Digit8 */, 'Digit8', 29 /* KeyCode.Digit8 */, '8', 56, 'VK_8', empty, empty],
|
||||
[0, 44 /* ScanCode.Digit9 */, 'Digit9', 30 /* KeyCode.Digit9 */, '9', 57, 'VK_9', empty, empty],
|
||||
[0, 45 /* ScanCode.Digit0 */, 'Digit0', 21 /* KeyCode.Digit0 */, '0', 48, 'VK_0', empty, empty],
|
||||
[1, 46 /* ScanCode.Enter */, 'Enter', 3 /* KeyCode.Enter */, 'Enter', 13, 'VK_RETURN', empty, empty],
|
||||
[1, 47 /* ScanCode.Escape */, 'Escape', 9 /* KeyCode.Escape */, 'Escape', 27, 'VK_ESCAPE', empty, empty],
|
||||
[1, 48 /* ScanCode.Backspace */, 'Backspace', 1 /* KeyCode.Backspace */, 'Backspace', 8, 'VK_BACK', empty, empty],
|
||||
[1, 49 /* ScanCode.Tab */, 'Tab', 2 /* KeyCode.Tab */, 'Tab', 9, 'VK_TAB', empty, empty],
|
||||
[1, 50 /* ScanCode.Space */, 'Space', 10 /* KeyCode.Space */, 'Space', 32, 'VK_SPACE', empty, empty],
|
||||
[0, 51 /* ScanCode.Minus */, 'Minus', 88 /* KeyCode.Minus */, '-', 189, 'VK_OEM_MINUS', '-', 'OEM_MINUS'],
|
||||
[0, 52 /* ScanCode.Equal */, 'Equal', 86 /* KeyCode.Equal */, '=', 187, 'VK_OEM_PLUS', '=', 'OEM_PLUS'],
|
||||
[0, 53 /* ScanCode.BracketLeft */, 'BracketLeft', 92 /* KeyCode.BracketLeft */, '[', 219, 'VK_OEM_4', '[', 'OEM_4'],
|
||||
[0, 54 /* ScanCode.BracketRight */, 'BracketRight', 94 /* KeyCode.BracketRight */, ']', 221, 'VK_OEM_6', ']', 'OEM_6'],
|
||||
[0, 55 /* ScanCode.Backslash */, 'Backslash', 93 /* KeyCode.Backslash */, '\\', 220, 'VK_OEM_5', '\\', 'OEM_5'],
|
||||
[0, 56 /* ScanCode.IntlHash */, 'IntlHash', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 57 /* ScanCode.Semicolon */, 'Semicolon', 85 /* KeyCode.Semicolon */, ';', 186, 'VK_OEM_1', ';', 'OEM_1'],
|
||||
[0, 58 /* ScanCode.Quote */, 'Quote', 95 /* KeyCode.Quote */, '\'', 222, 'VK_OEM_7', '\'', 'OEM_7'],
|
||||
[0, 59 /* ScanCode.Backquote */, 'Backquote', 91 /* KeyCode.Backquote */, '`', 192, 'VK_OEM_3', '`', 'OEM_3'],
|
||||
[0, 60 /* ScanCode.Comma */, 'Comma', 87 /* KeyCode.Comma */, ',', 188, 'VK_OEM_COMMA', ',', 'OEM_COMMA'],
|
||||
[0, 61 /* ScanCode.Period */, 'Period', 89 /* KeyCode.Period */, '.', 190, 'VK_OEM_PERIOD', '.', 'OEM_PERIOD'],
|
||||
[0, 62 /* ScanCode.Slash */, 'Slash', 90 /* KeyCode.Slash */, '/', 191, 'VK_OEM_2', '/', 'OEM_2'],
|
||||
[1, 63 /* ScanCode.CapsLock */, 'CapsLock', 8 /* KeyCode.CapsLock */, 'CapsLock', 20, 'VK_CAPITAL', empty, empty],
|
||||
[1, 64 /* ScanCode.F1 */, 'F1', 59 /* KeyCode.F1 */, 'F1', 112, 'VK_F1', empty, empty],
|
||||
[1, 65 /* ScanCode.F2 */, 'F2', 60 /* KeyCode.F2 */, 'F2', 113, 'VK_F2', empty, empty],
|
||||
[1, 66 /* ScanCode.F3 */, 'F3', 61 /* KeyCode.F3 */, 'F3', 114, 'VK_F3', empty, empty],
|
||||
[1, 67 /* ScanCode.F4 */, 'F4', 62 /* KeyCode.F4 */, 'F4', 115, 'VK_F4', empty, empty],
|
||||
[1, 68 /* ScanCode.F5 */, 'F5', 63 /* KeyCode.F5 */, 'F5', 116, 'VK_F5', empty, empty],
|
||||
[1, 69 /* ScanCode.F6 */, 'F6', 64 /* KeyCode.F6 */, 'F6', 117, 'VK_F6', empty, empty],
|
||||
[1, 70 /* ScanCode.F7 */, 'F7', 65 /* KeyCode.F7 */, 'F7', 118, 'VK_F7', empty, empty],
|
||||
[1, 71 /* ScanCode.F8 */, 'F8', 66 /* KeyCode.F8 */, 'F8', 119, 'VK_F8', empty, empty],
|
||||
[1, 72 /* ScanCode.F9 */, 'F9', 67 /* KeyCode.F9 */, 'F9', 120, 'VK_F9', empty, empty],
|
||||
[1, 73 /* ScanCode.F10 */, 'F10', 68 /* KeyCode.F10 */, 'F10', 121, 'VK_F10', empty, empty],
|
||||
[1, 74 /* ScanCode.F11 */, 'F11', 69 /* KeyCode.F11 */, 'F11', 122, 'VK_F11', empty, empty],
|
||||
[1, 75 /* ScanCode.F12 */, 'F12', 70 /* KeyCode.F12 */, 'F12', 123, 'VK_F12', empty, empty],
|
||||
[1, 76 /* ScanCode.PrintScreen */, 'PrintScreen', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 77 /* ScanCode.ScrollLock */, 'ScrollLock', 84 /* KeyCode.ScrollLock */, 'ScrollLock', 145, 'VK_SCROLL', empty, empty],
|
||||
[1, 78 /* ScanCode.Pause */, 'Pause', 7 /* KeyCode.PauseBreak */, 'PauseBreak', 19, 'VK_PAUSE', empty, empty],
|
||||
[1, 79 /* ScanCode.Insert */, 'Insert', 19 /* KeyCode.Insert */, 'Insert', 45, 'VK_INSERT', empty, empty],
|
||||
[1, 80 /* ScanCode.Home */, 'Home', 14 /* KeyCode.Home */, 'Home', 36, 'VK_HOME', empty, empty],
|
||||
[1, 81 /* ScanCode.PageUp */, 'PageUp', 11 /* KeyCode.PageUp */, 'PageUp', 33, 'VK_PRIOR', empty, empty],
|
||||
[1, 82 /* ScanCode.Delete */, 'Delete', 20 /* KeyCode.Delete */, 'Delete', 46, 'VK_DELETE', empty, empty],
|
||||
[1, 83 /* ScanCode.End */, 'End', 13 /* KeyCode.End */, 'End', 35, 'VK_END', empty, empty],
|
||||
[1, 84 /* ScanCode.PageDown */, 'PageDown', 12 /* KeyCode.PageDown */, 'PageDown', 34, 'VK_NEXT', empty, empty],
|
||||
[1, 85 /* ScanCode.ArrowRight */, 'ArrowRight', 17 /* KeyCode.RightArrow */, 'RightArrow', 39, 'VK_RIGHT', 'Right', empty],
|
||||
[1, 86 /* ScanCode.ArrowLeft */, 'ArrowLeft', 15 /* KeyCode.LeftArrow */, 'LeftArrow', 37, 'VK_LEFT', 'Left', empty],
|
||||
[1, 87 /* ScanCode.ArrowDown */, 'ArrowDown', 18 /* KeyCode.DownArrow */, 'DownArrow', 40, 'VK_DOWN', 'Down', empty],
|
||||
[1, 88 /* ScanCode.ArrowUp */, 'ArrowUp', 16 /* KeyCode.UpArrow */, 'UpArrow', 38, 'VK_UP', 'Up', empty],
|
||||
[1, 89 /* ScanCode.NumLock */, 'NumLock', 83 /* KeyCode.NumLock */, 'NumLock', 144, 'VK_NUMLOCK', empty, empty],
|
||||
[1, 90 /* ScanCode.NumpadDivide */, 'NumpadDivide', 113 /* KeyCode.NumpadDivide */, 'NumPad_Divide', 111, 'VK_DIVIDE', empty, empty],
|
||||
[1, 91 /* ScanCode.NumpadMultiply */, 'NumpadMultiply', 108 /* KeyCode.NumpadMultiply */, 'NumPad_Multiply', 106, 'VK_MULTIPLY', empty, empty],
|
||||
[1, 92 /* ScanCode.NumpadSubtract */, 'NumpadSubtract', 111 /* KeyCode.NumpadSubtract */, 'NumPad_Subtract', 109, 'VK_SUBTRACT', empty, empty],
|
||||
[1, 93 /* ScanCode.NumpadAdd */, 'NumpadAdd', 109 /* KeyCode.NumpadAdd */, 'NumPad_Add', 107, 'VK_ADD', empty, empty],
|
||||
[1, 94 /* ScanCode.NumpadEnter */, 'NumpadEnter', 3 /* KeyCode.Enter */, empty, 0, empty, empty, empty],
|
||||
[1, 95 /* ScanCode.Numpad1 */, 'Numpad1', 99 /* KeyCode.Numpad1 */, 'NumPad1', 97, 'VK_NUMPAD1', empty, empty],
|
||||
[1, 96 /* ScanCode.Numpad2 */, 'Numpad2', 100 /* KeyCode.Numpad2 */, 'NumPad2', 98, 'VK_NUMPAD2', empty, empty],
|
||||
[1, 97 /* ScanCode.Numpad3 */, 'Numpad3', 101 /* KeyCode.Numpad3 */, 'NumPad3', 99, 'VK_NUMPAD3', empty, empty],
|
||||
[1, 98 /* ScanCode.Numpad4 */, 'Numpad4', 102 /* KeyCode.Numpad4 */, 'NumPad4', 100, 'VK_NUMPAD4', empty, empty],
|
||||
[1, 99 /* ScanCode.Numpad5 */, 'Numpad5', 103 /* KeyCode.Numpad5 */, 'NumPad5', 101, 'VK_NUMPAD5', empty, empty],
|
||||
[1, 100 /* ScanCode.Numpad6 */, 'Numpad6', 104 /* KeyCode.Numpad6 */, 'NumPad6', 102, 'VK_NUMPAD6', empty, empty],
|
||||
[1, 101 /* ScanCode.Numpad7 */, 'Numpad7', 105 /* KeyCode.Numpad7 */, 'NumPad7', 103, 'VK_NUMPAD7', empty, empty],
|
||||
[1, 102 /* ScanCode.Numpad8 */, 'Numpad8', 106 /* KeyCode.Numpad8 */, 'NumPad8', 104, 'VK_NUMPAD8', empty, empty],
|
||||
[1, 103 /* ScanCode.Numpad9 */, 'Numpad9', 107 /* KeyCode.Numpad9 */, 'NumPad9', 105, 'VK_NUMPAD9', empty, empty],
|
||||
[1, 104 /* ScanCode.Numpad0 */, 'Numpad0', 98 /* KeyCode.Numpad0 */, 'NumPad0', 96, 'VK_NUMPAD0', empty, empty],
|
||||
[1, 105 /* ScanCode.NumpadDecimal */, 'NumpadDecimal', 112 /* KeyCode.NumpadDecimal */, 'NumPad_Decimal', 110, 'VK_DECIMAL', empty, empty],
|
||||
[0, 106 /* ScanCode.IntlBackslash */, 'IntlBackslash', 97 /* KeyCode.IntlBackslash */, 'OEM_102', 226, 'VK_OEM_102', empty, empty],
|
||||
[1, 107 /* ScanCode.ContextMenu */, 'ContextMenu', 58 /* KeyCode.ContextMenu */, 'ContextMenu', 93, empty, empty, empty],
|
||||
[1, 108 /* ScanCode.Power */, 'Power', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 109 /* ScanCode.NumpadEqual */, 'NumpadEqual', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 110 /* ScanCode.F13 */, 'F13', 71 /* KeyCode.F13 */, 'F13', 124, 'VK_F13', empty, empty],
|
||||
[1, 111 /* ScanCode.F14 */, 'F14', 72 /* KeyCode.F14 */, 'F14', 125, 'VK_F14', empty, empty],
|
||||
[1, 112 /* ScanCode.F15 */, 'F15', 73 /* KeyCode.F15 */, 'F15', 126, 'VK_F15', empty, empty],
|
||||
[1, 113 /* ScanCode.F16 */, 'F16', 74 /* KeyCode.F16 */, 'F16', 127, 'VK_F16', empty, empty],
|
||||
[1, 114 /* ScanCode.F17 */, 'F17', 75 /* KeyCode.F17 */, 'F17', 128, 'VK_F17', empty, empty],
|
||||
[1, 115 /* ScanCode.F18 */, 'F18', 76 /* KeyCode.F18 */, 'F18', 129, 'VK_F18', empty, empty],
|
||||
[1, 116 /* ScanCode.F19 */, 'F19', 77 /* KeyCode.F19 */, 'F19', 130, 'VK_F19', empty, empty],
|
||||
[1, 117 /* ScanCode.F20 */, 'F20', 78 /* KeyCode.F20 */, 'F20', 131, 'VK_F20', empty, empty],
|
||||
[1, 118 /* ScanCode.F21 */, 'F21', 79 /* KeyCode.F21 */, 'F21', 132, 'VK_F21', empty, empty],
|
||||
[1, 119 /* ScanCode.F22 */, 'F22', 80 /* KeyCode.F22 */, 'F22', 133, 'VK_F22', empty, empty],
|
||||
[1, 120 /* ScanCode.F23 */, 'F23', 81 /* KeyCode.F23 */, 'F23', 134, 'VK_F23', empty, empty],
|
||||
[1, 121 /* ScanCode.F24 */, 'F24', 82 /* KeyCode.F24 */, 'F24', 135, 'VK_F24', empty, empty],
|
||||
[1, 122 /* ScanCode.Open */, 'Open', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 123 /* ScanCode.Help */, 'Help', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 124 /* ScanCode.Select */, 'Select', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 125 /* ScanCode.Again */, 'Again', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 126 /* ScanCode.Undo */, 'Undo', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 127 /* ScanCode.Cut */, 'Cut', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 128 /* ScanCode.Copy */, 'Copy', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 129 /* ScanCode.Paste */, 'Paste', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 130 /* ScanCode.Find */, 'Find', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 131 /* ScanCode.AudioVolumeMute */, 'AudioVolumeMute', 117 /* KeyCode.AudioVolumeMute */, 'AudioVolumeMute', 173, 'VK_VOLUME_MUTE', empty, empty],
|
||||
[1, 132 /* ScanCode.AudioVolumeUp */, 'AudioVolumeUp', 118 /* KeyCode.AudioVolumeUp */, 'AudioVolumeUp', 175, 'VK_VOLUME_UP', empty, empty],
|
||||
[1, 133 /* ScanCode.AudioVolumeDown */, 'AudioVolumeDown', 119 /* KeyCode.AudioVolumeDown */, 'AudioVolumeDown', 174, 'VK_VOLUME_DOWN', empty, empty],
|
||||
[1, 134 /* ScanCode.NumpadComma */, 'NumpadComma', 110 /* KeyCode.NUMPAD_SEPARATOR */, 'NumPad_Separator', 108, 'VK_SEPARATOR', empty, empty],
|
||||
[0, 135 /* ScanCode.IntlRo */, 'IntlRo', 115 /* KeyCode.ABNT_C1 */, 'ABNT_C1', 193, 'VK_ABNT_C1', empty, empty],
|
||||
[1, 136 /* ScanCode.KanaMode */, 'KanaMode', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[0, 137 /* ScanCode.IntlYen */, 'IntlYen', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 138 /* ScanCode.Convert */, 'Convert', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 139 /* ScanCode.NonConvert */, 'NonConvert', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 140 /* ScanCode.Lang1 */, 'Lang1', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 141 /* ScanCode.Lang2 */, 'Lang2', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 142 /* ScanCode.Lang3 */, 'Lang3', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 143 /* ScanCode.Lang4 */, 'Lang4', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 144 /* ScanCode.Lang5 */, 'Lang5', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 145 /* ScanCode.Abort */, 'Abort', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 146 /* ScanCode.Props */, 'Props', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 147 /* ScanCode.NumpadParenLeft */, 'NumpadParenLeft', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 148 /* ScanCode.NumpadParenRight */, 'NumpadParenRight', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 149 /* ScanCode.NumpadBackspace */, 'NumpadBackspace', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 150 /* ScanCode.NumpadMemoryStore */, 'NumpadMemoryStore', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 151 /* ScanCode.NumpadMemoryRecall */, 'NumpadMemoryRecall', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 152 /* ScanCode.NumpadMemoryClear */, 'NumpadMemoryClear', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 153 /* ScanCode.NumpadMemoryAdd */, 'NumpadMemoryAdd', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 154 /* ScanCode.NumpadMemorySubtract */, 'NumpadMemorySubtract', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 155 /* ScanCode.NumpadClear */, 'NumpadClear', 131 /* KeyCode.Clear */, 'Clear', 12, 'VK_CLEAR', empty, empty],
|
||||
[1, 156 /* ScanCode.NumpadClearEntry */, 'NumpadClearEntry', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 5 /* KeyCode.Ctrl */, 'Ctrl', 17, 'VK_CONTROL', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 4 /* KeyCode.Shift */, 'Shift', 16, 'VK_SHIFT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 6 /* KeyCode.Alt */, 'Alt', 18, 'VK_MENU', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 57 /* KeyCode.Meta */, 'Meta', 91, 'VK_COMMAND', empty, empty],
|
||||
[1, 157 /* ScanCode.ControlLeft */, 'ControlLeft', 5 /* KeyCode.Ctrl */, empty, 0, 'VK_LCONTROL', empty, empty],
|
||||
[1, 158 /* ScanCode.ShiftLeft */, 'ShiftLeft', 4 /* KeyCode.Shift */, empty, 0, 'VK_LSHIFT', empty, empty],
|
||||
[1, 159 /* ScanCode.AltLeft */, 'AltLeft', 6 /* KeyCode.Alt */, empty, 0, 'VK_LMENU', empty, empty],
|
||||
[1, 160 /* ScanCode.MetaLeft */, 'MetaLeft', 57 /* KeyCode.Meta */, empty, 0, 'VK_LWIN', empty, empty],
|
||||
[1, 161 /* ScanCode.ControlRight */, 'ControlRight', 5 /* KeyCode.Ctrl */, empty, 0, 'VK_RCONTROL', empty, empty],
|
||||
[1, 162 /* ScanCode.ShiftRight */, 'ShiftRight', 4 /* KeyCode.Shift */, empty, 0, 'VK_RSHIFT', empty, empty],
|
||||
[1, 163 /* ScanCode.AltRight */, 'AltRight', 6 /* KeyCode.Alt */, empty, 0, 'VK_RMENU', empty, empty],
|
||||
[1, 164 /* ScanCode.MetaRight */, 'MetaRight', 57 /* KeyCode.Meta */, empty, 0, 'VK_RWIN', empty, empty],
|
||||
[1, 165 /* ScanCode.BrightnessUp */, 'BrightnessUp', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 166 /* ScanCode.BrightnessDown */, 'BrightnessDown', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 167 /* ScanCode.MediaPlay */, 'MediaPlay', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 168 /* ScanCode.MediaRecord */, 'MediaRecord', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 169 /* ScanCode.MediaFastForward */, 'MediaFastForward', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 170 /* ScanCode.MediaRewind */, 'MediaRewind', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 171 /* ScanCode.MediaTrackNext */, 'MediaTrackNext', 124 /* KeyCode.MediaTrackNext */, 'MediaTrackNext', 176, 'VK_MEDIA_NEXT_TRACK', empty, empty],
|
||||
[1, 172 /* ScanCode.MediaTrackPrevious */, 'MediaTrackPrevious', 125 /* KeyCode.MediaTrackPrevious */, 'MediaTrackPrevious', 177, 'VK_MEDIA_PREV_TRACK', empty, empty],
|
||||
[1, 173 /* ScanCode.MediaStop */, 'MediaStop', 126 /* KeyCode.MediaStop */, 'MediaStop', 178, 'VK_MEDIA_STOP', empty, empty],
|
||||
[1, 174 /* ScanCode.Eject */, 'Eject', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 175 /* ScanCode.MediaPlayPause */, 'MediaPlayPause', 127 /* KeyCode.MediaPlayPause */, 'MediaPlayPause', 179, 'VK_MEDIA_PLAY_PAUSE', empty, empty],
|
||||
[1, 176 /* ScanCode.MediaSelect */, 'MediaSelect', 128 /* KeyCode.LaunchMediaPlayer */, 'LaunchMediaPlayer', 181, 'VK_MEDIA_LAUNCH_MEDIA_SELECT', empty, empty],
|
||||
[1, 177 /* ScanCode.LaunchMail */, 'LaunchMail', 129 /* KeyCode.LaunchMail */, 'LaunchMail', 180, 'VK_MEDIA_LAUNCH_MAIL', empty, empty],
|
||||
[1, 178 /* ScanCode.LaunchApp2 */, 'LaunchApp2', 130 /* KeyCode.LaunchApp2 */, 'LaunchApp2', 183, 'VK_MEDIA_LAUNCH_APP2', empty, empty],
|
||||
[1, 179 /* ScanCode.LaunchApp1 */, 'LaunchApp1', 0 /* KeyCode.Unknown */, empty, 0, 'VK_MEDIA_LAUNCH_APP1', empty, empty],
|
||||
[1, 180 /* ScanCode.SelectTask */, 'SelectTask', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 181 /* ScanCode.LaunchScreenSaver */, 'LaunchScreenSaver', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 182 /* ScanCode.BrowserSearch */, 'BrowserSearch', 120 /* KeyCode.BrowserSearch */, 'BrowserSearch', 170, 'VK_BROWSER_SEARCH', empty, empty],
|
||||
[1, 183 /* ScanCode.BrowserHome */, 'BrowserHome', 121 /* KeyCode.BrowserHome */, 'BrowserHome', 172, 'VK_BROWSER_HOME', empty, empty],
|
||||
[1, 184 /* ScanCode.BrowserBack */, 'BrowserBack', 122 /* KeyCode.BrowserBack */, 'BrowserBack', 166, 'VK_BROWSER_BACK', empty, empty],
|
||||
[1, 185 /* ScanCode.BrowserForward */, 'BrowserForward', 123 /* KeyCode.BrowserForward */, 'BrowserForward', 167, 'VK_BROWSER_FORWARD', empty, empty],
|
||||
[1, 186 /* ScanCode.BrowserStop */, 'BrowserStop', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_STOP', empty, empty],
|
||||
[1, 187 /* ScanCode.BrowserRefresh */, 'BrowserRefresh', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_REFRESH', empty, empty],
|
||||
[1, 188 /* ScanCode.BrowserFavorites */, 'BrowserFavorites', 0 /* KeyCode.Unknown */, empty, 0, 'VK_BROWSER_FAVORITES', empty, empty],
|
||||
[1, 189 /* ScanCode.ZoomToggle */, 'ZoomToggle', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 190 /* ScanCode.MailReply */, 'MailReply', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 191 /* ScanCode.MailForward */, 'MailForward', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
[1, 192 /* ScanCode.MailSend */, 'MailSend', 0 /* KeyCode.Unknown */, empty, 0, empty, empty, empty],
|
||||
// See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html
|
||||
// If an Input Method Editor is processing key input and the event is keydown, return 229.
|
||||
[109, 1, 0 /* ScanCode.None */, empty, 109 /* KeyCode.KEY_IN_COMPOSITION */, 'KeyInComposition', 229, empty, empty, empty],
|
||||
[111, 1, 0 /* ScanCode.None */, empty, 111 /* KeyCode.ABNT_C2 */, 'ABNT_C2', 194, 'VK_ABNT_C2', empty, empty],
|
||||
[91, 1, 0 /* ScanCode.None */, empty, 91 /* KeyCode.OEM_8 */, 'OEM_8', 223, 'VK_OEM_8', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_KANA', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HANGUL', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_JUNJA', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_FINAL', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HANJA', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_KANJI', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_CONVERT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_NONCONVERT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ACCEPT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_MODECHANGE', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_SELECT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PRINT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EXECUTE', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_SNAPSHOT', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HELP', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_APPS', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PROCESSKEY', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PACKET', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_DBE_SBCSCHAR', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_DBE_DBCSCHAR', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ATTN', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_CRSEL', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EXSEL', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EREOF', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PLAY', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ZOOM', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_NONAME', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PA1', empty, empty],
|
||||
[0, 1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_OEM_CLEAR', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 114 /* KeyCode.KEY_IN_COMPOSITION */, 'KeyInComposition', 229, empty, empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 116 /* KeyCode.ABNT_C2 */, 'ABNT_C2', 194, 'VK_ABNT_C2', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 96 /* KeyCode.OEM_8 */, 'OEM_8', 223, 'VK_OEM_8', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_KANA', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HANGUL', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_JUNJA', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_FINAL', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HANJA', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_KANJI', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_CONVERT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_NONCONVERT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ACCEPT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_MODECHANGE', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_SELECT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PRINT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EXECUTE', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_SNAPSHOT', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_HELP', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_APPS', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PROCESSKEY', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PACKET', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_DBE_SBCSCHAR', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_DBE_DBCSCHAR', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ATTN', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_CRSEL', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EXSEL', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_EREOF', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PLAY', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_ZOOM', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_NONAME', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_PA1', empty, empty],
|
||||
[1, 0 /* ScanCode.None */, empty, 0 /* KeyCode.Unknown */, empty, 0, 'VK_OEM_CLEAR', empty, empty],
|
||||
];
|
||||
const seenKeyCode = [];
|
||||
const seenScanCode = [];
|
||||
for (const mapping of mappings) {
|
||||
const [_keyCodeOrd, immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;
|
||||
const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping;
|
||||
if (!seenScanCode[scanCode]) {
|
||||
seenScanCode[scanCode] = true;
|
||||
scanCodeIntToStr[scanCode] = scanCodeStr;
|
||||
|
|
@ -341,7 +341,7 @@ export var KeyCodeUtils;
|
|||
}
|
||||
KeyCodeUtils.fromUserSettings = fromUserSettings;
|
||||
function toElectronAccelerator(keyCode) {
|
||||
if (keyCode >= 93 /* KeyCode.Numpad0 */ && keyCode <= 108 /* KeyCode.NumpadDivide */) {
|
||||
if (keyCode >= 98 /* KeyCode.Numpad0 */ && keyCode <= 113 /* KeyCode.NumpadDivide */) {
|
||||
// [Electron Accelerators] Electron is able to parse numpad keys, but unfortunately it
|
||||
// renders them just as regular keys in menus. For example, num0 is rendered as "0",
|
||||
// numdiv is rendered as "/", numsub is rendered as "-".
|
||||
|
|
|
|||
26
node_modules/monaco-editor-core/esm/vs/base/common/lifecycle.js
generated
vendored
26
node_modules/monaco-editor-core/esm/vs/base/common/lifecycle.js
generated
vendored
|
|
@ -135,7 +135,7 @@ export function toDisposable(fn) {
|
|||
* `IDisposable[]` as it considers edge cases, such as registering the same value multiple times or adding an item to a
|
||||
* store that has already been disposed of.
|
||||
*/
|
||||
class DisposableStore {
|
||||
export class DisposableStore {
|
||||
constructor() {
|
||||
this._toDispose = new Set();
|
||||
this._isDisposed = false;
|
||||
|
|
@ -197,13 +197,12 @@ class DisposableStore {
|
|||
}
|
||||
}
|
||||
DisposableStore.DISABLE_DISPOSED_WARNING = false;
|
||||
export { DisposableStore };
|
||||
/**
|
||||
* Abstract base class for a {@link IDisposable disposable} object.
|
||||
*
|
||||
* Subclasses can {@linkcode _register} disposables that will be automatically cleaned up when this object is disposed of.
|
||||
*/
|
||||
class Disposable {
|
||||
export class Disposable {
|
||||
constructor() {
|
||||
this._store = new DisposableStore();
|
||||
trackDisposable(this);
|
||||
|
|
@ -229,7 +228,6 @@ class Disposable {
|
|||
* TODO: This should not be a static property.
|
||||
*/
|
||||
Disposable.None = Object.freeze({ dispose() { } });
|
||||
export { Disposable };
|
||||
/**
|
||||
* Manages the lifecycle of a disposable value that may be changed.
|
||||
*
|
||||
|
|
@ -268,18 +266,6 @@ export class MutableDisposable {
|
|||
(_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();
|
||||
this._value = undefined;
|
||||
}
|
||||
/**
|
||||
* Clears the value, but does not dispose it.
|
||||
* The old value is returned.
|
||||
*/
|
||||
clearAndLeak() {
|
||||
const oldValue = this._value;
|
||||
this._value = undefined;
|
||||
if (oldValue) {
|
||||
setParentOfDisposable(oldValue, null);
|
||||
}
|
||||
return oldValue;
|
||||
}
|
||||
}
|
||||
export class RefCountedDisposable {
|
||||
constructor(_disposable) {
|
||||
|
|
@ -374,6 +360,14 @@ export class DisposableMap {
|
|||
}
|
||||
this._store.set(key, value);
|
||||
}
|
||||
/**
|
||||
* Delete the value stored for `key` from this map and also dispose of it.
|
||||
*/
|
||||
deleteAndDispose(key) {
|
||||
var _a;
|
||||
(_a = this._store.get(key)) === null || _a === void 0 ? void 0 : _a.dispose();
|
||||
this._store.delete(key);
|
||||
}
|
||||
[Symbol.iterator]() {
|
||||
return this._store[Symbol.iterator]();
|
||||
}
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/map.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/map.js
generated
vendored
|
|
@ -9,7 +9,7 @@ class ResourceMapEntry {
|
|||
this.value = value;
|
||||
}
|
||||
}
|
||||
class ResourceMap {
|
||||
export class ResourceMap {
|
||||
constructor(mapOrKeyFn, toKey) {
|
||||
this[_a] = 'ResourceMap';
|
||||
if (mapOrKeyFn instanceof ResourceMap) {
|
||||
|
|
@ -71,7 +71,6 @@ class ResourceMap {
|
|||
}
|
||||
}
|
||||
ResourceMap.defaultToKey = (resource) => resource.toString();
|
||||
export { ResourceMap };
|
||||
export class LinkedMap {
|
||||
constructor() {
|
||||
this[_b] = 'LinkedMap';
|
||||
|
|
|
|||
15
node_modules/monaco-editor-core/esm/vs/base/common/marshalling.js
generated
vendored
15
node_modules/monaco-editor-core/esm/vs/base/common/marshalling.js
generated
vendored
|
|
@ -3,12 +3,27 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { VSBuffer } from './buffer.js';
|
||||
import { regExpFlags } from './strings.js';
|
||||
import { URI } from './uri.js';
|
||||
export function stringify(obj) {
|
||||
return JSON.stringify(obj, replacer);
|
||||
}
|
||||
export function parse(text) {
|
||||
let data = JSON.parse(text);
|
||||
data = revive(data);
|
||||
return data;
|
||||
}
|
||||
function replacer(key, value) {
|
||||
// URI is done via toJSON-member
|
||||
if (value instanceof RegExp) {
|
||||
return {
|
||||
$mid: 2 /* MarshalledId.Regexp */,
|
||||
source: value.source,
|
||||
flags: regExpFlags(value),
|
||||
};
|
||||
}
|
||||
return value;
|
||||
}
|
||||
export function revive(obj, depth = 0) {
|
||||
if (!obj || depth > 200) {
|
||||
return obj;
|
||||
|
|
|
|||
1
node_modules/monaco-editor-core/esm/vs/base/common/network.js
generated
vendored
1
node_modules/monaco-editor-core/esm/vs/base/common/network.js
generated
vendored
|
|
@ -47,6 +47,7 @@ export var Schemas;
|
|||
Schemas.vscodeSettings = 'vscode-settings';
|
||||
Schemas.vscodeWorkspaceTrust = 'vscode-workspace-trust';
|
||||
Schemas.vscodeTerminal = 'vscode-terminal';
|
||||
Schemas.vscodeChatSesssion = 'vscode-chat-editor';
|
||||
/**
|
||||
* Scheme used internally for webviews that aren't linked to a resource (i.e. not custom editors)
|
||||
*/
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/observable.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/observable.js
generated
vendored
|
|
@ -2,6 +2,9 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
export { observableValue, transaction } from './observableImpl/base';
|
||||
export { derived } from './observableImpl/derived';
|
||||
export { autorun, autorunWithStore } from './observableImpl/autorun';
|
||||
export * from './observableImpl/utils.js';
|
||||
import { ConsoleObservableLogger, setLogger } from './observableImpl/logging.js';
|
||||
const enableLogging = false;
|
||||
|
|
|
|||
135
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/autorun.js
generated
vendored
Normal file
135
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/autorun.js
generated
vendored
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { assertFn } from '../assert.js';
|
||||
import { DisposableStore, toDisposable } from '../lifecycle.js';
|
||||
import { getLogger } from './logging.js';
|
||||
export function autorun(debugName, fn) {
|
||||
return new AutorunObserver(debugName, fn, undefined, undefined);
|
||||
}
|
||||
// TODO@hediet rename to autorunWithStore
|
||||
export function autorunWithStore2(debugName, fn) {
|
||||
return autorunWithStore(fn, debugName);
|
||||
}
|
||||
// TODO@hediet deprecate, rename to autorunWithStoreEx
|
||||
export function autorunWithStore(fn, debugName) {
|
||||
const store = new DisposableStore();
|
||||
const disposable = autorun(debugName, reader => {
|
||||
store.clear();
|
||||
fn(reader, store);
|
||||
});
|
||||
return toDisposable(() => {
|
||||
disposable.dispose();
|
||||
store.dispose();
|
||||
});
|
||||
}
|
||||
export class AutorunObserver {
|
||||
constructor(debugName, runFn, createChangeSummary, _handleChange) {
|
||||
var _a, _b;
|
||||
this.debugName = debugName;
|
||||
this.runFn = runFn;
|
||||
this.createChangeSummary = createChangeSummary;
|
||||
this._handleChange = _handleChange;
|
||||
this.state = 2 /* AutorunState.stale */;
|
||||
this.updateCount = 0;
|
||||
this.disposed = false;
|
||||
this.dependencies = new Set();
|
||||
this.dependenciesToBeRemoved = new Set();
|
||||
this.changeSummary = (_a = this.createChangeSummary) === null || _a === void 0 ? void 0 : _a.call(this);
|
||||
(_b = getLogger()) === null || _b === void 0 ? void 0 : _b.handleAutorunCreated(this);
|
||||
this._runIfNeeded();
|
||||
}
|
||||
dispose() {
|
||||
this.disposed = true;
|
||||
for (const o of this.dependencies) {
|
||||
o.removeObserver(this);
|
||||
}
|
||||
this.dependencies.clear();
|
||||
}
|
||||
_runIfNeeded() {
|
||||
var _a, _b;
|
||||
if (this.state === 3 /* AutorunState.upToDate */) {
|
||||
return;
|
||||
}
|
||||
const emptySet = this.dependenciesToBeRemoved;
|
||||
this.dependenciesToBeRemoved = this.dependencies;
|
||||
this.dependencies = emptySet;
|
||||
this.state = 3 /* AutorunState.upToDate */;
|
||||
(_a = getLogger()) === null || _a === void 0 ? void 0 : _a.handleAutorunTriggered(this);
|
||||
try {
|
||||
const changeSummary = this.changeSummary;
|
||||
this.changeSummary = (_b = this.createChangeSummary) === null || _b === void 0 ? void 0 : _b.call(this);
|
||||
this.runFn(this, changeSummary);
|
||||
}
|
||||
finally {
|
||||
// We don't want our observed observables to think that they are (not even temporarily) not being observed.
|
||||
// Thus, we only unsubscribe from observables that are definitely not read anymore.
|
||||
for (const o of this.dependenciesToBeRemoved) {
|
||||
o.removeObserver(this);
|
||||
}
|
||||
this.dependenciesToBeRemoved.clear();
|
||||
}
|
||||
}
|
||||
toString() {
|
||||
return `Autorun<${this.debugName}>`;
|
||||
}
|
||||
// IObserver implementation
|
||||
beginUpdate() {
|
||||
if (this.state === 3 /* AutorunState.upToDate */) {
|
||||
this.state = 1 /* AutorunState.dependenciesMightHaveChanged */;
|
||||
}
|
||||
this.updateCount++;
|
||||
}
|
||||
endUpdate() {
|
||||
if (this.updateCount === 1) {
|
||||
do {
|
||||
if (this.state === 1 /* AutorunState.dependenciesMightHaveChanged */) {
|
||||
this.state = 3 /* AutorunState.upToDate */;
|
||||
for (const d of this.dependencies) {
|
||||
d.reportChanges();
|
||||
if (this.state === 2 /* AutorunState.stale */) {
|
||||
// The other dependencies will refresh on demand
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this._runIfNeeded();
|
||||
} while (this.state !== 3 /* AutorunState.upToDate */);
|
||||
}
|
||||
this.updateCount--;
|
||||
assertFn(() => this.updateCount >= 0);
|
||||
}
|
||||
handlePossibleChange(observable) {
|
||||
if (this.state === 3 /* AutorunState.upToDate */ && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
|
||||
this.state = 1 /* AutorunState.dependenciesMightHaveChanged */;
|
||||
}
|
||||
}
|
||||
handleChange(observable, change) {
|
||||
if (this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
|
||||
const shouldReact = this._handleChange ? this._handleChange({
|
||||
changedObservable: observable,
|
||||
change,
|
||||
didChange: o => o === observable,
|
||||
}, this.changeSummary) : true;
|
||||
if (shouldReact) {
|
||||
this.state = 2 /* AutorunState.stale */;
|
||||
}
|
||||
}
|
||||
}
|
||||
// IReader implementation
|
||||
readObservable(observable) {
|
||||
// In case the run action disposes the autorun
|
||||
if (this.disposed) {
|
||||
return observable.get();
|
||||
}
|
||||
observable.addObserver(this);
|
||||
const value = observable.get();
|
||||
this.dependencies.add(observable);
|
||||
this.dependenciesToBeRemoved.delete(observable);
|
||||
return value;
|
||||
}
|
||||
}
|
||||
(function (autorun) {
|
||||
autorun.Observer = AutorunObserver;
|
||||
})(autorun || (autorun = {}));
|
||||
175
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/base.js
generated
vendored
175
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/base.js
generated
vendored
|
|
@ -1 +1,174 @@
|
|||
export {};
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { getLogger } from './logging.js';
|
||||
let _derived;
|
||||
/**
|
||||
* @internal
|
||||
* This is to allow splitting files.
|
||||
*/
|
||||
export function _setDerived(derived) {
|
||||
_derived = derived;
|
||||
}
|
||||
export class ConvenientObservable {
|
||||
get TChange() { return null; }
|
||||
reportChanges() {
|
||||
this.get();
|
||||
}
|
||||
/** @sealed */
|
||||
read(reader) {
|
||||
if (reader) {
|
||||
return reader.readObservable(this);
|
||||
}
|
||||
else {
|
||||
return this.get();
|
||||
}
|
||||
}
|
||||
/** @sealed */
|
||||
map(fn) {
|
||||
return _derived(() => {
|
||||
const name = getFunctionName(fn);
|
||||
return name !== undefined ? name : `${this.debugName} (mapped)`;
|
||||
}, (reader) => fn(this.read(reader), reader));
|
||||
}
|
||||
}
|
||||
export class BaseObservable extends ConvenientObservable {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.observers = new Set();
|
||||
}
|
||||
addObserver(observer) {
|
||||
const len = this.observers.size;
|
||||
this.observers.add(observer);
|
||||
if (len === 0) {
|
||||
this.onFirstObserverAdded();
|
||||
}
|
||||
}
|
||||
removeObserver(observer) {
|
||||
const deleted = this.observers.delete(observer);
|
||||
if (deleted && this.observers.size === 0) {
|
||||
this.onLastObserverRemoved();
|
||||
}
|
||||
}
|
||||
onFirstObserverAdded() { }
|
||||
onLastObserverRemoved() { }
|
||||
}
|
||||
export function transaction(fn, getDebugName) {
|
||||
var _a, _b;
|
||||
const tx = new TransactionImpl(fn, getDebugName);
|
||||
try {
|
||||
(_a = getLogger()) === null || _a === void 0 ? void 0 : _a.handleBeginTransaction(tx);
|
||||
fn(tx);
|
||||
}
|
||||
finally {
|
||||
tx.finish();
|
||||
(_b = getLogger()) === null || _b === void 0 ? void 0 : _b.handleEndTransaction();
|
||||
}
|
||||
}
|
||||
export function subtransaction(tx, fn, getDebugName) {
|
||||
if (!tx) {
|
||||
transaction(fn, getDebugName);
|
||||
}
|
||||
else {
|
||||
fn(tx);
|
||||
}
|
||||
}
|
||||
export class TransactionImpl {
|
||||
constructor(fn, _getDebugName) {
|
||||
this.fn = fn;
|
||||
this._getDebugName = _getDebugName;
|
||||
this.updatingObservers = [];
|
||||
}
|
||||
getDebugName() {
|
||||
if (this._getDebugName) {
|
||||
return this._getDebugName();
|
||||
}
|
||||
return getFunctionName(this.fn);
|
||||
}
|
||||
updateObserver(observer, observable) {
|
||||
this.updatingObservers.push({ observer, observable });
|
||||
observer.beginUpdate(observable);
|
||||
}
|
||||
finish() {
|
||||
const updatingObservers = this.updatingObservers;
|
||||
// Prevent anyone from updating observers from now on.
|
||||
this.updatingObservers = null;
|
||||
for (const { observer, observable } of updatingObservers) {
|
||||
observer.endUpdate(observable);
|
||||
}
|
||||
}
|
||||
}
|
||||
export function getFunctionName(fn) {
|
||||
const fnSrc = fn.toString();
|
||||
// Pattern: /** @description ... */
|
||||
const regexp = /\/\*\*\s*@description\s*([^*]*)\*\//;
|
||||
const match = regexp.exec(fnSrc);
|
||||
const result = match ? match[1] : undefined;
|
||||
return result === null || result === void 0 ? void 0 : result.trim();
|
||||
}
|
||||
/**
|
||||
* Creates an observable value.
|
||||
* Observers get informed when the value changes.
|
||||
*/
|
||||
export function observableValue(name, initialValue) {
|
||||
return new ObservableValue(name, initialValue);
|
||||
}
|
||||
export class ObservableValue extends BaseObservable {
|
||||
constructor(debugName, initialValue) {
|
||||
super();
|
||||
this.debugName = debugName;
|
||||
this._value = initialValue;
|
||||
}
|
||||
get() {
|
||||
return this._value;
|
||||
}
|
||||
set(value, tx, change) {
|
||||
var _a;
|
||||
if (this._value === value) {
|
||||
return;
|
||||
}
|
||||
let _tx;
|
||||
if (!tx) {
|
||||
tx = _tx = new TransactionImpl(() => { }, () => `Setting ${this.debugName}`);
|
||||
}
|
||||
try {
|
||||
const oldValue = this._value;
|
||||
this._setValue(value);
|
||||
(_a = getLogger()) === null || _a === void 0 ? void 0 : _a.handleObservableChanged(this, { oldValue, newValue: value, change, didChange: true });
|
||||
for (const observer of this.observers) {
|
||||
tx.updateObserver(observer, this);
|
||||
observer.handleChange(this, change);
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if (_tx) {
|
||||
_tx.finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
toString() {
|
||||
return `${this.debugName}: ${this._value}`;
|
||||
}
|
||||
_setValue(newValue) {
|
||||
this._value = newValue;
|
||||
}
|
||||
}
|
||||
export function disposableObservableValue(name, initialValue) {
|
||||
return new DisposableObservableValue(name, initialValue);
|
||||
}
|
||||
export class DisposableObservableValue extends ObservableValue {
|
||||
_setValue(newValue) {
|
||||
if (this._value === newValue) {
|
||||
return;
|
||||
}
|
||||
if (this._value) {
|
||||
this._value.dispose();
|
||||
}
|
||||
this._value = newValue;
|
||||
}
|
||||
dispose() {
|
||||
var _a;
|
||||
(_a = this._value) === null || _a === void 0 ? void 0 : _a.dispose();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
204
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/derived.js
generated
vendored
Normal file
204
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/derived.js
generated
vendored
Normal file
|
|
@ -0,0 +1,204 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { BugIndicatingError } from '../errors.js';
|
||||
import { BaseObservable, _setDerived } from './base.js';
|
||||
import { getLogger } from './logging.js';
|
||||
export function derived(debugName, computeFn) {
|
||||
return new Derived(debugName, computeFn, undefined, undefined);
|
||||
}
|
||||
export function derivedHandleChanges(debugName, options, computeFn) {
|
||||
return new Derived(debugName, computeFn, options.createEmptyChangeSummary, options.handleChange);
|
||||
}
|
||||
_setDerived(derived);
|
||||
export class Derived extends BaseObservable {
|
||||
get debugName() {
|
||||
return typeof this._debugName === 'function' ? this._debugName() : this._debugName;
|
||||
}
|
||||
constructor(_debugName, computeFn, createChangeSummary, _handleChange) {
|
||||
var _a, _b;
|
||||
super();
|
||||
this._debugName = _debugName;
|
||||
this.computeFn = computeFn;
|
||||
this.createChangeSummary = createChangeSummary;
|
||||
this._handleChange = _handleChange;
|
||||
this.state = 0 /* DerivedState.initial */;
|
||||
this.value = undefined;
|
||||
this.updateCount = 0;
|
||||
this.dependencies = new Set();
|
||||
this.dependenciesToBeRemoved = new Set();
|
||||
this.changeSummary = undefined;
|
||||
this.changeSummary = (_a = this.createChangeSummary) === null || _a === void 0 ? void 0 : _a.call(this);
|
||||
(_b = getLogger()) === null || _b === void 0 ? void 0 : _b.handleDerivedCreated(this);
|
||||
}
|
||||
onLastObserverRemoved() {
|
||||
/**
|
||||
* We are not tracking changes anymore, thus we have to assume
|
||||
* that our cache is invalid.
|
||||
*/
|
||||
this.state = 0 /* DerivedState.initial */;
|
||||
this.value = undefined;
|
||||
for (const d of this.dependencies) {
|
||||
d.removeObserver(this);
|
||||
}
|
||||
this.dependencies.clear();
|
||||
}
|
||||
get() {
|
||||
var _a;
|
||||
if (this.observers.size === 0) {
|
||||
// Without observers, we don't know when to clean up stuff.
|
||||
// Thus, we don't cache anything to prevent memory leaks.
|
||||
const result = this.computeFn(this, (_a = this.createChangeSummary) === null || _a === void 0 ? void 0 : _a.call(this));
|
||||
// Clear new dependencies
|
||||
this.onLastObserverRemoved();
|
||||
return result;
|
||||
}
|
||||
else {
|
||||
do {
|
||||
if (this.state === 1 /* DerivedState.dependenciesMightHaveChanged */) {
|
||||
// We might not get a notification for a dependency that changed while it is updating,
|
||||
// thus we also have to ask all our depedencies if they changed in this case.
|
||||
this.state = 3 /* DerivedState.upToDate */;
|
||||
for (const d of this.dependencies) {
|
||||
/** might call {@link handleChange} indirectly, which could invalidate us */
|
||||
d.reportChanges();
|
||||
if (this.state === 2 /* DerivedState.stale */) {
|
||||
// The other dependencies will refresh on demand, so early break
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this._recomputeIfNeeded();
|
||||
// In case recomputation changed one of our dependencies, we need to recompute again.
|
||||
} while (this.state !== 3 /* DerivedState.upToDate */);
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
_recomputeIfNeeded() {
|
||||
var _a, _b;
|
||||
if (this.state === 3 /* DerivedState.upToDate */) {
|
||||
return;
|
||||
}
|
||||
const emptySet = this.dependenciesToBeRemoved;
|
||||
this.dependenciesToBeRemoved = this.dependencies;
|
||||
this.dependencies = emptySet;
|
||||
const hadValue = this.state !== 0 /* DerivedState.initial */;
|
||||
const oldValue = this.value;
|
||||
this.state = 3 /* DerivedState.upToDate */;
|
||||
const changeSummary = this.changeSummary;
|
||||
this.changeSummary = (_a = this.createChangeSummary) === null || _a === void 0 ? void 0 : _a.call(this);
|
||||
try {
|
||||
/** might call {@link handleChange} indirectly, which could invalidate us */
|
||||
this.value = this.computeFn(this, changeSummary);
|
||||
}
|
||||
finally {
|
||||
// We don't want our observed observables to think that they are (not even temporarily) not being observed.
|
||||
// Thus, we only unsubscribe from observables that are definitely not read anymore.
|
||||
for (const o of this.dependenciesToBeRemoved) {
|
||||
o.removeObserver(this);
|
||||
}
|
||||
this.dependenciesToBeRemoved.clear();
|
||||
}
|
||||
const didChange = hadValue && oldValue !== this.value;
|
||||
(_b = getLogger()) === null || _b === void 0 ? void 0 : _b.handleDerivedRecomputed(this, {
|
||||
oldValue,
|
||||
newValue: this.value,
|
||||
change: undefined,
|
||||
didChange
|
||||
});
|
||||
if (didChange) {
|
||||
for (const r of this.observers) {
|
||||
r.handleChange(this, undefined);
|
||||
}
|
||||
}
|
||||
}
|
||||
toString() {
|
||||
return `LazyDerived<${this.debugName}>`;
|
||||
}
|
||||
// IObserver Implementation
|
||||
beginUpdate(_observable) {
|
||||
this.updateCount++;
|
||||
const propagateBeginUpdate = this.updateCount === 1;
|
||||
if (this.state === 3 /* DerivedState.upToDate */) {
|
||||
this.state = 1 /* DerivedState.dependenciesMightHaveChanged */;
|
||||
// If we propagate begin update, that will already signal a possible change.
|
||||
if (!propagateBeginUpdate) {
|
||||
for (const r of this.observers) {
|
||||
r.handlePossibleChange(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (propagateBeginUpdate) {
|
||||
for (const r of this.observers) {
|
||||
r.beginUpdate(this); // This signals a possible change
|
||||
}
|
||||
}
|
||||
}
|
||||
endUpdate(_observable) {
|
||||
this.updateCount--;
|
||||
if (this.updateCount === 0) {
|
||||
// End update could change the observer list.
|
||||
const observers = [...this.observers];
|
||||
for (const r of observers) {
|
||||
r.endUpdate(this);
|
||||
}
|
||||
}
|
||||
if (this.updateCount < 0) {
|
||||
throw new BugIndicatingError();
|
||||
}
|
||||
}
|
||||
handlePossibleChange(observable) {
|
||||
// In all other states, observers already know that we might have changed.
|
||||
if (this.state === 3 /* DerivedState.upToDate */ && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
|
||||
this.state = 1 /* DerivedState.dependenciesMightHaveChanged */;
|
||||
for (const r of this.observers) {
|
||||
r.handlePossibleChange(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
handleChange(observable, change) {
|
||||
if (this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
|
||||
const shouldReact = this._handleChange ? this._handleChange({
|
||||
changedObservable: observable,
|
||||
change,
|
||||
didChange: o => o === observable,
|
||||
}, this.changeSummary) : true;
|
||||
const wasUpToDate = this.state === 3 /* DerivedState.upToDate */;
|
||||
if (shouldReact && (this.state === 1 /* DerivedState.dependenciesMightHaveChanged */ || wasUpToDate)) {
|
||||
this.state = 2 /* DerivedState.stale */;
|
||||
if (wasUpToDate) {
|
||||
for (const r of this.observers) {
|
||||
r.handlePossibleChange(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// IReader Implementation
|
||||
readObservable(observable) {
|
||||
// Subscribe before getting the value to enable caching
|
||||
observable.addObserver(this);
|
||||
/** This might call {@link handleChange} indirectly, which could invalidate us */
|
||||
const value = observable.get();
|
||||
// Which is why we only add the observable to the dependencies now.
|
||||
this.dependencies.add(observable);
|
||||
this.dependenciesToBeRemoved.delete(observable);
|
||||
return value;
|
||||
}
|
||||
addObserver(observer) {
|
||||
const shouldCallBeginUpdate = !this.observers.has(observer) && this.updateCount > 0;
|
||||
super.addObserver(observer);
|
||||
if (shouldCallBeginUpdate) {
|
||||
observer.beginUpdate(this);
|
||||
}
|
||||
}
|
||||
removeObserver(observer) {
|
||||
const shouldCallEndUpdate = this.observers.has(observer) && this.updateCount > 0;
|
||||
super.removeObserver(observer);
|
||||
if (shouldCallEndUpdate) {
|
||||
// Calling end update after removing the observer makes sure endUpdate cannot be called twice here.
|
||||
observer.endUpdate(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
240
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/logging.js
generated
vendored
240
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/logging.js
generated
vendored
|
|
@ -1,6 +1,244 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
let globalObservableLogger;
|
||||
export function setLogger(logger) {
|
||||
globalObservableLogger = logger;
|
||||
}
|
||||
export class ConsoleObservableLogger {
|
||||
export function getLogger() {
|
||||
return globalObservableLogger;
|
||||
}
|
||||
export class ConsoleObservableLogger {
|
||||
constructor() {
|
||||
this.indentation = 0;
|
||||
this.changedObservablesSets = new WeakMap();
|
||||
}
|
||||
textToConsoleArgs(text) {
|
||||
return consoleTextToArgs([
|
||||
normalText(repeat('| ', this.indentation)),
|
||||
text,
|
||||
]);
|
||||
}
|
||||
formatInfo(info) {
|
||||
return info.didChange
|
||||
? [
|
||||
normalText(` `),
|
||||
styled(formatValue(info.oldValue, 70), {
|
||||
color: 'red',
|
||||
strikeThrough: true,
|
||||
}),
|
||||
normalText(` `),
|
||||
styled(formatValue(info.newValue, 60), {
|
||||
color: 'green',
|
||||
}),
|
||||
]
|
||||
: [normalText(` (unchanged)`)];
|
||||
}
|
||||
handleObservableChanged(observable, info) {
|
||||
console.log(...this.textToConsoleArgs([
|
||||
formatKind('observable value changed'),
|
||||
styled(observable.debugName, { color: 'BlueViolet' }),
|
||||
...this.formatInfo(info),
|
||||
]));
|
||||
}
|
||||
formatChanges(changes) {
|
||||
if (changes.size === 0) {
|
||||
return undefined;
|
||||
}
|
||||
return styled(' (changed deps: ' +
|
||||
[...changes].map((o) => o.debugName).join(', ') +
|
||||
')', { color: 'gray' });
|
||||
}
|
||||
handleDerivedCreated(derived) {
|
||||
const existingHandleChange = derived.handleChange;
|
||||
this.changedObservablesSets.set(derived, new Set());
|
||||
derived.handleChange = (observable, change) => {
|
||||
this.changedObservablesSets.get(derived).add(observable);
|
||||
return existingHandleChange.apply(derived, [observable, change]);
|
||||
};
|
||||
}
|
||||
handleDerivedRecomputed(derived, info) {
|
||||
const changedObservables = this.changedObservablesSets.get(derived);
|
||||
console.log(...this.textToConsoleArgs([
|
||||
formatKind('derived recomputed'),
|
||||
styled(derived.debugName, { color: 'BlueViolet' }),
|
||||
...this.formatInfo(info),
|
||||
this.formatChanges(changedObservables)
|
||||
]));
|
||||
changedObservables.clear();
|
||||
}
|
||||
handleFromEventObservableTriggered(observable, info) {
|
||||
console.log(...this.textToConsoleArgs([
|
||||
formatKind('observable from event triggered'),
|
||||
styled(observable.debugName, { color: 'BlueViolet' }),
|
||||
...this.formatInfo(info),
|
||||
]));
|
||||
}
|
||||
handleAutorunCreated(autorun) {
|
||||
const existingHandleChange = autorun.handleChange;
|
||||
this.changedObservablesSets.set(autorun, new Set());
|
||||
autorun.handleChange = (observable, change) => {
|
||||
this.changedObservablesSets.get(autorun).add(observable);
|
||||
return existingHandleChange.apply(autorun, [observable, change]);
|
||||
};
|
||||
}
|
||||
handleAutorunTriggered(autorun) {
|
||||
const changedObservables = this.changedObservablesSets.get(autorun);
|
||||
console.log(...this.textToConsoleArgs([
|
||||
formatKind('autorun'),
|
||||
styled(autorun.debugName, { color: 'BlueViolet' }),
|
||||
this.formatChanges(changedObservables)
|
||||
]));
|
||||
changedObservables.clear();
|
||||
}
|
||||
handleBeginTransaction(transaction) {
|
||||
let transactionName = transaction.getDebugName();
|
||||
if (transactionName === undefined) {
|
||||
transactionName = '';
|
||||
}
|
||||
console.log(...this.textToConsoleArgs([
|
||||
formatKind('transaction'),
|
||||
styled(transactionName, { color: 'BlueViolet' }),
|
||||
]));
|
||||
this.indentation++;
|
||||
}
|
||||
handleEndTransaction() {
|
||||
this.indentation--;
|
||||
}
|
||||
}
|
||||
function consoleTextToArgs(text) {
|
||||
const styles = new Array();
|
||||
const initial = {};
|
||||
const data = initial;
|
||||
let firstArg = '';
|
||||
function process(t) {
|
||||
if ('length' in t) {
|
||||
for (const item of t) {
|
||||
if (item) {
|
||||
process(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ('text' in t) {
|
||||
firstArg += `%c${t.text}`;
|
||||
styles.push(t.style);
|
||||
if (t.data) {
|
||||
Object.assign(data, t.data);
|
||||
}
|
||||
}
|
||||
else if ('data' in t) {
|
||||
Object.assign(data, t.data);
|
||||
}
|
||||
}
|
||||
process(text);
|
||||
const result = [firstArg, ...styles];
|
||||
if (Object.keys(data).length > 0) {
|
||||
result.push(data);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function normalText(text) {
|
||||
return styled(text, { color: 'black' });
|
||||
}
|
||||
function formatKind(kind) {
|
||||
return styled(padStr(`${kind}: `, 10), { color: 'black', bold: true });
|
||||
}
|
||||
function styled(text, options = {
|
||||
color: 'black',
|
||||
}) {
|
||||
function objToCss(styleObj) {
|
||||
return Object.entries(styleObj).reduce((styleString, [propName, propValue]) => {
|
||||
return `${styleString}${propName}:${propValue};`;
|
||||
}, '');
|
||||
}
|
||||
const style = {
|
||||
color: options.color,
|
||||
};
|
||||
if (options.strikeThrough) {
|
||||
style['text-decoration'] = 'line-through';
|
||||
}
|
||||
if (options.bold) {
|
||||
style['font-weight'] = 'bold';
|
||||
}
|
||||
return {
|
||||
text,
|
||||
style: objToCss(style),
|
||||
};
|
||||
}
|
||||
function formatValue(value, availableLen) {
|
||||
switch (typeof value) {
|
||||
case 'number':
|
||||
return '' + value;
|
||||
case 'string':
|
||||
if (value.length + 2 <= availableLen) {
|
||||
return `"${value}"`;
|
||||
}
|
||||
return `"${value.substr(0, availableLen - 7)}"+...`;
|
||||
case 'boolean':
|
||||
return value ? 'true' : 'false';
|
||||
case 'undefined':
|
||||
return 'undefined';
|
||||
case 'object':
|
||||
if (value === null) {
|
||||
return 'null';
|
||||
}
|
||||
if (Array.isArray(value)) {
|
||||
return formatArray(value, availableLen);
|
||||
}
|
||||
return formatObject(value, availableLen);
|
||||
case 'symbol':
|
||||
return value.toString();
|
||||
case 'function':
|
||||
return `[[Function${value.name ? ' ' + value.name : ''}]]`;
|
||||
default:
|
||||
return '' + value;
|
||||
}
|
||||
}
|
||||
function formatArray(value, availableLen) {
|
||||
let result = '[ ';
|
||||
let first = true;
|
||||
for (const val of value) {
|
||||
if (!first) {
|
||||
result += ', ';
|
||||
}
|
||||
if (result.length - 5 > availableLen) {
|
||||
result += '...';
|
||||
break;
|
||||
}
|
||||
first = false;
|
||||
result += `${formatValue(val, availableLen - result.length)}`;
|
||||
}
|
||||
result += ' ]';
|
||||
return result;
|
||||
}
|
||||
function formatObject(value, availableLen) {
|
||||
let result = '{ ';
|
||||
let first = true;
|
||||
for (const [key, val] of Object.entries(value)) {
|
||||
if (!first) {
|
||||
result += ', ';
|
||||
}
|
||||
if (result.length - 5 > availableLen) {
|
||||
result += '...';
|
||||
break;
|
||||
}
|
||||
first = false;
|
||||
result += `${key}: ${formatValue(val, availableLen - result.length)}`;
|
||||
}
|
||||
result += ' }';
|
||||
return result;
|
||||
}
|
||||
function repeat(str, count) {
|
||||
let result = '';
|
||||
for (let i = 1; i <= count; i++) {
|
||||
result += str;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function padStr(str, length) {
|
||||
while (str.length < length) {
|
||||
str += ' ';
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
|
|
|||
190
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/utils.js
generated
vendored
190
node_modules/monaco-editor-core/esm/vs/base/common/observableImpl/utils.js
generated
vendored
|
|
@ -1 +1,189 @@
|
|||
export const __dummy = 0;
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { toDisposable } from '../lifecycle.js';
|
||||
import { BaseObservable, transaction, ConvenientObservable, getFunctionName } from './base.js';
|
||||
import { getLogger } from './logging.js';
|
||||
export function constObservable(value) {
|
||||
return new ConstObservable(value);
|
||||
}
|
||||
class ConstObservable extends ConvenientObservable {
|
||||
constructor(value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
get debugName() {
|
||||
return this.toString();
|
||||
}
|
||||
get() {
|
||||
return this.value;
|
||||
}
|
||||
addObserver(observer) {
|
||||
// NO OP
|
||||
}
|
||||
removeObserver(observer) {
|
||||
// NO OP
|
||||
}
|
||||
toString() {
|
||||
return `Const: ${this.value}`;
|
||||
}
|
||||
}
|
||||
export function observableFromEvent(event, getValue) {
|
||||
return new FromEventObservable(event, getValue);
|
||||
}
|
||||
export class FromEventObservable extends BaseObservable {
|
||||
constructor(event, getValue) {
|
||||
super();
|
||||
this.event = event;
|
||||
this.getValue = getValue;
|
||||
this.hasValue = false;
|
||||
this.handleEvent = (args) => {
|
||||
var _a;
|
||||
const newValue = this.getValue(args);
|
||||
const didChange = !this.hasValue || this.value !== newValue;
|
||||
(_a = getLogger()) === null || _a === void 0 ? void 0 : _a.handleFromEventObservableTriggered(this, { oldValue: this.value, newValue, change: undefined, didChange });
|
||||
if (didChange) {
|
||||
this.value = newValue;
|
||||
if (this.hasValue) {
|
||||
transaction((tx) => {
|
||||
for (const o of this.observers) {
|
||||
tx.updateObserver(o, this);
|
||||
o.handleChange(this, undefined);
|
||||
}
|
||||
}, () => {
|
||||
const name = this.getDebugName();
|
||||
return 'Event fired' + (name ? `: ${name}` : '');
|
||||
});
|
||||
}
|
||||
this.hasValue = true;
|
||||
}
|
||||
};
|
||||
}
|
||||
getDebugName() {
|
||||
return getFunctionName(this.getValue);
|
||||
}
|
||||
get debugName() {
|
||||
const name = this.getDebugName();
|
||||
return 'From Event' + (name ? `: ${name}` : '');
|
||||
}
|
||||
onFirstObserverAdded() {
|
||||
this.subscription = this.event(this.handleEvent);
|
||||
}
|
||||
onLastObserverRemoved() {
|
||||
this.subscription.dispose();
|
||||
this.subscription = undefined;
|
||||
this.hasValue = false;
|
||||
this.value = undefined;
|
||||
}
|
||||
get() {
|
||||
if (this.subscription) {
|
||||
if (!this.hasValue) {
|
||||
this.handleEvent(undefined);
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
else {
|
||||
// no cache, as there are no subscribers to keep it updated
|
||||
return this.getValue(undefined);
|
||||
}
|
||||
}
|
||||
}
|
||||
(function (observableFromEvent) {
|
||||
observableFromEvent.Observer = FromEventObservable;
|
||||
})(observableFromEvent || (observableFromEvent = {}));
|
||||
export function observableSignalFromEvent(debugName, event) {
|
||||
return new FromEventObservableSignal(debugName, event);
|
||||
}
|
||||
class FromEventObservableSignal extends BaseObservable {
|
||||
constructor(debugName, event) {
|
||||
super();
|
||||
this.debugName = debugName;
|
||||
this.event = event;
|
||||
this.handleEvent = () => {
|
||||
transaction((tx) => {
|
||||
for (const o of this.observers) {
|
||||
tx.updateObserver(o, this);
|
||||
o.handleChange(this, undefined);
|
||||
}
|
||||
}, () => this.debugName);
|
||||
};
|
||||
}
|
||||
onFirstObserverAdded() {
|
||||
this.subscription = this.event(this.handleEvent);
|
||||
}
|
||||
onLastObserverRemoved() {
|
||||
this.subscription.dispose();
|
||||
this.subscription = undefined;
|
||||
}
|
||||
get() {
|
||||
// NO OP
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Creates a signal that can be triggered to invalidate observers.
|
||||
*/
|
||||
export function observableSignal(debugName) {
|
||||
return new ObservableSignal(debugName);
|
||||
}
|
||||
class ObservableSignal extends BaseObservable {
|
||||
constructor(debugName) {
|
||||
super();
|
||||
this.debugName = debugName;
|
||||
}
|
||||
trigger(tx, change) {
|
||||
if (!tx) {
|
||||
transaction(tx => {
|
||||
this.trigger(tx, change);
|
||||
}, () => `Trigger signal ${this.debugName}`);
|
||||
return;
|
||||
}
|
||||
for (const o of this.observers) {
|
||||
tx.updateObserver(o, this);
|
||||
o.handleChange(this, change);
|
||||
}
|
||||
}
|
||||
get() {
|
||||
// NO OP
|
||||
}
|
||||
}
|
||||
/**
|
||||
* This ensures the observable is being observed.
|
||||
* Observed observables (such as {@link derived}s) can maintain a cache, as they receive invalidation events.
|
||||
* Unobserved observables are forced to recompute their value from scratch every time they are read.
|
||||
*
|
||||
* @param observable the observable to keep alive
|
||||
* @param forceRecompute if true, the observable will be eagerly recomputed after it changed.
|
||||
* Use this if recomputing the observables causes side-effects.
|
||||
*/
|
||||
export function keepAlive(observable, forceRecompute) {
|
||||
const o = new KeepAliveObserver(forceRecompute !== null && forceRecompute !== void 0 ? forceRecompute : false);
|
||||
observable.addObserver(o);
|
||||
if (forceRecompute) {
|
||||
observable.reportChanges();
|
||||
}
|
||||
return toDisposable(() => {
|
||||
observable.removeObserver(o);
|
||||
});
|
||||
}
|
||||
class KeepAliveObserver {
|
||||
constructor(forceRecompute) {
|
||||
this.forceRecompute = forceRecompute;
|
||||
this.counter = 0;
|
||||
}
|
||||
beginUpdate(observable) {
|
||||
this.counter++;
|
||||
}
|
||||
endUpdate(observable) {
|
||||
this.counter--;
|
||||
if (this.counter === 0 && this.forceRecompute) {
|
||||
observable.reportChanges();
|
||||
}
|
||||
}
|
||||
handlePossibleChange(observable) {
|
||||
// NO OP
|
||||
}
|
||||
handleChange(observable, change) {
|
||||
// NO OP
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/base/common/scrollable.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/base/common/scrollable.js
generated
vendored
|
|
@ -191,6 +191,9 @@ export class Scrollable extends Disposable {
|
|||
this._performSmoothScrolling();
|
||||
});
|
||||
}
|
||||
hasPendingScrollAnimation() {
|
||||
return Boolean(this._smoothScrolling);
|
||||
}
|
||||
_performSmoothScrolling() {
|
||||
if (!this._smoothScrolling) {
|
||||
return;
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/base/common/strings.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/base/common/strings.js
generated
vendored
|
|
@ -729,7 +729,7 @@ function isEmojiModifier(codePoint) {
|
|||
return 0x1F3FB <= codePoint && codePoint <= 0x1F3FF;
|
||||
}
|
||||
export const noBreakWhitespace = '\xa0';
|
||||
class AmbiguousCharacters {
|
||||
export class AmbiguousCharacters {
|
||||
static getInstance(locales) {
|
||||
return AmbiguousCharacters.cache.get(Array.from(locales));
|
||||
}
|
||||
|
|
@ -801,8 +801,7 @@ AmbiguousCharacters.cache = new LRUCachedFunction((locales) => {
|
|||
return new AmbiguousCharacters(map);
|
||||
});
|
||||
AmbiguousCharacters._locales = new Lazy(() => Object.keys(AmbiguousCharacters.ambiguousCharacterData.value).filter((k) => !k.startsWith('_')));
|
||||
export { AmbiguousCharacters };
|
||||
class InvisibleCharacters {
|
||||
export class InvisibleCharacters {
|
||||
static getRawData() {
|
||||
// Generated using https://github.com/hediet/vscode-unicode-data
|
||||
return JSON.parse('[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]');
|
||||
|
|
@ -821,4 +820,3 @@ class InvisibleCharacters {
|
|||
}
|
||||
}
|
||||
InvisibleCharacters._data = undefined;
|
||||
export { InvisibleCharacters };
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/base/common/types.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/base/common/types.js
generated
vendored
|
|
@ -123,3 +123,9 @@ export function validateConstraint(arg, constraint) {
|
|||
export function withNullAsUndefined(x) {
|
||||
return x === null ? undefined : x;
|
||||
}
|
||||
/**
|
||||
* Converts undefined to null, passes all other values through.
|
||||
*/
|
||||
export function withUndefinedAsNull(x) {
|
||||
return typeof x === 'undefined' ? null : x;
|
||||
}
|
||||
|
|
|
|||
23
node_modules/monaco-editor-core/esm/vs/base/common/uri.js
generated
vendored
23
node_modules/monaco-editor-core/esm/vs/base/common/uri.js
generated
vendored
|
|
@ -258,9 +258,15 @@ export class URI {
|
|||
}
|
||||
return new Uri('file', authority, path, _empty, _empty);
|
||||
}
|
||||
static from(components) {
|
||||
const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment);
|
||||
_validateUri(result, true);
|
||||
/**
|
||||
* Creates new URI from uri components.
|
||||
*
|
||||
* Unless `strict` is `true` the scheme is defaults to be `file`. This function performs
|
||||
* validation and should be used for untrusted uri components retrieved from storage,
|
||||
* user input, command arguments etc
|
||||
*/
|
||||
static from(components, strict) {
|
||||
const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict);
|
||||
return result;
|
||||
}
|
||||
/**
|
||||
|
|
@ -302,6 +308,7 @@ export class URI {
|
|||
return this;
|
||||
}
|
||||
static revive(data) {
|
||||
var _a, _b;
|
||||
if (!data) {
|
||||
return data;
|
||||
}
|
||||
|
|
@ -310,8 +317,8 @@ export class URI {
|
|||
}
|
||||
else {
|
||||
const result = new Uri(data);
|
||||
result._formatted = data.external;
|
||||
result._fsPath = data._sep === _pathSepMarker ? data.fsPath : null;
|
||||
result._formatted = (_a = data.external) !== null && _a !== void 0 ? _a : null;
|
||||
result._fsPath = data._sep === _pathSepMarker ? (_b = data.fsPath) !== null && _b !== void 0 ? _b : null : null;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
@ -354,10 +361,14 @@ class Uri extends URI {
|
|||
if (this._formatted) {
|
||||
res.external = this._formatted;
|
||||
}
|
||||
// uri components
|
||||
//--- uri components
|
||||
if (this.path) {
|
||||
res.path = this.path;
|
||||
}
|
||||
// TODO
|
||||
// this isn't correct and can violate the UriComponents contract but
|
||||
// this is part of the vscode.Uri API and we shouldn't change how that
|
||||
// works anymore
|
||||
if (this.scheme) {
|
||||
res.scheme = this.scheme;
|
||||
}
|
||||
|
|
|
|||
8
node_modules/monaco-editor-core/esm/vs/base/parts/storage/common/storage.js
generated
vendored
8
node_modules/monaco-editor-core/esm/vs/base/parts/storage/common/storage.js
generated
vendored
|
|
@ -14,7 +14,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
import { ThrottledDelayer } from '../../../common/async.js';
|
||||
import { Emitter, Event } from '../../../common/event.js';
|
||||
import { Disposable } from '../../../common/lifecycle.js';
|
||||
import { isUndefinedOrNull } from '../../../common/types.js';
|
||||
import { stringify } from '../../../common/marshalling.js';
|
||||
import { isObject, isUndefinedOrNull } from '../../../common/types.js';
|
||||
export var StorageHint;
|
||||
(function (StorageHint) {
|
||||
// A hint to the storage that the storage
|
||||
|
|
@ -32,7 +33,7 @@ export var StorageState;
|
|||
StorageState[StorageState["Initialized"] = 1] = "Initialized";
|
||||
StorageState[StorageState["Closed"] = 2] = "Closed";
|
||||
})(StorageState || (StorageState = {}));
|
||||
class Storage extends Disposable {
|
||||
export class Storage extends Disposable {
|
||||
constructor(database, options = Object.create(null)) {
|
||||
super();
|
||||
this.database = database;
|
||||
|
|
@ -111,7 +112,7 @@ class Storage extends Disposable {
|
|||
return this.delete(key);
|
||||
}
|
||||
// Otherwise, convert to String and store
|
||||
const valueStr = String(value);
|
||||
const valueStr = isObject(value) || Array.isArray(value) ? stringify(value) : String(value);
|
||||
// Return early if value already set
|
||||
const currentValue = this.cache.get(key);
|
||||
if (currentValue === valueStr) {
|
||||
|
|
@ -183,7 +184,6 @@ class Storage extends Disposable {
|
|||
}
|
||||
}
|
||||
Storage.DEFAULT_FLUSH_DELAY = 100;
|
||||
export { Storage };
|
||||
export class InMemoryStorageDatabase {
|
||||
constructor() {
|
||||
this.onDidChangeItemsExternal = Event.None;
|
||||
|
|
|
|||
14
node_modules/monaco-editor-core/esm/vs/editor/browser/config/editorConfiguration.js
generated
vendored
14
node_modules/monaco-editor-core/esm/vs/editor/browser/config/editorConfiguration.js
generated
vendored
|
|
@ -25,7 +25,7 @@ import { ComputeOptionsMemory, ConfigurationChangedEvent, editorOptionsRegistry
|
|||
import { EditorZoom } from '../../common/config/editorZoom.js';
|
||||
import { BareFontInfo } from '../../common/config/fontInfo.js';
|
||||
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
||||
let EditorConfiguration = class EditorConfiguration extends Disposable {
|
||||
export let EditorConfiguration = class EditorConfiguration extends Disposable {
|
||||
constructor(isSimpleWidget, options, container, _accessibilityService) {
|
||||
super();
|
||||
this._accessibilityService = _accessibilityService;
|
||||
|
|
@ -37,6 +37,7 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|||
this._viewLineCount = 1;
|
||||
this._lineNumbersDigitCount = 1;
|
||||
this._reservedHeight = 0;
|
||||
this._glyphMarginDecorationLaneCount = 1;
|
||||
this._computeOptionsMemory = new ComputeOptionsMemory();
|
||||
this.isSimpleWidget = isSimpleWidget;
|
||||
this._containerObserver = this._register(new ElementSizeObserver(container, options.dimension));
|
||||
|
|
@ -80,7 +81,8 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|||
emptySelectionClipboard: partialEnv.emptySelectionClipboard,
|
||||
pixelRatio: partialEnv.pixelRatio,
|
||||
tabFocusMode: TabFocus.getTabFocusMode("editorFocus" /* TabFocusContext.Editor */),
|
||||
accessibilitySupport: partialEnv.accessibilitySupport
|
||||
accessibilitySupport: partialEnv.accessibilitySupport,
|
||||
glyphMarginDecorationLaneCount: this._glyphMarginDecorationLaneCount
|
||||
};
|
||||
return EditorOptionsUtil.computeOptions(this._validatedOptions, env);
|
||||
}
|
||||
|
|
@ -143,11 +145,17 @@ let EditorConfiguration = class EditorConfiguration extends Disposable {
|
|||
this._reservedHeight = reservedHeight;
|
||||
this._recomputeOptions();
|
||||
}
|
||||
setGlyphMarginDecorationLaneCount(decorationLaneCount) {
|
||||
if (this._glyphMarginDecorationLaneCount === decorationLaneCount) {
|
||||
return;
|
||||
}
|
||||
this._glyphMarginDecorationLaneCount = decorationLaneCount;
|
||||
this._recomputeOptions();
|
||||
}
|
||||
};
|
||||
EditorConfiguration = __decorate([
|
||||
__param(3, IAccessibilityService)
|
||||
], EditorConfiguration);
|
||||
export { EditorConfiguration };
|
||||
function digitCount(n) {
|
||||
let r = 0;
|
||||
while (n) {
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/editor/browser/config/migrateOptions.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/editor/browser/config/migrateOptions.js
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
class EditorSettingMigration {
|
||||
export class EditorSettingMigration {
|
||||
constructor(key, migrate) {
|
||||
this.key = key;
|
||||
this.migrate = migrate;
|
||||
|
|
@ -36,7 +36,6 @@ class EditorSettingMigration {
|
|||
}
|
||||
}
|
||||
EditorSettingMigration.items = [];
|
||||
export { EditorSettingMigration };
|
||||
function registerEditorSettingMigration(key, migrate) {
|
||||
EditorSettingMigration.items.push(new EditorSettingMigration(key, migrate));
|
||||
}
|
||||
|
|
|
|||
14
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/mouseHandler.js
generated
vendored
14
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/mouseHandler.js
generated
vendored
|
|
@ -23,7 +23,7 @@ export class MouseHandler extends ViewEventHandler {
|
|||
this.mouseTargetFactory = new MouseTargetFactory(this._context, viewHelper);
|
||||
this._mouseDownOperation = this._register(new MouseDownOperation(this._context, this.viewController, this.viewHelper, this.mouseTargetFactory, (e, testEventTarget) => this._createMouseTarget(e, testEventTarget), (e) => this._getMouseColumn(e)));
|
||||
this.lastMouseLeaveTime = -1;
|
||||
this._height = this._context.configuration.options.get(139 /* EditorOption.layoutInfo */).height;
|
||||
this._height = this._context.configuration.options.get(140 /* EditorOption.layoutInfo */).height;
|
||||
const mouseEvents = new EditorMouseEventFactory(this.viewHelper.viewDomNode);
|
||||
this._register(mouseEvents.onContextMenu(this.viewHelper.viewDomNode, (e) => this._onContextMenu(e, true)));
|
||||
this._register(mouseEvents.onMouseMove(this.viewHelper.viewDomNode, (e) => {
|
||||
|
|
@ -125,9 +125,9 @@ export class MouseHandler extends ViewEventHandler {
|
|||
}
|
||||
// --- begin event handlers
|
||||
onConfigurationChanged(e) {
|
||||
if (e.hasChanged(139 /* EditorOption.layoutInfo */)) {
|
||||
if (e.hasChanged(140 /* EditorOption.layoutInfo */)) {
|
||||
// layout change
|
||||
const height = this._context.configuration.options.get(139 /* EditorOption.layoutInfo */).height;
|
||||
const height = this._context.configuration.options.get(140 /* EditorOption.layoutInfo */).height;
|
||||
if (this._height !== height) {
|
||||
this._height = height;
|
||||
this._mouseDownOperation.onHeightChanged();
|
||||
|
|
@ -213,7 +213,7 @@ export class MouseHandler extends ViewEventHandler {
|
|||
const targetIsContent = (t.type === 6 /* MouseTargetType.CONTENT_TEXT */ || t.type === 7 /* MouseTargetType.CONTENT_EMPTY */);
|
||||
const targetIsGutter = (t.type === 2 /* MouseTargetType.GUTTER_GLYPH_MARGIN */ || t.type === 3 /* MouseTargetType.GUTTER_LINE_NUMBERS */ || t.type === 4 /* MouseTargetType.GUTTER_LINE_DECORATIONS */);
|
||||
const targetIsLineNumbers = (t.type === 3 /* MouseTargetType.GUTTER_LINE_NUMBERS */);
|
||||
const selectOnLineNumbers = this._context.configuration.options.get(104 /* EditorOption.selectOnLineNumbers */);
|
||||
const selectOnLineNumbers = this._context.configuration.options.get(105 /* EditorOption.selectOnLineNumbers */);
|
||||
const targetIsViewZone = (t.type === 8 /* MouseTargetType.CONTENT_VIEW_ZONE */ || t.type === 5 /* MouseTargetType.GUTTER_VIEW_ZONE */);
|
||||
const targetIsWidget = (t.type === 9 /* MouseTargetType.CONTENT_WIDGET */);
|
||||
let shouldHandle = e.leftButton || e.middleButton;
|
||||
|
|
@ -310,7 +310,7 @@ class MouseDownOperation extends Disposable {
|
|||
// Overwrite the detail of the MouseEvent, as it will be sent out in an event and contributions might rely on it.
|
||||
e.detail = this._mouseState.count;
|
||||
const options = this._context.configuration.options;
|
||||
if (!options.get(87 /* EditorOption.readOnly */)
|
||||
if (!options.get(88 /* EditorOption.readOnly */)
|
||||
&& options.get(33 /* EditorOption.dragAndDrop */)
|
||||
&& !options.get(20 /* EditorOption.columnSelection */)
|
||||
&& !this._mouseState.altKey // we don't support multiple mouse
|
||||
|
|
@ -515,7 +515,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|||
*/
|
||||
_getScrollSpeed() {
|
||||
const lineHeight = this._context.configuration.options.get(64 /* EditorOption.lineHeight */);
|
||||
const viewportInLines = this._context.configuration.options.get(139 /* EditorOption.layoutInfo */).height / lineHeight;
|
||||
const viewportInLines = this._context.configuration.options.get(140 /* EditorOption.layoutInfo */).height / lineHeight;
|
||||
const outsideDistanceInLines = this._position.outsideDistance / lineHeight;
|
||||
if (outsideDistanceInLines <= 1.5) {
|
||||
return Math.max(30, viewportInLines * (1 + outsideDistanceInLines));
|
||||
|
|
@ -539,7 +539,7 @@ class TopBottomDragScrollingOperation extends Disposable {
|
|||
let mouseTarget;
|
||||
{
|
||||
const editorPos = createEditorPagePosition(this._viewHelper.viewDomNode);
|
||||
const horizontalScrollbarHeight = this._context.configuration.options.get(139 /* EditorOption.layoutInfo */).horizontalScrollbarHeight;
|
||||
const horizontalScrollbarHeight = this._context.configuration.options.get(140 /* EditorOption.layoutInfo */).horizontalScrollbarHeight;
|
||||
const pos = new PageCoordinates(this._mouseEvent.pos.x, editorPos.y + editorPos.height - horizontalScrollbarHeight - 0.1);
|
||||
const relativePos = createCoordinatesRelativeToEditor(this._viewHelper.viewDomNode, editorPos, pos);
|
||||
mouseTarget = this._mouseTargetFactory.createMouseTarget(this._viewHelper.getLastRenderData(), editorPos, pos, relativePos, null);
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/mouseTarget.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/mouseTarget.js
generated
vendored
|
|
@ -166,10 +166,10 @@ export class HitTestContext {
|
|||
constructor(context, viewHelper, lastRenderData) {
|
||||
this.viewModel = context.viewModel;
|
||||
const options = context.configuration.options;
|
||||
this.layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
this.layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this.viewDomNode = viewHelper.viewDomNode;
|
||||
this.lineHeight = options.get(64 /* EditorOption.lineHeight */);
|
||||
this.stickyTabStops = options.get(111 /* EditorOption.stickyTabStops */);
|
||||
this.stickyTabStops = options.get(112 /* EditorOption.stickyTabStops */);
|
||||
this.typicalHalfwidthCharacterWidth = options.get(48 /* EditorOption.fontInfo */).typicalHalfwidthCharacterWidth;
|
||||
this.lastRenderData = lastRenderData;
|
||||
this._context = context;
|
||||
|
|
@ -602,7 +602,7 @@ export class MouseTargetFactory {
|
|||
}
|
||||
getMouseColumn(relativePos) {
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
const mouseContentHorizontalOffset = this._context.viewLayout.getCurrentScrollLeft() + relativePos.x - layoutInfo.contentLeft;
|
||||
return MouseTargetFactory._getMouseColumn(mouseContentHorizontalOffset, options.get(48 /* EditorOption.fontInfo */).typicalHalfwidthCharacterWidth);
|
||||
}
|
||||
|
|
|
|||
16
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaHandler.js
generated
vendored
16
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaHandler.js
generated
vendored
|
|
@ -88,7 +88,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
this._scrollLeft = 0;
|
||||
this._scrollTop = 0;
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._setAccessibilityOptions(options);
|
||||
this._contentLeft = layoutInfo.contentLeft;
|
||||
this._contentWidth = layoutInfo.contentWidth;
|
||||
|
|
@ -113,7 +113,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
this.textArea.setAttribute('autocomplete', 'off');
|
||||
this.textArea.setAttribute('spellcheck', 'false');
|
||||
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
||||
this.textArea.setAttribute('tabindex', String(options.get(119 /* EditorOption.tabIndex */)));
|
||||
this.textArea.setAttribute('tabindex', String(options.get(120 /* EditorOption.tabIndex */)));
|
||||
this.textArea.setAttribute('role', 'textbox');
|
||||
this.textArea.setAttribute('aria-roledescription', nls.localize('editor', "editor"));
|
||||
this.textArea.setAttribute('aria-multiline', 'true');
|
||||
|
|
@ -393,7 +393,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
}
|
||||
_getWordBeforePosition(position) {
|
||||
const lineContent = this._context.viewModel.getLineContent(position.lineNumber);
|
||||
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(125 /* EditorOption.wordSeparators */));
|
||||
const wordSeparators = getMapForWordSeparators(this._context.configuration.options.get(126 /* EditorOption.wordSeparators */));
|
||||
let column = position.column;
|
||||
let distance = 0;
|
||||
while (column > 1) {
|
||||
|
|
@ -438,7 +438,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
// we will size the textarea to match the width used for wrapping points computation (see `domLineBreaksComputer.ts`).
|
||||
// This is because screen readers will read the text in the textarea and we'd like that the
|
||||
// wrapping points in the textarea match the wrapping points in the editor.
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
const wrappingColumn = layoutInfo.wrappingColumn;
|
||||
if (wrappingColumn !== -1 && this._accessibilitySupport !== 1 /* AccessibilitySupport.Disabled */) {
|
||||
const fontInfo = options.get(48 /* EditorOption.fontInfo */);
|
||||
|
|
@ -453,7 +453,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
// --- begin event handlers
|
||||
onConfigurationChanged(e) {
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._setAccessibilityOptions(options);
|
||||
this._contentLeft = layoutInfo.contentLeft;
|
||||
this._contentWidth = layoutInfo.contentWidth;
|
||||
|
|
@ -466,8 +466,8 @@ export class TextAreaHandler extends ViewPart {
|
|||
const { tabSize } = this._context.viewModel.model.getOptions();
|
||||
this.textArea.domNode.style.tabSize = `${tabSize * this._fontInfo.spaceWidth}px`;
|
||||
this.textArea.setAttribute('aria-label', this._getAriaLabel(options));
|
||||
this.textArea.setAttribute('tabindex', String(options.get(119 /* EditorOption.tabIndex */)));
|
||||
if (e.hasChanged(32 /* EditorOption.domReadOnly */) || e.hasChanged(87 /* EditorOption.readOnly */)) {
|
||||
this.textArea.setAttribute('tabindex', String(options.get(120 /* EditorOption.tabIndex */)));
|
||||
if (e.hasChanged(32 /* EditorOption.domReadOnly */) || e.hasChanged(88 /* EditorOption.readOnly */)) {
|
||||
this._ensureReadOnlyAttribute();
|
||||
}
|
||||
if (e.hasChanged(2 /* EditorOption.accessibilitySupport */)) {
|
||||
|
|
@ -538,7 +538,7 @@ export class TextAreaHandler extends ViewPart {
|
|||
const options = this._context.configuration.options;
|
||||
// When someone requests to disable IME, we set the "readonly" attribute on the <textarea>.
|
||||
// This will prevent composition.
|
||||
const useReadOnly = !IME.enabled || (options.get(32 /* EditorOption.domReadOnly */) && options.get(87 /* EditorOption.readOnly */));
|
||||
const useReadOnly = !IME.enabled || (options.get(32 /* EditorOption.domReadOnly */) && options.get(88 /* EditorOption.readOnly */));
|
||||
if (useReadOnly) {
|
||||
this.textArea.setAttribute('readonly', 'true');
|
||||
}
|
||||
|
|
|
|||
7
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaInput.js
generated
vendored
7
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaInput.js
generated
vendored
|
|
@ -26,7 +26,7 @@ export const CopyOptions = {
|
|||
* Every time we read from the cipboard, if the text matches our last written text,
|
||||
* we can fetch the previous metadata.
|
||||
*/
|
||||
class InMemoryClipboardMetadataManager {
|
||||
export class InMemoryClipboardMetadataManager {
|
||||
constructor() {
|
||||
this._lastState = null;
|
||||
}
|
||||
|
|
@ -43,7 +43,6 @@ class InMemoryClipboardMetadataManager {
|
|||
}
|
||||
}
|
||||
InMemoryClipboardMetadataManager.INSTANCE = new InMemoryClipboardMetadataManager();
|
||||
export { InMemoryClipboardMetadataManager };
|
||||
class CompositionContext {
|
||||
constructor() {
|
||||
this._lastTypeTextLength = 0;
|
||||
|
|
@ -110,7 +109,7 @@ export class TextAreaInput extends Disposable {
|
|||
let lastKeyDown = null;
|
||||
this._register(this._textArea.onKeyDown((_e) => {
|
||||
const e = new StandardKeyboardEvent(_e);
|
||||
if (e.keyCode === 109 /* KeyCode.KEY_IN_COMPOSITION */
|
||||
if (e.keyCode === 114 /* KeyCode.KEY_IN_COMPOSITION */
|
||||
|| (this._currentComposition && e.keyCode === 1 /* KeyCode.Backspace */)) {
|
||||
// Stop propagation for keyDown events if the IME is processing key input
|
||||
e.stopPropagation();
|
||||
|
|
@ -140,7 +139,7 @@ export class TextAreaInput extends Disposable {
|
|||
this._currentComposition = currentComposition;
|
||||
if (this._OS === 2 /* OperatingSystem.Macintosh */
|
||||
&& lastKeyDown
|
||||
&& lastKeyDown.equals(109 /* KeyCode.KEY_IN_COMPOSITION */)
|
||||
&& lastKeyDown.equals(114 /* KeyCode.KEY_IN_COMPOSITION */)
|
||||
&& this._textAreaState.selectionStart === this._textAreaState.selectionEnd
|
||||
&& this._textAreaState.selectionStart > 0
|
||||
&& this._textAreaState.value.substr(this._textAreaState.selectionStart - 1, 1) === e.data
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaState.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/editor/browser/controller/textAreaState.js
generated
vendored
|
|
@ -5,7 +5,7 @@
|
|||
import * as strings from '../../../base/common/strings.js';
|
||||
import { Range } from '../../common/core/range.js';
|
||||
export const _debugComposition = false;
|
||||
class TextAreaState {
|
||||
export class TextAreaState {
|
||||
constructor(value,
|
||||
/** the offset where selection starts inside `value` */
|
||||
selectionStart,
|
||||
|
|
@ -171,7 +171,6 @@ class TextAreaState {
|
|||
}
|
||||
}
|
||||
TextAreaState.EMPTY = new TextAreaState('', 0, 0, null, undefined);
|
||||
export { TextAreaState };
|
||||
export class PagedScreenReaderStrategy {
|
||||
static _getPageOfLine(lineNumber, linesPerPage) {
|
||||
return Math.floor((lineNumber - 1) / linesPerPage);
|
||||
|
|
|
|||
4
node_modules/monaco-editor-core/esm/vs/editor/browser/coreCommands.js
generated
vendored
4
node_modules/monaco-editor-core/esm/vs/editor/browser/coreCommands.js
generated
vendored
|
|
@ -1658,7 +1658,7 @@ export var CoreEditingCommands;
|
|||
document.execCommand('undo');
|
||||
}
|
||||
runEditorCommand(accessor, editor, args) {
|
||||
if (!editor.hasModel() || editor.getOption(87 /* EditorOption.readOnly */) === true) {
|
||||
if (!editor.hasModel() || editor.getOption(88 /* EditorOption.readOnly */) === true) {
|
||||
return;
|
||||
}
|
||||
return editor.getModel().undo();
|
||||
|
|
@ -1672,7 +1672,7 @@ export var CoreEditingCommands;
|
|||
document.execCommand('redo');
|
||||
}
|
||||
runEditorCommand(accessor, editor, args) {
|
||||
if (!editor.hasModel() || editor.getOption(87 /* EditorOption.readOnly */) === true) {
|
||||
if (!editor.hasModel() || editor.getOption(88 /* EditorOption.readOnly */) === true) {
|
||||
return;
|
||||
}
|
||||
return editor.getModel().redo();
|
||||
|
|
|
|||
50
node_modules/monaco-editor-core/esm/vs/editor/browser/dnd.js
generated
vendored
50
node_modules/monaco-editor-core/esm/vs/editor/browser/dnd.js
generated
vendored
|
|
@ -15,7 +15,7 @@ import { DataTransfers } from '../../base/browser/dnd.js';
|
|||
import { createFileDataTransferItem, createStringDataTransferItem, UriList, VSDataTransfer } from '../../base/common/dataTransfer.js';
|
||||
import { Mimes } from '../../base/common/mime.js';
|
||||
import { URI } from '../../base/common/uri.js';
|
||||
import { CodeDataTransfers, extractEditorsDropData } from '../../platform/dnd/browser/dnd.js';
|
||||
import { CodeDataTransfers } from '../../platform/dnd/browser/dnd.js';
|
||||
export function toVSDataTransfer(dataTransfer) {
|
||||
const vsDataTransfer = new VSDataTransfer();
|
||||
for (const item of dataTransfer.items) {
|
||||
|
|
@ -43,25 +43,43 @@ const INTERNAL_DND_MIME_TYPES = Object.freeze([
|
|||
CodeDataTransfers.EDITORS,
|
||||
CodeDataTransfers.FILES,
|
||||
DataTransfers.RESOURCES,
|
||||
DataTransfers.INTERNAL_URI_LIST,
|
||||
]);
|
||||
export function addExternalEditorsDropData(dataTransfer, dragEvent, overwriteUriList = false) {
|
||||
var _a;
|
||||
if (dragEvent.dataTransfer && (overwriteUriList || !dataTransfer.has(Mimes.uriList))) {
|
||||
const editorData = extractEditorsDropData(dragEvent)
|
||||
.filter(input => input.resource)
|
||||
.map(input => input.resource.toString());
|
||||
// Also add in the files
|
||||
for (const item of (_a = dragEvent.dataTransfer) === null || _a === void 0 ? void 0 : _a.items) {
|
||||
const file = item.getAsFile();
|
||||
if (file) {
|
||||
editorData.push(file.path ? URI.file(file.path).toString() : file.name);
|
||||
export function toExternalVSDataTransfer(sourceDataTransfer, overwriteUriList = false) {
|
||||
const vsDataTransfer = toVSDataTransfer(sourceDataTransfer);
|
||||
// Try to expose the internal uri-list type as the standard type
|
||||
const uriList = vsDataTransfer.get(DataTransfers.INTERNAL_URI_LIST);
|
||||
if (uriList) {
|
||||
vsDataTransfer.replace(Mimes.uriList, uriList);
|
||||
}
|
||||
else {
|
||||
if (overwriteUriList || !vsDataTransfer.has(Mimes.uriList)) {
|
||||
// Otherwise, fallback to adding dragged resources to the uri list
|
||||
const editorData = [];
|
||||
for (const item of sourceDataTransfer.items) {
|
||||
const file = item.getAsFile();
|
||||
if (file) {
|
||||
const path = file.path;
|
||||
try {
|
||||
if (path) {
|
||||
editorData.push(URI.file(path).toString());
|
||||
}
|
||||
else {
|
||||
editorData.push(URI.parse(file.name, true).toString());
|
||||
}
|
||||
}
|
||||
catch (_a) {
|
||||
// Parsing failed. Leave out from list
|
||||
}
|
||||
}
|
||||
}
|
||||
if (editorData.length) {
|
||||
vsDataTransfer.replace(Mimes.uriList, createStringDataTransferItem(UriList.create(editorData)));
|
||||
}
|
||||
}
|
||||
if (editorData.length) {
|
||||
dataTransfer.replace(Mimes.uriList, createStringDataTransferItem(UriList.create(editorData)));
|
||||
}
|
||||
}
|
||||
for (const internal of INTERNAL_DND_MIME_TYPES) {
|
||||
dataTransfer.delete(internal);
|
||||
vsDataTransfer.delete(internal);
|
||||
}
|
||||
return vsDataTransfer;
|
||||
}
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/editor/browser/editorDom.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/editor/browser/editorDom.js
generated
vendored
|
|
@ -190,7 +190,7 @@ export class GlobalEditorPointerMoveMonitor extends Disposable {
|
|||
* Rules are reused.
|
||||
* Reference counting and delayed garbage collection ensure that no rules leak.
|
||||
*/
|
||||
class DynamicCssRules {
|
||||
export class DynamicCssRules {
|
||||
constructor(_editor) {
|
||||
this._editor = _editor;
|
||||
this._instanceId = ++DynamicCssRules._idPool;
|
||||
|
|
@ -235,7 +235,6 @@ class DynamicCssRules {
|
|||
}
|
||||
}
|
||||
DynamicCssRules._idPool = 0;
|
||||
export { DynamicCssRules };
|
||||
class RefCountedCssRule {
|
||||
constructor(key, className, _containerElement, properties) {
|
||||
this.key = key;
|
||||
|
|
|
|||
9
node_modules/monaco-editor-core/esm/vs/editor/browser/editorExtensions.js
generated
vendored
9
node_modules/monaco-editor-core/esm/vs/editor/browser/editorExtensions.js
generated
vendored
|
|
@ -261,10 +261,15 @@ export class EditorAction2 extends Action2 {
|
|||
}
|
||||
// precondition does hold
|
||||
return editor.invokeWithinContext((editorAccessor) => {
|
||||
var _a;
|
||||
const kbService = editorAccessor.get(IContextKeyService);
|
||||
if (kbService.contextMatchesRules(withNullAsUndefined(this.desc.precondition))) {
|
||||
return this.runEditorCommand(editorAccessor, editor, ...args);
|
||||
const logService = editorAccessor.get(ILogService);
|
||||
const enabled = kbService.contextMatchesRules(withNullAsUndefined(this.desc.precondition));
|
||||
if (!enabled) {
|
||||
logService.debug(`[EditorAction2] NOT running command because its precondition is FALSE`, this.desc.id, (_a = this.desc.precondition) === null || _a === void 0 ? void 0 : _a.serialize());
|
||||
return;
|
||||
}
|
||||
return this.runEditorCommand(editorAccessor, editor, ...args);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import { Emitter } from '../../../base/common/event.js';
|
|||
import { Disposable, toDisposable } from '../../../base/common/lifecycle.js';
|
||||
import { LinkedList } from '../../../base/common/linkedList.js';
|
||||
import { IThemeService } from '../../../platform/theme/common/themeService.js';
|
||||
let AbstractCodeEditorService = class AbstractCodeEditorService extends Disposable {
|
||||
export let AbstractCodeEditorService = class AbstractCodeEditorService extends Disposable {
|
||||
constructor(_themeService) {
|
||||
super();
|
||||
this._themeService = _themeService;
|
||||
|
|
@ -135,7 +135,6 @@ let AbstractCodeEditorService = class AbstractCodeEditorService extends Disposab
|
|||
AbstractCodeEditorService = __decorate([
|
||||
__param(0, IThemeService)
|
||||
], AbstractCodeEditorService);
|
||||
export { AbstractCodeEditorService };
|
||||
export class GlobalStyleSheet {
|
||||
constructor(styleSheet) {
|
||||
this._styleSheet = styleSheet;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ function canSyncModel(modelService, resource) {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
let EditorWorkerService = class EditorWorkerService extends Disposable {
|
||||
export let EditorWorkerService = class EditorWorkerService extends Disposable {
|
||||
constructor(modelService, configurationService, logService, languageConfigurationService, languageFeaturesService) {
|
||||
super();
|
||||
this._modelService = modelService;
|
||||
|
|
@ -135,7 +135,6 @@ EditorWorkerService = __decorate([
|
|||
__param(3, ILanguageConfigurationService),
|
||||
__param(4, ILanguageFeaturesService)
|
||||
], EditorWorkerService);
|
||||
export { EditorWorkerService };
|
||||
class WordBasedCompletionItemProvider {
|
||||
constructor(workerManager, configurationService, modelService, languageConfigurationService) {
|
||||
this.languageConfigurationService = languageConfigurationService;
|
||||
|
|
@ -421,6 +420,11 @@ export class EditorWorkerClient extends Disposable {
|
|||
return proxy.computeLinks(resource.toString());
|
||||
});
|
||||
}
|
||||
computeDefaultDocumentColors(resource) {
|
||||
return this._withSyncedResources([resource]).then(proxy => {
|
||||
return proxy.computeDefaultDocumentColors(resource.toString());
|
||||
});
|
||||
}
|
||||
textualSuggest(resources, leadingWord, wordDefRegExp) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const proxy = yield this._withSyncedResources(resources);
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/editor/browser/services/markerDecorations.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/editor/browser/services/markerDecorations.js
generated
vendored
|
|
@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|||
};
|
||||
import { IMarkerDecorationsService } from '../../common/services/markerDecorations.js';
|
||||
import { registerEditorContribution } from '../editorExtensions.js';
|
||||
let MarkerDecorationsContribution = class MarkerDecorationsContribution {
|
||||
export let MarkerDecorationsContribution = class MarkerDecorationsContribution {
|
||||
constructor(_editor, _markerDecorationsService) {
|
||||
// Doesn't do anything, just requires `IMarkerDecorationsService` to make sure it gets instantiated
|
||||
}
|
||||
|
|
@ -24,5 +24,4 @@ MarkerDecorationsContribution.ID = 'editor.contrib.markerDecorations';
|
|||
MarkerDecorationsContribution = __decorate([
|
||||
__param(1, IMarkerDecorationsService)
|
||||
], MarkerDecorationsContribution);
|
||||
export { MarkerDecorationsContribution };
|
||||
registerEditorContribution(MarkerDecorationsContribution.ID, MarkerDecorationsContribution, 0 /* EditorContributionInstantiation.Eager */); // eager because it instantiates IMarkerDecorationsService which is responsible for rendering squiggles
|
||||
|
|
|
|||
3
node_modules/monaco-editor-core/esm/vs/editor/browser/services/openerService.js
generated
vendored
3
node_modules/monaco-editor-core/esm/vs/editor/browser/services/openerService.js
generated
vendored
|
|
@ -106,7 +106,7 @@ let EditorOpener = class EditorOpener {
|
|||
EditorOpener = __decorate([
|
||||
__param(0, ICodeEditorService)
|
||||
], EditorOpener);
|
||||
let OpenerService = class OpenerService {
|
||||
export let OpenerService = class OpenerService {
|
||||
constructor(editorService, commandService) {
|
||||
this._openers = new LinkedList();
|
||||
this._validators = new LinkedList();
|
||||
|
|
@ -231,4 +231,3 @@ OpenerService = __decorate([
|
|||
__param(0, ICodeEditorService),
|
||||
__param(1, ICommandService)
|
||||
], OpenerService);
|
||||
export { OpenerService };
|
||||
|
|
|
|||
30
node_modules/monaco-editor-core/esm/vs/editor/browser/stableEditorScroll.js
generated
vendored
30
node_modules/monaco-editor-core/esm/vs/editor/browser/stableEditorScroll.js
generated
vendored
|
|
@ -4,30 +4,42 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
export class StableEditorScrollState {
|
||||
static capture(editor) {
|
||||
if (editor.getScrollTop() === 0 || editor.hasPendingScrollAnimation()) {
|
||||
// Never mess with the scroll top if the editor is at the top of the file or if there is a pending scroll animation
|
||||
return new StableEditorScrollState(editor.getScrollTop(), editor.getContentHeight(), null, 0, null);
|
||||
}
|
||||
let visiblePosition = null;
|
||||
let visiblePositionScrollDelta = 0;
|
||||
if (editor.getScrollTop() !== 0) {
|
||||
const visibleRanges = editor.getVisibleRanges();
|
||||
if (visibleRanges.length > 0) {
|
||||
visiblePosition = visibleRanges[0].getStartPosition();
|
||||
const visiblePositionScrollTop = editor.getTopForPosition(visiblePosition.lineNumber, visiblePosition.column);
|
||||
visiblePositionScrollDelta = editor.getScrollTop() - visiblePositionScrollTop;
|
||||
}
|
||||
const visibleRanges = editor.getVisibleRanges();
|
||||
if (visibleRanges.length > 0) {
|
||||
visiblePosition = visibleRanges[0].getStartPosition();
|
||||
const visiblePositionScrollTop = editor.getTopForPosition(visiblePosition.lineNumber, visiblePosition.column);
|
||||
visiblePositionScrollDelta = editor.getScrollTop() - visiblePositionScrollTop;
|
||||
}
|
||||
return new StableEditorScrollState(visiblePosition, visiblePositionScrollDelta, editor.getPosition());
|
||||
return new StableEditorScrollState(editor.getScrollTop(), editor.getContentHeight(), visiblePosition, visiblePositionScrollDelta, editor.getPosition());
|
||||
}
|
||||
constructor(_visiblePosition, _visiblePositionScrollDelta, _cursorPosition) {
|
||||
constructor(_initialScrollTop, _initialContentHeight, _visiblePosition, _visiblePositionScrollDelta, _cursorPosition) {
|
||||
this._initialScrollTop = _initialScrollTop;
|
||||
this._initialContentHeight = _initialContentHeight;
|
||||
this._visiblePosition = _visiblePosition;
|
||||
this._visiblePositionScrollDelta = _visiblePositionScrollDelta;
|
||||
this._cursorPosition = _cursorPosition;
|
||||
}
|
||||
restore(editor) {
|
||||
if (this._initialContentHeight === editor.getContentHeight() && this._initialScrollTop === editor.getScrollTop()) {
|
||||
// The editor's content height and scroll top haven't changed, so we don't need to do anything
|
||||
return;
|
||||
}
|
||||
if (this._visiblePosition) {
|
||||
const visiblePositionScrollTop = editor.getTopForPosition(this._visiblePosition.lineNumber, this._visiblePosition.column);
|
||||
editor.setScrollTop(visiblePositionScrollTop + this._visiblePositionScrollDelta);
|
||||
}
|
||||
}
|
||||
restoreRelativeVerticalPositionOfCursor(editor) {
|
||||
if (this._initialContentHeight === editor.getContentHeight() && this._initialScrollTop === editor.getScrollTop()) {
|
||||
// The editor's content height and scroll top haven't changed, so we don't need to do anything
|
||||
return;
|
||||
}
|
||||
const currentCursorPosition = editor.getPosition();
|
||||
if (!this._cursorPosition || !currentCursorPosition) {
|
||||
return;
|
||||
|
|
|
|||
6
node_modules/monaco-editor-core/esm/vs/editor/browser/view.js
generated
vendored
6
node_modules/monaco-editor-core/esm/vs/editor/browser/view.js
generated
vendored
|
|
@ -194,7 +194,7 @@ export class View extends ViewEventHandler {
|
|||
}
|
||||
_applyLayout() {
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this.domNode.setWidth(layoutInfo.width);
|
||||
this.domNode.setHeight(layoutInfo.height);
|
||||
this._overflowGuardContainer.setWidth(layoutInfo.width);
|
||||
|
|
@ -204,7 +204,7 @@ export class View extends ViewEventHandler {
|
|||
}
|
||||
_getEditorClassName() {
|
||||
const focused = this._textAreaHandler.isFocused() ? ' focused' : '';
|
||||
return this._context.configuration.options.get(136 /* EditorOption.editorClassName */) + ' ' + getThemeTypeSelector(this._context.theme.type) + focused;
|
||||
return this._context.configuration.options.get(137 /* EditorOption.editorClassName */) + ' ' + getThemeTypeSelector(this._context.theme.type) + focused;
|
||||
}
|
||||
// --- begin event handlers
|
||||
handleEvents(events) {
|
||||
|
|
@ -310,7 +310,7 @@ export class View extends ViewEventHandler {
|
|||
scrollTop: scrollPosition.scrollTop,
|
||||
scrollLeft: scrollPosition.scrollLeft
|
||||
}, 1 /* ScrollType.Immediate */);
|
||||
this._context.viewModel.tokenizeViewport();
|
||||
this._context.viewModel.visibleLinesStabilized();
|
||||
}
|
||||
getOffsetForColumn(modelLineNumber, modelColumn) {
|
||||
const modelPosition = this._context.viewModel.model.validatePosition({
|
||||
|
|
|
|||
8
node_modules/monaco-editor-core/esm/vs/editor/browser/view/domLineBreaksComputer.js
generated
vendored
8
node_modules/monaco-editor-core/esm/vs/editor/browser/view/domLineBreaksComputer.js
generated
vendored
|
|
@ -2,13 +2,13 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
var _a;
|
||||
import { StringBuilder } from '../../common/core/stringBuilder.js';
|
||||
import { createTrustedTypesPolicy } from '../../../base/browser/trustedTypes.js';
|
||||
import * as strings from '../../../base/common/strings.js';
|
||||
import { applyFontInfo } from '../config/domFontInfo.js';
|
||||
import { LineInjectedText } from '../../common/textModelEvents.js';
|
||||
import { StringBuilder } from '../../common/core/stringBuilder.js';
|
||||
import { ModelLineProjectionData } from '../../common/modelLineProjectionData.js';
|
||||
const ttPolicy = (_a = window.trustedTypes) === null || _a === void 0 ? void 0 : _a.createPolicy('domLineBreaksComputer', { createHTML: value => value });
|
||||
import { LineInjectedText } from '../../common/textModelEvents.js';
|
||||
const ttPolicy = createTrustedTypesPolicy('domLineBreaksComputer', { createHTML: value => value });
|
||||
export class DOMLineBreaksComputerFactory {
|
||||
static create() {
|
||||
return new DOMLineBreaksComputerFactory();
|
||||
|
|
|
|||
2
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewController.js
generated
vendored
2
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewController.js
generated
vendored
|
|
@ -69,7 +69,7 @@ export class ViewController {
|
|||
}
|
||||
dispatchMouse(data) {
|
||||
const options = this.configuration.options;
|
||||
const selectionClipboardIsOn = (platform.isLinux && options.get(102 /* EditorOption.selectionClipboard */));
|
||||
const selectionClipboardIsOn = (platform.isLinux && options.get(103 /* EditorOption.selectionClipboard */));
|
||||
const columnSelection = options.get(20 /* EditorOption.columnSelection */);
|
||||
if (data.middleButton && !selectionClipboardIsOn) {
|
||||
this._columnSelect(data.position, data.mouseColumn, data.inSelectionMode);
|
||||
|
|
|
|||
9
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewLayer.js
generated
vendored
9
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewLayer.js
generated
vendored
|
|
@ -2,8 +2,9 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
var _a;
|
||||
import { createFastDomNode } from '../../../base/browser/fastDomNode.js';
|
||||
import { createTrustedTypesPolicy } from '../../../base/browser/trustedTypes.js';
|
||||
import { BugIndicatingError } from '../../../base/common/errors.js';
|
||||
import { StringBuilder } from '../../common/core/stringBuilder.js';
|
||||
export class RenderedLinesCollection {
|
||||
constructor(createLine) {
|
||||
|
|
@ -41,7 +42,7 @@ export class RenderedLinesCollection {
|
|||
getLine(lineNumber) {
|
||||
const lineIndex = lineNumber - this._rendLineNumberStart;
|
||||
if (lineIndex < 0 || lineIndex >= this._lines.length) {
|
||||
throw new Error('Illegal value for lineNumber');
|
||||
throw new BugIndicatingError('Illegal value for lineNumber');
|
||||
}
|
||||
return this._lines[lineIndex];
|
||||
}
|
||||
|
|
@ -191,7 +192,7 @@ export class VisibleLinesCollection {
|
|||
}
|
||||
// ---- begin view event handlers
|
||||
onConfigurationChanged(e) {
|
||||
if (e.hasChanged(139 /* EditorOption.layoutInfo */)) {
|
||||
if (e.hasChanged(140 /* EditorOption.layoutInfo */)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
@ -460,5 +461,5 @@ class ViewLayerRenderer {
|
|||
}
|
||||
}
|
||||
}
|
||||
ViewLayerRenderer._ttPolicy = (_a = window.trustedTypes) === null || _a === void 0 ? void 0 : _a.createPolicy('editorViewLayer', { createHTML: value => value });
|
||||
ViewLayerRenderer._ttPolicy = createTrustedTypesPolicy('editorViewLayer', { createHTML: value => value });
|
||||
ViewLayerRenderer._sb = new StringBuilder(100000);
|
||||
|
|
|
|||
8
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewOverlays.js
generated
vendored
8
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewOverlays.js
generated
vendored
|
|
@ -163,14 +163,14 @@ export class ContentViewOverlays extends ViewOverlays {
|
|||
constructor(context) {
|
||||
super(context);
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._contentWidth = layoutInfo.contentWidth;
|
||||
this.domNode.setHeight(0);
|
||||
}
|
||||
// --- begin event handlers
|
||||
onConfigurationChanged(e) {
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._contentWidth = layoutInfo.contentWidth;
|
||||
return super.onConfigurationChanged(e) || true;
|
||||
}
|
||||
|
|
@ -187,7 +187,7 @@ export class MarginViewOverlays extends ViewOverlays {
|
|||
constructor(context) {
|
||||
super(context);
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._contentLeft = layoutInfo.contentLeft;
|
||||
this.domNode.setClassName('margin-view-overlays');
|
||||
this.domNode.setWidth(1);
|
||||
|
|
@ -196,7 +196,7 @@ export class MarginViewOverlays extends ViewOverlays {
|
|||
onConfigurationChanged(e) {
|
||||
const options = this._context.configuration.options;
|
||||
applyFontInfo(this.domNode, options.get(48 /* EditorOption.fontInfo */));
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
this._contentLeft = layoutInfo.contentLeft;
|
||||
return super.onConfigurationChanged(e) || true;
|
||||
}
|
||||
|
|
|
|||
13
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewUserInputEvents.js
generated
vendored
13
node_modules/monaco-editor-core/esm/vs/editor/browser/view/viewUserInputEvents.js
generated
vendored
|
|
@ -2,6 +2,7 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { Position } from '../../common/core/position.js';
|
||||
export class ViewUserInputEvents {
|
||||
constructor(coordinatesConverter) {
|
||||
this.onKeyDown = null;
|
||||
|
|
@ -81,6 +82,18 @@ export class ViewUserInputEvents {
|
|||
if (result.range) {
|
||||
result.range = coordinatesConverter.convertViewRangeToModelRange(result.range);
|
||||
}
|
||||
if (result.type === 5 /* MouseTargetType.GUTTER_VIEW_ZONE */ || result.type === 8 /* MouseTargetType.CONTENT_VIEW_ZONE */) {
|
||||
result.detail = this.convertViewToModelViewZoneData(result.detail, coordinatesConverter);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
static convertViewToModelViewZoneData(data, coordinatesConverter) {
|
||||
return {
|
||||
viewZoneId: data.viewZoneId,
|
||||
positionBefore: data.positionBefore ? coordinatesConverter.convertViewPositionToModelPosition(data.positionBefore) : data.positionBefore,
|
||||
positionAfter: data.positionAfter ? coordinatesConverter.convertViewPositionToModelPosition(data.positionAfter) : data.positionAfter,
|
||||
position: coordinatesConverter.convertViewPositionToModelPosition(data.position),
|
||||
afterLineNumber: coordinatesConverter.convertViewPositionToModelPosition(new Position(data.afterLineNumber, 1)).lineNumber,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export class BlockDecorations extends ViewPart {
|
|||
update() {
|
||||
let didChange = false;
|
||||
const options = this._context.configuration.options;
|
||||
const layoutInfo = options.get(139 /* EditorOption.layoutInfo */);
|
||||
const layoutInfo = options.get(140 /* EditorOption.layoutInfo */);
|
||||
const newContentWidth = layoutInfo.contentWidth - layoutInfo.verticalScrollbarWidth;
|
||||
if (this.contentWidth !== newContentWidth) {
|
||||
this.contentWidth = newContentWidth;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue