ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / workbench / contrib / testing / browser / icons.ts 82 строк · изменён 14 нояб., 04:52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import { Codicon } from '../../../../base/common/codicons.js' ;
import { localize } from '../../../../nls.js' ;
import { registerIcon, spinningLoading } from '../../../../platform/theme/common/iconRegistry.js' ;
import { registerThemingParticipant } from '../../../../platform/theme/common/themeService.js' ;
import { ThemeIcon } from '../../../../base/common/themables.js' ;
import { testingColorRunAction, testStatesToIconColors, testStatesToRetiredIconColors } from './theme.js' ;
import { TestResultState } from '../common/testTypes.js'
testingViewIcon Codicon beaker
testingResultsIcon Codicon checklist
testingRunIcon Codicon run
testingRerunIcon Codicon debugRerun
testingRunAllIcon Codicon runAll
testingDebugAllIcon Codicon debugAltSmall
testingDebugIcon Codicon debugAltSmall
testingCoverageIcon Codicon runCoverage
testingCoverageAllIcon Codicon runAllCoverage
testingCancelIcon Codicon debugStop
testingFilterIcon Codicon filter
testingHiddenIcon Codicon eyeClosed
testingShowAsList Codicon listTree
testingShowAsTree Codicon listFlat
testingUpdateProfiles Codicon gear
testingRefreshTests Codicon refresh
testingTurnContinuousRunOn Codicon eye
testingTurnContinuousRunOff Codicon eyeClosed
testingContinuousIsOn Codicon eye
testingCancelRefreshTests Codicon stop
testingCoverageReport Codicon coverage
testingWasCovered Codicon check
testingCoverageMissingBranch Codicon question
testingStatesToIcons
TestResultState Errored Codicon issues
TestResultState Failed Codicon error
TestResultState Passed Codicon pass
TestResultState Queued Codicon history
TestResultState Running spinningLoading
TestResultState Skipped Codicon debugStepOver
TestResultState Unset Codicon circleOutline
theme collector
state icon testingStatesToIcons
color testStatesToIconColors state
retiredColor testStatesToRetiredIconColors state
color
collector
retiredColor
collector
collector
;
export
const
=
registerIcon
(
'test-view-icon'
,
.
,
localize
(
'testViewIcon'
,
'View icon of the test view.'
)
)
;
export
const
=
registerIcon
(
'test-results-icon'
,
.
,
localize
(
'testingResultsIcon'
,
'Icons for test results.'
)
)
;
export
const
=
registerIcon
(
'testing-run-icon'
,
.
,
localize
(
'testingRunIcon'
,
'Icon of the "run test" action.'
)
)
;
export
const
=
registerIcon
(
'testing-rerun-icon'
,
.
,
localize
(
'testingRerunIcon'
,
'Icon of the "rerun tests" action.'
)
)
;
export
const
=
registerIcon
(
'testing-run-all-icon'
,
.
,
localize
(
'testingRunAllIcon'
,
'Icon of the "run all tests" action.'
)
)
;
export
const
=
registerIcon
(
'testing-debug-all-icon'
,
.
,
localize
(
'testingDebugAllIcon'
,
'Icon of the "debug all tests" action.'
)
)
;
export
const
=
registerIcon
(
'testing-debug-icon'
,
.
,
localize
(
'testingDebugIcon'
,
'Icon of the "debug test" action.'
)
)
;
export
const
=
registerIcon
(
'testing-coverage-icon'
,
.
,
localize
(
'testingCoverageIcon'
,
'Icon of the "run test with coverage" action.'
)
)
;
export
const
=
registerIcon
(
'testing-coverage-all-icon'
,
.
,
localize
(
'testingRunAllWithCoverageIcon'
,
'Icon of the "run all tests with coverage" action.'
)
)
;
export
const
=
registerIcon
(
'testing-cancel-icon'
,
.
,
localize
(
'testingCancelIcon'
,
'Icon to cancel ongoing test runs.'
)
)
;
export
const
=
registerIcon
(
'testing-filter'
,
.
,
localize
(
'filterIcon'
,
'Icon for the \'Filter\' action in the testing view.'
)
)
;
export
const
=
registerIcon
(
'testing-hidden'
,
.
,
localize
(
'hiddenIcon'
,
'Icon shown beside hidden tests, when they\'ve been shown.'
)
)
;
export
const
=
registerIcon
(
'testing-show-as-list-icon'
,
.
,
localize
(
'testingShowAsList'
,
'Icon shown when the test explorer is disabled as a tree.'
)
)
;
export
const
=
registerIcon
(
'testing-show-as-list-icon'
,
.
,
localize
(
'testingShowAsTree'
,
'Icon shown when the test explorer is disabled as a list.'
)
)
;
export
const
=
registerIcon
(
'testing-update-profiles'
,
.
,
localize
(
'testingUpdateProfiles'
,
'Icon shown to update test profiles.'
)
)
;
export
const
=
registerIcon
(
'testing-refresh-tests'
,
.
,
localize
(
'testingRefreshTests'
,
'Icon on the button to refresh tests.'
)
)
;
export
const
=
registerIcon
(
'testing-turn-continuous-run-on'
,
.
,
localize
(
'testingTurnContinuousRunOn'
,
'Icon to turn continuous test runs on.'
)
)
;
export
const
=
registerIcon
(
'testing-turn-continuous-run-off'
,
.
,
localize
(
'testingTurnContinuousRunOff'
,
'Icon to turn continuous test runs off.'
)
)
;
export
const
=
registerIcon
(
'testing-continuous-is-on'
,
.
,
localize
(
'testingTurnContinuousRunIsOn'
,
'Icon when continuous run is on for a test ite,.'
)
)
;
export
const
=
registerIcon
(
'testing-cancel-refresh-tests'
,
.
,
localize
(
'testingCancelRefreshTests'
,
'Icon on the button to cancel refreshing tests.'
)
)
;
export
const
=
registerIcon
(
'testing-coverage'
,
.
,
localize
(
'testingCoverage'
,
'Icon representing test coverage'
)
)
;
export
const
=
registerIcon
(
'testing-was-covered'
,
.
,
localize
(
'testingWasCovered'
,
'Icon representing that an element was covered'
)
)
;
export
const
=
registerIcon
(
'testing-missing-branch'
,
.
,
localize
(
'testingMissingBranch'
,
'Icon representing a uncovered block without a range'
)
)
;
export
const
=
new
Map< TestResultState, ThemeIcon>
(
[
[
.
,
registerIcon
(
'testing-error-icon'
,
.
,
localize
(
'testingErrorIcon'
,
'Icon shown for tests that have an error.'
)
)
]
,
[
.
,
registerIcon
(
'testing-failed-icon'
,
.
,
localize
(
'testingFailedIcon'
,
'Icon shown for tests that failed.'
)
)
]
,
[
.
,
registerIcon
(
'testing-passed-icon'
,
.
,
localize
(
'testingPassedIcon'
,
'Icon shown for tests that passed.'
)
)
]
,
[
.
,
registerIcon
(
'testing-queued-icon'
,
.
,
localize
(
'testingQueuedIcon'
,
'Icon shown for tests that are queued.'
)
)
]
,
[
.
,
]
,
[
.
,
registerIcon
(
'testing-skipped-icon'
,
.
,
localize
(
'testingSkippedIcon'
,
'Icon shown for tests that are skipped.'
)
)
]
,
[
.
,
registerIcon
(
'testing-unset-icon'
,
.
,
localize
(
'testingUnsetIcon'
,
'Icon shown for tests that are in an unset state.'
)
)
]
,
]
)
;
registerThemingParticipant
(
(
,
)
=>
{
for
(
const
[
,
]
of
.
entries
(
)
)
{
const
=
[
]
;
const
=
[
]
;
if
(
!
)
{
continue
;
}
.
addRule
(
` .monaco-workbench ${ ThemeIcon. asCSSSelector ( icon) } {
color: ${ theme. getColor ( color) } !important;
} `
)
;
if
(
!
)
{
continue
;
}
.
addRule
(
`
.test-explorer .computed-state.retired ${ ThemeIcon. asCSSSelector ( icon) } ,
.testing-run-glyph.retired ${ ThemeIcon. asCSSSelector ( icon) } {
color: ${ theme. getColor ( retiredColor) } !important;
}
`
)
;
}
.
addRule
(
`
.monaco-editor .glyph-margin-widgets ${ ThemeIcon. asCSSSelector ( testingRunIcon) } ,
.monaco-editor .glyph-margin-widgets ${ ThemeIcon. asCSSSelector ( testingRunAllIcon) } ,
.monaco-editor .glyph-margin-widgets ${ ThemeIcon. asCSSSelector ( testingDebugIcon) } ,
.monaco-editor .glyph-margin-widgets ${ ThemeIcon. asCSSSelector ( testingDebugAllIcon) } {
color: ${ theme. getColor ( testingColorRunAction) } ;
}
`
)
;
}
)
;