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 / notebook / common / notebookContextKeys.ts 73 строк · изменён 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
import { ContextKeyExpr, RawContextKey } from '../../../../platform/contextkey/common/contextkey.js' ;
import { INTERACTIVE_WINDOW_EDITOR_ID , NOTEBOOK_EDITOR_ID , REPL_EDITOR_ID } from './notebookCommon.js' ;
export const HAS_OPENED_NOTEBOOK = new RawContextKey< boolean > ( 'userHasOpenedNotebook' , false ) ;
export const KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED = new RawContextKey< boolean > ( 'notebookFindWidgetFocused' , false
InteractiveWindowOpen
ContextKeyExpr
ContextKeyExpr
ContextKeyExpr
ContextKeyExpr
)
;
export
const
=
new
RawContextKey< boolean >
(
'interactiveWindowOpen'
,
false
)
;
export
const
MOST_RECENT_REPL_EDITOR
=
new
RawContextKey< string >
(
'mostRecentReplEditor'
,
undefined
)
;
export
const
NOTEBOOK_IS_ACTIVE_EDITOR
=
.
equals
(
'activeEditor'
,
NOTEBOOK_EDITOR_ID
)
;
export
const
INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR
=
.
equals
(
'activeEditor'
,
INTERACTIVE_WINDOW_EDITOR_ID
)
;
export
const
REPL_NOTEBOOK_IS_ACTIVE_EDITOR
=
.
equals
(
'activeEditor'
,
REPL_EDITOR_ID
)
;
export
const
NOTEBOOK_OR_COMPOSITE_IS_ACTIVE_EDITOR
=
.
or
(
NOTEBOOK_IS_ACTIVE_EDITOR
,
INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR
,
REPL_NOTEBOOK_IS_ACTIVE_EDITOR
)
;
export
const
IS_COMPOSITE_NOTEBOOK
=
new
RawContextKey< boolean >
(
'isCompositeNotebook'
,
false
)
;
export
const
NOTEBOOK_EDITOR_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookEditorFocused'
,
false
)
;
export
const
NOTEBOOK_CELL_LIST_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookCellListFocused'
,
false
)
;
export
const
NOTEBOOK_OUTPUT_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookOutputFocused'
,
false
)
;
export
const
NOTEBOOK_OUTPUT_INPUT_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookOutputInputFocused'
,
false
)
;
export
const
NOTEBOOK_EDITOR_EDITABLE
=
new
RawContextKey< boolean >
(
'notebookEditable'
,
true
)
;
export
const
NOTEBOOK_HAS_RUNNING_CELL
=
new
RawContextKey< boolean >
(
'notebookHasRunningCell'
,
false
)
;
export
const
NOTEBOOK_HAS_SOMETHING_RUNNING
=
new
RawContextKey< boolean >
(
'notebookHasSomethingRunning'
,
false
)
;
export
const
NOTEBOOK_USE_CONSOLIDATED_OUTPUT_BUTTON
=
new
RawContextKey< boolean >
(
'notebookUseConsolidatedOutputButton'
,
false
)
;
export
const
NOTEBOOK_BREAKPOINT_MARGIN_ACTIVE
=
new
RawContextKey< boolean >
(
'notebookBreakpointMargin'
,
false
)
;
export
const
NOTEBOOK_CELL_TOOLBAR_LOCATION
=
new
RawContextKey< 'left' | 'right' | 'hidden' >
(
'notebookCellToolbarLocation'
,
'left'
)
;
export
const
NOTEBOOK_CURSOR_NAVIGATION_MODE
=
new
RawContextKey< boolean >
(
'notebookCursorNavigationMode'
,
false
)
;
export
const
NOTEBOOK_LAST_CELL_FAILED
=
new
RawContextKey< boolean >
(
'notebookLastCellFailed'
,
false
)
;
export
const
NOTEBOOK_VIEW_TYPE
=
new
RawContextKey< string >
(
'notebookType'
,
undefined
)
;
export
const
NOTEBOOK_CELL_TYPE
=
new
RawContextKey< 'code' | 'markup' >
(
'notebookCellType'
,
undefined
)
;
export
const
NOTEBOOK_CELL_EDITABLE
=
new
RawContextKey< boolean >
(
'notebookCellEditable'
,
false
)
;
export
const
NOTEBOOK_CELL_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookCellFocused'
,
false
)
;
export
const
NOTEBOOK_CELL_EDITOR_FOCUSED
=
new
RawContextKey< boolean >
(
'notebookCellEditorFocused'
,
false
)
;
export
const
NOTEBOOK_CELL_MARKDOWN_EDIT_MODE
=
new
RawContextKey< boolean >
(
'notebookCellMarkdownEditMode'
,
false
)
;
export
const
NOTEBOOK_CELL_LINE_NUMBERS
=
new
RawContextKey< 'on' | 'off' | 'inherit' >
(
'notebookCellLineNumbers'
,
'inherit'
)
;
export
type
NotebookCellExecutionStateContext
=
'idle'
|
'pending'
|
'executing'
|
'succeeded'
|
'failed'
;
export
const
NOTEBOOK_CELL_EXECUTION_STATE
=
new
RawContextKey< NotebookCellExecutionStateContext>
(
'notebookCellExecutionState'
,
undefined
)
;
export
const
NOTEBOOK_CELL_EXECUTING
=
new
RawContextKey< boolean >
(
'notebookCellExecuting'
,
false
)
;
export
const
NOTEBOOK_CELL_HAS_OUTPUTS
=
new
RawContextKey< boolean >
(
'notebookCellHasOutputs'
,
false
)
;
export
const
NOTEBOOK_CELL_IS_FIRST_OUTPUT
=
new
RawContextKey< boolean >
(
'notebookCellIsFirstOutput'
,
false
)
;
export
const
NOTEBOOK_CELL_HAS_HIDDEN_OUTPUTS
=
new
RawContextKey< boolean >
(
'hasHiddenOutputs'
,
false
)
;
export
const
NOTEBOOK_CELL_OUTPUT_MIMETYPE
=
new
RawContextKey< string >
(
'notebookCellOutputMimeType'
,
undefined
)
;
export
const
NOTEBOOK_CELL_INPUT_COLLAPSED
=
new
RawContextKey< boolean >
(
'notebookCellInputIsCollapsed'
,
false
)
;
export
const
NOTEBOOK_CELL_OUTPUT_COLLAPSED
=
new
RawContextKey< boolean >
(
'notebookCellOutputIsCollapsed'
,
false
)
;
export
const
NOTEBOOK_CELL_RESOURCE
=
new
RawContextKey< string >
(
'notebookCellResource'
,
''
)
;
export
const
NOTEBOOK_CELL_HAS_ERROR_DIAGNOSTICS
=
new
RawContextKey< boolean >
(
'notebookCellHasErrorDiagnostics'
,
false
)
;
export
const
NOTEBOOK_CELL_OUTPUT_MIME_TYPE_LIST_FOR_CHAT
=
new
RawContextKey< string [ ] >
(
'notebookCellOutputMimeTypeListForChat'
,
[
]
)
;
export
const
NOTEBOOK_KERNEL
=
new
RawContextKey< string >
(
'notebookKernel'
,
undefined
)
;
export
const
NOTEBOOK_KERNEL_COUNT
=
new
RawContextKey< number >
(
'notebookKernelCount'
,
0
)
;
export
const
NOTEBOOK_KERNEL_SOURCE_COUNT
=
new
RawContextKey< number >
(
'notebookKernelSourceCount'
,
0
)
;
export
const
NOTEBOOK_KERNEL_SELECTED
=
new
RawContextKey< boolean >
(
'notebookKernelSelected'
,
false
)
;
export
const
NOTEBOOK_INTERRUPTIBLE_KERNEL
=
new
RawContextKey< boolean >
(
'notebookInterruptibleKernel'
,
false
)
;
export
const
NOTEBOOK_MISSING_KERNEL_EXTENSION
=
new
RawContextKey< boolean >
(
'notebookMissingKernelExtension'
,
false
)
;
export
const
NOTEBOOK_HAS_OUTPUTS
=
new
RawContextKey< boolean >
(
'notebookHasOutputs'
,
false
)
;
export
const
KERNEL_HAS_VARIABLE_PROVIDER
=
new
RawContextKey< boolean >
(
'kernelHasVariableProvider'
,
false
)
;