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 assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { AtomicTabMoveOperations, Direction } from '../../../common/cursor/cursorAtomicMoveOperations.js';
suite('Cursor move command test', () => {
ensureNoDisposablesAreLeakedInTestSuite();
test('Test whitespaceVisibleColumn', () => {
const testCases = [
{
lineContent: ' ',
tabSize: 4
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
lineContent
tabSize
expectedPrevTabStopPosition
expectedPrevTabStopVisibleColumn
expectedVisibleColumn
testCase testCases
maxPosition testCaseexpectedVisibleColumnlength
position position maxPosition position
actual AtomicTabMoveOperationstestCaselineContent position testCasetabSize
expected
testCaseexpectedPrevTabStopPositionposition
testCaseexpectedPrevTabStopVisibleColumnposition
testCaseexpectedVisibleColumnposition
assertactual expected
testCases
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
lineContent
tabSize
expectedLeft
expectedRight
expectedNearest
testCase testCases
direction expected
direction DirectionLeft
expected testCaseexpectedLeft
direction DirectionRight
expected testCaseexpectedRight
direction DirectionNearest
expected testCaseexpectedNearest
actual expected_ i AtomicTabMoveOperationstestCaselineContent i testCasetabSize direction
assertactual expected