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 'mocha';
import { strictEqual } from 'node:assert';
import { getTokenType, TokenType } from '../tokens';
import { TerminalShellType } from '../constants';
suite('Terminal Suggest', () => {
test('simple command', () => {
strictEqual(getTokenType({ commandLine: 'echo', cursorIndex: 'echo'.length TokenTypeCommand
commandLine cursorIndex length TokenTypeArgument
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TokenTypeArgument
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeCommand
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeArgument
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeCommand
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeArgument
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeCommand
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeBash TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeZsh TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeFish TokenTypeCommand
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeCommand
commandLine cursorIndex length TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeBash TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeZsh TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeFish TokenTypeArgument
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeArgument
commandLine cursorIndex length TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeBash TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeZsh TokenTypeCommand
commandLine cursorIndex length TerminalShellTypeFish TokenTypeCommand
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeCommand
commandLine cursorIndex length TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeBash TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeZsh TokenTypeArgument
commandLine cursorIndex length TerminalShellTypeFish TokenTypeArgument
commandLine cursorIndex length TerminalShellTypePowerShell TokenTypeArgument