Skip to content

Reference ​

Every name each entry point exports, read from its source. Anything not listed is internal and may change in any release.

Two entry points hold no code. @adecore/editor-react/editor-react.css holds the styles of the cards; see Getting started. @adecore/editor-react/locales/en and nl hold the words of the editor namespace, which an app adds to its i18next instance; see Words.

@adecore/editor-react ​

The components, ProjectLanguage, EditorLanguage, the features, the hosts and the popup views.

NameKindSource
EditorLanguageclasseditor-language
EditorLanguageOptionstypeeditor-language
KEY_PRIORITYconstkey-priority
realTimersconsttimers
Timerstypetimers
SemanticTokensOptionstypesemantic-tokens
ProjectLanguageclassproject-language
FileOperationTargettypeproject-language
NavigationHosttypenavigation-history
PanelsHosttypepanel-size
ProblemsHosttypeproject-problems
TemplatesHosttypetemplates
ClipboardHosttypeclipboard-history
AcquireOptionstypeproject-language
LanguageDocumentHandletypeproject-language
LanguageServiceFactorytypeproject-language
SnippetVariableContexttypehost-types
LanguageHosttypehost-types
SnippetsHosttypehost-types
MessagesHosttypehost-types
RenameHosttypehost-types
DiskTexttypehost-types
GitBlameCommittypehost-types
GitBlameResulttypehost-types
EditorNotificationtypehost-types
RenameSuggestionsRequesttypehost-types
EditorViewcomponentEditorView
createHolderfunctionholder
EditorViewPropstypeEditorView
LanguagePopupscomponentLanguagePopups
LanguagePopupsPropstypeLanguagePopups
AnchoredPopupcomponentAnchoredPopup
SignatureCardcomponentSignatureCard
RenderedDocsFeatureclassrendered-docs
DocumentLinksFeatureclassdocument-links
DocumentColorsFeatureclassdocument-colors
LinkedEditingFeatureclasslinked-editing
firstWordfunctioninline-completion
InlineCompletionFeatureclassinline-completion
InlineSuggestiontypeinline-completion
InlineSuggestionRequesttypeinline-completion
InlineSuggestionSourcetypeinline-completion
RenderedDocEntrytyperendered-docs
RenderedDocsSettingstyperendered-docs
DocTagEntrytypedoc-comment-model
DocTagSectiontypedoc-comment-model
ParsedDocCommenttypedoc-comment-model
EditorRenderingProvidercomponentrendering
EditorRenderingtyperendering-context
FindReplacecomponentFindReplace
ChangeReviewcomponentChangeReview
ChangeReviewPropstypeChangeReview
ProjectProblemsclassproject-problems
serviceProblemsfunctionproject-problems
countsOffunctionproject-problems
ProblemFiletypeproject-problems
ProblemRowtypeproject-problems
ProblemReporttypeproject-problems
ProblemSourcetypeproject-problems
applyWorkspaceEditfunctionworkspace-edit
supportedResourceOperationsfunctionworkspace-edit
WorkspaceEditHosttypeworkspace-edit
ProjectFilestypehost-types
StagedFiletypehost-types
useProblemCountshookuse-problem-counts
ProblemCountstypediagnostics-model
BlameSourcetypecode-vision
CodeVisionSettingstypecode-vision
HoverSettingstypehover
Popupsclasspopups
PopupSlotclasspopups
PopupViewstypepopups
HoverInfotypepopups
HoverViewtypepopups
CompletionViewtypepopups
CompletionRowtypepopups
SignatureViewtypepopups
RenameViewtypepopups
RenameFileViewtypepopups
PeekViewtypepopups
CallHierarchyViewtypepopups
PickViewtypepopups
PickGrouptypepopups
PickRowtypepopups
PickPreviewtypepopups
SymbolsViewtypepopups
MenuViewtypepopups
AuthorsViewtypepopups
WrapViewtypepopups
CompletionDocstypecompletion-model
MarkupFeatureclassmarkup
SurroundFeatureclasssurround
MarkupSettingstypemarkup
RowHostclassrow-host
LineActionHostclassrow-host
HostedRowtyperow-host
HostedActiontyperow-host
HighlightLayersclasshighlight-layers
highlightLayersfunctionhighlight-layers
NavigationHistoryclassnavigation-history
Placetypenavigation-history
EditLocationsclassedit-locations
EditPlacetypeedit-locations
ClipboardHistoryclassclipboard-history
ClipboardEntrytypeclipboard-history
ClipboardHistoryOptionstypeclipboard-history
PasteHistoryFeatureclasspaste-history
TemplatesFeatureclasslive-templates
TemplateRegistryclasstemplates
checkTemplatefunctiontemplates
BUILT_IN_LIVE_TEMPLATESconsttemplates
BUILT_IN_POSTFIX_TEMPLATESconsttemplates
LiveTemplateDrafttypetemplates
TemplateSettingstypetemplates
TemplateRegistryOptionstypetemplates
TemplateUpdatetypetemplates
LiveTemplatetypetemplate-types
PostfixTemplatetypetemplate-types
TemplateLanguagetypetemplate-types
TemplatePlacetypetemplate-types
openingPlacefunctionview-state
viewStatesconstview-state
followViewStatesfunctionview-state
viewStateKeyfunctionview-state
forgetMovesFromfunctionview-state
ViewStatetypeview-state
RevealLineRequesttypeview-state
shikiLanguageOffunctionlanguage-ids
shikiLanguageOfPathfunctionlanguage-ids
AttributionCardcomponentAttributionCard
AttributionCardPropstypeAttributionCard
ReviewGroupclassreview-group
joinReviewGroupfunctionreview-group
ReviewMembertypereview-group
DiffViewcomponentDiffView
DiffSourcetypediff-view-props
DiffViewPropstypediff-view-props
DiffLimitstypediff-expansion
diffSyntaxDocumentfunctiondiff-syntax
DiffSourceSidetypediff-syntax
DiffSourceTokenstypediff-syntax
DiffSyntaxSourcestypediff-syntax
decoratePatchfunctionpatch-decorations
usePatchDecorationshookpatch-decorations
PatchDecorationtypepatch-decorations
PatchDecorationOptionstypepatch-decorations
PatchLineLabelstypepatch-decorations
PatchTimertypepatch-decorations

