ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / editor / common / editorContextKeys.ts 100 строк · изменён 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import * as nls from '../../nls.js' ;
import { RawContextKey } from '../../platform/contextkey/common/contextkey.js' ;
export namespace EditorContextKeys {
export const editorSimpleInput = new RawContextKey< boolean > ( 'editorSimpleInput' , false , true ) ;
export const editorTextFocus = new RawContextKey< boolean > ( 'editorTextFocus' , false , nls
focus nls
textInputFocus nls
readOnly nls
inDiffEditor nls
isEmbeddedDiffEditor nls
inMultiDiffEditor nls
multiDiffEditorAllCollapsed nls
multiDiffEditorItemAllUnchangedRegionsShown nls
multiDiffEditorRenderSideBySide nls
hasChanges nls
comparingMovedCode nls
accessibleDiffViewerVisible nls
diffEditorRenderSideBySideInlineBreakpointReached nls
diffEditorInlineMode nls
diffEditorOriginalWritable nls
diffEditorModifiedWritable nls
diffEditorOriginalUri nls
diffEditorModifiedUri nls
columnSelection nls
writable readOnly
hasNonEmptySelection nls
hasOnlyEmptySelection hasNonEmptySelection
hasMultipleSelections nls
hasSingleSelection hasMultipleSelections
tabMovesFocus nls
tabDoesNotMoveFocus tabMovesFocus
isInEmbeddedEditor
canUndo
canRedo
hoverVisible nls
hoverFocused nls
stickyScrollFocused nls
stickyScrollVisible nls
standaloneColorPickerVisible nls
standaloneColorPickerFocused nls
isComposing nls
inCompositeEditor nls
notInCompositeEditor inCompositeEditor
languageId nls
hasCompletionItemProvider nls
hasCodeActionsProvider nls
hasCodeLensProvider nls
hasDefinitionProvider nls
hasDeclarationProvider nls
hasImplementationProvider nls
hasTypeDefinitionProvider nls
hasHoverProvider nls
hasDocumentHighlightProvider nls
hasDocumentSymbolProvider nls
hasReferenceProvider nls
hasRenameProvider nls
hasSignatureHelpProvider nls
hasInlayHintsProvider nls
hasDocumentFormattingProvider nls
hasDocumentSelectionFormattingProvider nls
hasMultipleDocumentFormattingProvider nls
hasMultipleDocumentSelectionFormattingProvider nls
selectionHasDiagnostics nls
.
localize
(
'editorTextFocus'
,
"Whether the editor text has focus (cursor is blinking)"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorFocus'
,
false
,
.
localize
(
'editorFocus'
,
"Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'textInputFocus'
,
false
,
.
localize
(
'textInputFocus'
,
"Whether an editor or a rich text input has focus (cursor is blinking)"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorReadonly'
,
false
,
.
localize
(
'editorReadonly'
,
"Whether the editor is read-only"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'inDiffEditor'
,
false
,
.
localize
(
'inDiffEditor'
,
"Whether the context is a diff editor"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'isEmbeddedDiffEditor'
,
false
,
.
localize
(
'isEmbeddedDiffEditor'
,
"Whether the context is an embedded diff editor"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'inMultiDiffEditor'
,
false
,
.
localize
(
'inMultiDiffEditor'
,
"Whether the context is a multi diff editor"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'multiDiffEditorAllCollapsed'
,
undefined
,
.
localize
(
'multiDiffEditorAllCollapsed'
,
"Whether all files in multi diff editor are collapsed"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'multiDiffEditorItemAllUnchangedRegionsShown'
,
false
,
.
localize
(
'multiDiffEditorItemAllUnchangedRegionsShown'
,
"Whether all unchanged regions of a multi diff editor file are revealed"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'multiDiffEditorRenderSideBySide'
,
true
,
.
localize
(
'multiDiffEditorRenderSideBySide'
,
"Whether the multi diff editor renders diffs side by side instead of inline"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'diffEditorHasChanges'
,
false
,
.
localize
(
'diffEditorHasChanges'
,
"Whether the diff editor has changes"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'comparingMovedCode'
,
false
,
.
localize
(
'comparingMovedCode'
,
"Whether a moved code block is selected for comparison"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'accessibleDiffViewerVisible'
,
false
,
.
localize
(
'accessibleDiffViewerVisible'
,
"Whether the accessible diff viewer is visible"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'diffEditorRenderSideBySideInlineBreakpointReached'
,
false
,
.
localize
(
'diffEditorRenderSideBySideInlineBreakpointReached'
,
"Whether the diff editor render side by side inline breakpoint is reached"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'diffEditorInlineMode'
,
false
,
.
localize
(
'diffEditorInlineMode'
,
"Whether inline mode is active"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'diffEditorOriginalWritable'
,
false
,
.
localize
(
'diffEditorOriginalWritable'
,
"Whether modified is writable in the diff editor"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'diffEditorModifiedWritable'
,
false
,
.
localize
(
'diffEditorModifiedWritable'
,
"Whether modified is writable in the diff editor"
)
)
;
export
const
=
new
RawContextKey< string >
(
'diffEditorOriginalUri'
,
''
,
.
localize
(
'diffEditorOriginalUri'
,
"The uri of the original document"
)
)
;
export
const
=
new
RawContextKey< string >
(
'diffEditorModifiedUri'
,
''
,
.
localize
(
'diffEditorModifiedUri'
,
"The uri of the modified document"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorColumnSelection'
,
false
,
.
localize
(
'editorColumnSelection'
,
"Whether `editor.columnSelection` is enabled"
)
)
;
export
const
=
.
toNegated
(
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasSelection'
,
false
,
.
localize
(
'editorHasSelection'
,
"Whether the editor has text selected"
)
)
;
export
const
=
.
toNegated
(
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasMultipleSelections'
,
false
,
.
localize
(
'editorHasMultipleSelections'
,
"Whether the editor has multiple selections"
)
)
;
export
const
=
.
toNegated
(
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorTabMovesFocus'
,
false
,
.
localize
(
'editorTabMovesFocus'
,
"Whether `Tab` will move focus out of the editor"
)
)
;
export
const
=
.
toNegated
(
)
;
export
const
=
new
RawContextKey< boolean >
(
'isInEmbeddedEditor'
,
false
,
true
)
;
export
const
=
new
RawContextKey< boolean >
(
'canUndo'
,
false
,
true
)
;
export
const
=
new
RawContextKey< boolean >
(
'canRedo'
,
false
,
true
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHoverVisible'
,
false
,
.
localize
(
'editorHoverVisible'
,
"Whether the editor hover is visible"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHoverFocused'
,
false
,
.
localize
(
'editorHoverFocused'
,
"Whether the editor hover is focused"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'stickyScrollFocused'
,
false
,
.
localize
(
'stickyScrollFocused'
,
"Whether the sticky scroll is focused"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'stickyScrollVisible'
,
false
,
.
localize
(
'stickyScrollVisible'
,
"Whether the sticky scroll is visible"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'standaloneColorPickerVisible'
,
false
,
.
localize
(
'standaloneColorPickerVisible'
,
"Whether the standalone color picker is visible"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'standaloneColorPickerFocused'
,
false
,
.
localize
(
'standaloneColorPickerFocused'
,
"Whether the standalone color picker is focused"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'isComposing'
,
false
,
.
localize
(
'isComposing'
,
"Whether the editor is in the composition mode"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'inCompositeEditor'
,
undefined
,
.
localize
(
'inCompositeEditor'
,
"Whether the editor is part of a larger editor (e.g. notebooks)"
)
)
;
export
const
=
.
toNegated
(
)
;
export
const
=
new
RawContextKey< string >
(
'editorLangId'
,
''
,
.
localize
(
'editorLangId'
,
"The language identifier of the editor"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasCompletionItemProvider'
,
false
,
.
localize
(
'editorHasCompletionItemProvider'
,
"Whether the editor has a completion item provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasCodeActionsProvider'
,
false
,
.
localize
(
'editorHasCodeActionsProvider'
,
"Whether the editor has a code actions provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasCodeLensProvider'
,
false
,
.
localize
(
'editorHasCodeLensProvider'
,
"Whether the editor has a code lens provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDefinitionProvider'
,
false
,
.
localize
(
'editorHasDefinitionProvider'
,
"Whether the editor has a definition provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDeclarationProvider'
,
false
,
.
localize
(
'editorHasDeclarationProvider'
,
"Whether the editor has a declaration provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasImplementationProvider'
,
false
,
.
localize
(
'editorHasImplementationProvider'
,
"Whether the editor has an implementation provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasTypeDefinitionProvider'
,
false
,
.
localize
(
'editorHasTypeDefinitionProvider'
,
"Whether the editor has a type definition provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasHoverProvider'
,
false
,
.
localize
(
'editorHasHoverProvider'
,
"Whether the editor has a hover provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDocumentHighlightProvider'
,
false
,
.
localize
(
'editorHasDocumentHighlightProvider'
,
"Whether the editor has a document highlight provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDocumentSymbolProvider'
,
false
,
.
localize
(
'editorHasDocumentSymbolProvider'
,
"Whether the editor has a document symbol provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasReferenceProvider'
,
false
,
.
localize
(
'editorHasReferenceProvider'
,
"Whether the editor has a reference provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasRenameProvider'
,
false
,
.
localize
(
'editorHasRenameProvider'
,
"Whether the editor has a rename provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasSignatureHelpProvider'
,
false
,
.
localize
(
'editorHasSignatureHelpProvider'
,
"Whether the editor has a signature help provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasInlayHintsProvider'
,
false
,
.
localize
(
'editorHasInlayHintsProvider'
,
"Whether the editor has an inline hints provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDocumentFormattingProvider'
,
false
,
.
localize
(
'editorHasDocumentFormattingProvider'
,
"Whether the editor has a document formatting provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasDocumentSelectionFormattingProvider'
,
false
,
.
localize
(
'editorHasDocumentSelectionFormattingProvider'
,
"Whether the editor has a document selection formatting provider"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasMultipleDocumentFormattingProvider'
,
false
,
.
localize
(
'editorHasMultipleDocumentFormattingProvider'
,
"Whether the editor has multiple document formatting providers"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorHasMultipleDocumentSelectionFormattingProvider'
,
false
,
.
localize
(
'editorHasMultipleDocumentSelectionFormattingProvider'
,
"Whether the editor has multiple document selection formatting providers"
)
)
;
export
const
=
new
RawContextKey< boolean >
(
'editorSelectionHasDiagnostics'
,
false
,
.
localize
(
'editorSelectionHasDiagnostics'
,
"Whether any diagnostic is present in the current editor selection"
)
)
;
}