ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ICodeEditor } from '../../../../editor/browser/editorBrowser.js';
import { Handler } from '../../../../editor/common/editorCommon.js';
import { localize } from '../../../../nls.js';
import { IDialogService } from '../../../../platform/dialogs/common/dialogs.js';
import { IStorageService, StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
const terminalCommandPasteDontAskAgainStorageKey = 'chat.terminalCommandPaste.dontAskAgain';
/**
* Returns whether the current input `value` would be executed as a terminal
* command, i.e. a `prefix` is advertised and the value begins with it. Chat
* inputs use this to switch to a monospace font while a command is composed.
*/
export function isTerminalCommandInputvalue prefix
prefix valueprefix
prefix
pastedText
currentValue
selectionStartOffset
selectionEndOffset
paste ITerminalCommandPaste
selectionStartOffset Math MathpasteselectionStartOffset pastecurrentValuelength
selectionEndOffset MathselectionStartOffset MathpasteselectionEndOffset pastecurrentValuelength
pastecurrentValuelength selectionStartOffset
resultingText pastecurrentValue selectionStartOffset pastepastedText pastecurrentValueselectionEndOffset
resultingTextpasteprefix
storageService IStorageService
storageServiceterminalCommandPasteDontAskAgainStorageKey StorageScope
dialogService IDialogService
storageService IStorageService
prefix
storageService
result dialogService
type
message prefix
buttons
label
label
custom
cancelButton
result
storageServiceterminalCommandPasteDontAskAgainStorageKey StorageScope StorageTarget
result
e ClipboardEvent
editor ICodeEditor
prefix
dialogService IDialogService
storageService IStorageService
edefaultPrevented prefix
pastedText eclipboardData
model editor
selection editor
pastedText model selection
paste ITerminalCommandPaste
prefix
pastedText
currentValue model
selectionStartOffset modelselection
selectionEndOffset modelselection
paste storageService
e
e
dialogService storageService prefixresult
result
editor HandlerPaste text pastedText