@adecore/editor-react/models ​

The pure functions behind the features and their types, without React. See Models.

NameKindSource
MatchDetailtypecompletion-model
Rankedtypecompletion-model
Insertiontypecompletion-model
SnippetInsertionOptionstypecompletion-model
insertionOffunctioncompletion-model
KindTonetypecompletion-model
RowWindowtypecompletion-model
CallPlantypecompletion-call
CallSitetypecompletion-call
Problemtypediagnostics-model
severityOffunctiondiagnostics-model
codeLabelOffunctiondiagnostics-model
endOfInsertionfunctionpositions
SignatureBlocktypehover-content
HoverTexttypehover-content
DocTagtypehover-content
HoverSectiontypehover-content
BaselineLeveltypehover-content
Baselinetypehover-content
MarkdownParttypehover-content
SignatureViewModeltypesignature-model
RenameTargettyperename-model
Occurrencestyperename-model
RenameRowtyperename-model
RenameFiletyperename-model
NameRangetypepeek-model
PeekPlacetypepeek-model
PeekFiletypepeek-model
PeekSnippettypepeek-model
distinguishingFoldersfunctionpeek-model
CallDirectiontypecall-hierarchy-model
CallLoadtypecall-hierarchy-model
CallNodetypecall-hierarchy-model
CallRowtypecall-hierarchy-model
SymbolGrouptypesymbol-picker-model
SymbolTonetypesymbol-picker-model
SymbolEntrytypesymbol-picker-model
EntryGrouptypesymbol-picker-model
PickerModetypesymbol-picker-model
WorkspaceEntrytypesymbol-picker-model
scopesOffunctionsemantic-model
decodeSemanticTokensfunctionsemantic-model
ActionGrouptypecode-actions-model
ActionEntrytypecode-actions-model
EditPreviewtypecode-actions-model
ResourceOperationViewtypeworkspace-edit
CodeVisionDeclarationtypecode-vision-model
DeclarationSourcetypecode-vision-model
CodeAuthortypecode-authors
CodeAuthorshiptypecode-authors
SnippetTransformtypesnippet
SnippetStoptypesnippet
SnippetRangetypesnippet
SnippetFieldtypesnippet
SnippetVariableResolvertypesnippet
SnippetTemplatetypesnippet
compileSnippetfunctionsnippet
ParsedSnippettypesnippet
parseSnippetfunctionsnippet
tabOrderfunctionsnippet
LineSpantypeproposal-model
lineSpanOffunctionproposal-model
isEmptyRangefunctionproposal-model
inlineRangeOffunctionproposal-model
InlineProblemtypeproposal-model
problemsOnLinesfunctionproposal-model
InlineAnswertypeproposal-model
parseAnswerfunctionproposal-model
fitReplacementfunctionproposal-model
DiffSegmenttypeproposal-model
diffSegmentsfunctionproposal-model
emphasisOffunctionproposal-model
replaceRangefunctionproposal-model
locateSelectionfunctionproposal-model
LineReplacementtypeline-edits
replaceLinesfunctionline-edits
replaceAllLinesfunctionline-edits
replacedWordsfunctionword-diff
FindOptionstypefind-query
FindQuerytypefind-query
EMPTY_FIND_QUERYconstfind-query
TextMatchtypefind-query
CompiledFindtypefind-query
MATCH_LIMITconstfind-query
compileFindfunctionfind-query
matchesInfunctionfind-query
stepIndexfunctionfind-query
PopupSizetypepopup-placement
PopupPlacementtypepopup-placement
PlaceOptionstypepopup-placement
planConflictfunctionconflict-model
ConflictStretchtypeconflict-model
ConflictPlantypeconflict-model
patchLayoutOffunctionpatch-layout
PatchLayouttypepatch-layout
PatchLayoutLinetypepatch-layout
PatchLineRoletypepatch-layout
PatchFileLayouttypepatch-layout
PatchFileStatustypepatch-layout
PatchHunkLayouttypepatch-layout
PatchLimitstypepatch-layout

@adecore/editor-react/snippet-transform-worker ​

The worker that runs snippet transforms, and its client. It imports no React. See isolated transforms.

NameKindSource
createSnippetTransformClientfunctionsnippet-transform-client
SnippetTransformErrorclasssnippet-transform-client
SnippetTransformClienttypesnippet-transform-client
SnippetTransformClientOptionstypesnippet-transform-client
SnippetTransformErrorKindtypesnippet-transform-client
compileSnippetTransformFormatfunctionsnippet-transform-format
SnippetTransformJobtypesnippet-transform-protocol
SnippetTransformInputtypesnippet-transform-protocol
SnippetTransformOutputtypesnippet-transform-protocol
SnippetTransformCasetypesnippet-transform-protocol
SnippetTransformFormatNodetypesnippet-transform-protocol
SnippetTransformWorkerEndpointtypesnippet-transform-worker
serveSnippetTransformsfunctionsnippet-transform-worker

@adecore/editor-react/testing ​

A fake language service and a manual clock. See Testing.

NameKindSource
ManualTimersclasstimers
KeyShortcuttypetesting
keyOffunctiontesting
settlefunctiontesting
LanguageCalltypetesting
FakeLanguageServiceclasstesting

Licenses and third-party notices are listed in each package.