@adecore/editor-react 0.24.1 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { EditorLanguage, type EditorLanguageOptions } from './editor-language.ts';
2
2
  export { KEY_PRIORITY } from './key-priority.ts';
3
3
  export { realTimers, type Timers } from './timers.ts';
4
- export { DEFAULT_RANGE_LINES, DEFAULT_RANGE_CHARACTERS, type SemanticTokensOptions } from './semantic-tokens.ts';
4
+ export { type SemanticTokensOptions } from './semantic-tokens.ts';
5
5
  export { ProjectLanguage, type FileOperationTarget } from './project-language.ts';
6
6
  export type { LanguageDocumentHandle } from './project-language.ts';
7
7
  export type { SnippetVariableContext, LanguageHost, DiskText, GitBlameCommit, GitBlameResult, EditorNotification, RenameSuggestionsRequest } from './host-types.ts';
@@ -11,27 +11,16 @@ export type { EditorViewProps } from './EditorView.tsx';
11
11
  export { LanguagePopups } from './LanguagePopups.tsx';
12
12
  export type { LanguagePopupsProps } from './LanguagePopups.tsx';
13
13
  export { AnchoredPopup } from './AnchoredPopup.tsx';
14
- export { HoverCard } from './HoverCard.tsx';
15
- export { CompletionPopup } from './CompletionPopup.tsx';
16
14
  export { SignatureCard } from './SignatureCard.tsx';
17
- export { RenameCard } from './RenameCard.tsx';
18
- export { PickPopup } from './PickPopup.tsx';
19
- export { PeekPanel } from './PeekPanel.tsx';
20
- export { CallHierarchyPanel } from './CallHierarchyPanel.tsx';
21
- export { SymbolPicker } from './SymbolPicker.tsx';
22
- export { CodeAuthorsCard } from './CodeAuthorsCard.tsx';
23
- export { RenderedDocs } from './RenderedDocs.tsx';
24
- export { RenderedDocsFeature } from './rendered-docs.ts';
15
+ export { type RenderedDocsFeature } from './rendered-docs.ts';
25
16
  export type { RenderedDocEntry, RenderedDocsSettings } from './rendered-docs.ts';
26
- export { parseDocComment, sectionsOf, htmlToMarkdown, DOC_LINK_PREFIX } from './doc-comment-model.ts';
27
17
  export type { DocTagEntry, DocTagSection, ParsedDocComment } from './doc-comment-model.ts';
28
- export { EditorContextMenu } from './EditorContextMenu.tsx';
29
18
  export { EditorRenderingProvider } from './rendering.tsx';
30
19
  export type { EditorRendering } from './rendering-context.ts';
31
20
  export { FindReplace } from './FindReplace.tsx';
32
21
  export { ChangeReview } from './ChangeReview.tsx';
33
22
  export type { ChangeReviewProps } from './ChangeReview.tsx';
34
- export { ProjectProblems, serviceProblems, countsOf, compareRows } from './project-problems.ts';
23
+ export { ProjectProblems, serviceProblems, countsOf } from './project-problems.ts';
35
24
  export type { ProblemFile, ProblemRow, ProblemReport, ProblemSource } from './project-problems.ts';
36
25
  export { applyWorkspaceEdit, supportedResourceOperations } from './workspace-edit.ts';
37
26
  export type { ProjectFiles, StagedFile, WorkspaceEditHost } from './workspace-edit.ts';
@@ -39,12 +28,11 @@ export { useProblemCounts } from './use-problem-counts.ts';
39
28
  export type { ProblemCounts } from './diagnostics.ts';
40
29
  export type { BlameSource, CodeVisionSettings } from './code-vision.ts';
41
30
  export type { HoverSettings } from './hover.ts';
42
- export type { Problem } from './diagnostics-model.ts';
43
31
  export type { PopupState, PopupStore, HoverInfo, HoverView, CompletionView, CompletionDocs, CompletionRow, SignatureView, RenameView, RenameFileView, PeekView, CallHierarchyView, PickView, PickGroup, PickRow, PickPreview, SymbolsView, MenuView, AuthorsView } from './popups.ts';
44
32
  export { RowHost, LineActionHost } from './row-host.ts';
45
33
  export type { HostedRow, HostedAction } from './row-host.ts';
46
- export { HighlightLayers, highlightLayers } from './highlight-layers.ts';
47
- export { NavigationHistory } from './navigation-history.ts';
34
+ export { type HighlightLayers, highlightLayers } from './highlight-layers.ts';
35
+ export { type NavigationHistory } from './navigation-history.ts';
48
36
  export type { Place } from './navigation-history.ts';
49
37
  export { openingPlace, viewStates, followViewStates, viewStateKey, forgetMovesFrom } from './view-state.ts';
50
38
  export type { ViewState, RevealLineRequest } from './view-state.ts';
package/dist/index.js CHANGED
@@ -1,34 +1,23 @@
1
1
  export { EditorLanguage } from './editor-language.js';
2
2
  export { KEY_PRIORITY } from './key-priority.js';
3
3
  export { realTimers } from './timers.js';
4
- export { DEFAULT_RANGE_LINES, DEFAULT_RANGE_CHARACTERS } from './semantic-tokens.js';
4
+ export {} from './semantic-tokens.js';
5
5
  export { ProjectLanguage } from './project-language.js';
6
6
  export { EditorView } from './EditorView.js';
7
7
  export { createHolder } from './holder.js';
8
8
  export { LanguagePopups } from './LanguagePopups.js';
9
9
  export { AnchoredPopup } from './AnchoredPopup.js';
10
- export { HoverCard } from './HoverCard.js';
11
- export { CompletionPopup } from './CompletionPopup.js';
12
10
  export { SignatureCard } from './SignatureCard.js';
13
- export { RenameCard } from './RenameCard.js';
14
- export { PickPopup } from './PickPopup.js';
15
- export { PeekPanel } from './PeekPanel.js';
16
- export { CallHierarchyPanel } from './CallHierarchyPanel.js';
17
- export { SymbolPicker } from './SymbolPicker.js';
18
- export { CodeAuthorsCard } from './CodeAuthorsCard.js';
19
- export { RenderedDocs } from './RenderedDocs.js';
20
- export { RenderedDocsFeature } from './rendered-docs.js';
21
- export { parseDocComment, sectionsOf, htmlToMarkdown, DOC_LINK_PREFIX } from './doc-comment-model.js';
22
- export { EditorContextMenu } from './EditorContextMenu.js';
11
+ export {} from './rendered-docs.js';
23
12
  export { EditorRenderingProvider } from './rendering.js';
24
13
  export { FindReplace } from './FindReplace.js';
25
14
  export { ChangeReview } from './ChangeReview.js';
26
- export { ProjectProblems, serviceProblems, countsOf, compareRows } from './project-problems.js';
15
+ export { ProjectProblems, serviceProblems, countsOf } from './project-problems.js';
27
16
  export { applyWorkspaceEdit, supportedResourceOperations } from './workspace-edit.js';
28
17
  export { useProblemCounts } from './use-problem-counts.js';
29
18
  export { RowHost, LineActionHost } from './row-host.js';
30
- export { HighlightLayers, highlightLayers } from './highlight-layers.js';
31
- export { NavigationHistory } from './navigation-history.js';
19
+ export { highlightLayers } from './highlight-layers.js';
20
+ export {} from './navigation-history.js';
32
21
  export { openingPlace, viewStates, followViewStates, viewStateKey, forgetMovesFrom } from './view-state.js';
33
22
  export { lspLanguageIdOf, shikiLanguageOf, shikiLanguageOfPath } from './language-ids.js';
34
23
  export { AttributionCard } from './AttributionCard.js';
package/dist/models.d.ts CHANGED
@@ -1,24 +1,22 @@
1
- export { isIdentifierCharacter, identifierPrefix, type MatchDetail, matchDetail, matchScore, editRangeOf, itemsOf, prefixFor, type Ranked, rankCompletions, matchedCharacters, qualifierOf, qualifiersOf, snippetToText, METHOD_KIND, FUNCTION_KIND, CONSTRUCTOR_KIND, CLASS_KIND, SNIPPET_FORMAT, type Insertion, type SnippetInsertionOptions, insertionOf, mirroredInsertions, documentationText, completionDocsOf, type KindTone, kindLetterOf, kindToneOf, type RowWindow, rowWindow } from './completion-model.ts';
2
- export { PARAMETER_HINTS_COMMAND, type CallPlan, type CallSite, isCallItem, hasParameters, planCall, withParentheses } from './completion-call.ts';
3
- export { type Problem, severityOf, markerOf, comparePositions, shiftPosition, endOfInsertion, shiftRange, rangeHolds, problemsAt, neighborProblem, codeLabelOf } from './diagnostics-model.ts';
4
- export { type SignatureBlock, type HoverText, splitSignatures, hoverTextOf, isEmptyHover, locationsOf, sameRange, type DocTag, splitDocTags, type HoverSection, type BaselineLevel, type Baseline, docblockMarkdown, type MarkdownPart, markdownParts, hoverSectionsOf } from './hover-content.ts';
5
- export { type SignatureViewModel, parameterSpan, signatureViewOf } from './signature-model.ts';
6
- export { wordRangeAt, type RenameTarget, renameTargetOf, type Occurrences, occurrencesOf, type RenameRow, type RenameFile, renameRowsOf, renamePreviewOf } from './rename-model.ts';
7
- export { type NameRange, type PeekPlace, type PeekFile, PEEK_READ_FILES, peekFilesOf, type PeekSnippet, snippetOf, definitionSnippetOf, distinguishingFolders, visualColumnOf } from './peek-model.ts';
8
- export { type CallDirection, type CallLoad, type CallNode, type CallRow, CALL_LEVEL_LIMIT, rootsOf, childrenOf, rowsOf, stepsOf, targetOf, statusIdOf, moreIdOf } from './call-hierarchy-model.ts';
9
- export { type SymbolGroup, SYMBOL_GROUPS, groupOfKind, letterOfKind, type SymbolTone, toneOfKind, type SymbolEntry, entriesOf, scoreOf, filterEntries, type EntryGroup, groupEntries, type PickerMode, modeOf, type WorkspaceEntry, workspaceEntriesOf } from './symbol-picker-model.ts';
10
- export { SYMBOL_LINK_CLASS, isTypeName, linkTypeNames, declaredNameOf, placesOfName } from './symbol-links.ts';
1
+ export { type MatchDetail, type Ranked, type Insertion, type SnippetInsertionOptions, insertionOf, type KindTone, type RowWindow } from './completion-model.ts';
2
+ export { type CallPlan, type CallSite } from './completion-call.ts';
3
+ export { type Problem, severityOf, endOfInsertion, codeLabelOf } from './diagnostics-model.ts';
4
+ export { type SignatureBlock, type HoverText, type DocTag, type HoverSection, type BaselineLevel, type Baseline, type MarkdownPart } from './hover-content.ts';
5
+ export { type SignatureViewModel } from './signature-model.ts';
6
+ export { type RenameTarget, type Occurrences, type RenameRow, type RenameFile } from './rename-model.ts';
7
+ export { type NameRange, type PeekPlace, type PeekFile, type PeekSnippet, distinguishingFolders } from './peek-model.ts';
8
+ export { type CallDirection, type CallLoad, type CallNode, type CallRow } from './call-hierarchy-model.ts';
9
+ export { type SymbolGroup, type SymbolTone, type SymbolEntry, type EntryGroup, type PickerMode, type WorkspaceEntry } from './symbol-picker-model.ts';
11
10
  export { scopesOf, decodeSemanticTokens } from './semantic-model.ts';
12
- export { applySemanticEdits } from './semantic-delta.ts';
13
- export { type ActionGroup, ACTION_GROUPS, REFACTOR_GROUPS, type ActionEntry, groupOf, actionsOf, mergeEntries, isHint, fixableOnLine, diagnosticsAt, type EditPreview, previewOf } from './code-actions-model.ts';
14
- export { resourceOperationsOf, type ResourceOperationView } from './workspace-edit.ts';
15
- export { MAX_DECLARATIONS, type CodeVisionDeclaration, type DeclarationSource, startAfterComments, declarationsOf, usagesText } from './code-vision-model.ts';
16
- export { UNCOMMITTED, mapBlame, type CodeAuthor, type CodeAuthorship, shortName, authorshipOf, authorsText } from './code-authors.ts';
11
+ export { type ActionGroup, type ActionEntry, type EditPreview } from './code-actions-model.ts';
12
+ export { type ResourceOperationView } from './workspace-edit.ts';
13
+ export { type CodeVisionDeclaration, type DeclarationSource } from './code-vision-model.ts';
14
+ export { type CodeAuthor, type CodeAuthorship } from './code-authors.ts';
17
15
  export { type SnippetTransform, type SnippetStop, type SnippetRange, type SnippetField, type SnippetVariableResolver, type SnippetTemplate, compileSnippet, type ParsedSnippet, parseSnippet, tabOrder } from './snippet.ts';
18
- export { type LineSpan, lineSpanOf, isEmptyRange, inlineRangeOf, type InlineProblem, problemsOnLines, type InlineAnswer, parseAnswer, fitReplacement, type DiffSegment, diffSegments, emphasisOf, offsetOf, textInRange, replaceRange, locateSelection } from './proposal-model.ts';
16
+ export { type LineSpan, lineSpanOf, isEmptyRange, inlineRangeOf, type InlineProblem, problemsOnLines, type InlineAnswer, parseAnswer, fitReplacement, type DiffSegment, diffSegments, emphasisOf, replaceRange, locateSelection } from './proposal-model.ts';
19
17
  export { type LineReplacement, replaceLines, replaceAllLines } from './line-edits.ts';
20
18
  export { replacedWords } from './word-diff.ts';
21
19
  export { type FindOptions, type FindQuery, EMPTY_FIND_QUERY, type TextMatch, type CompiledFind, MATCH_LIMIT, compileFind, matchesIn, stepIndex } from './find-query.ts';
22
- export { type PopupSize, type PopupPlacement, type PlaceOptions, placePopup, placeBeside } from './popup-placement.ts';
20
+ export { type PopupSize, type PopupPlacement, type PlaceOptions } from './popup-placement.ts';
23
21
  export { planConflict, type ConflictStretch, type ConflictPlan } from './conflict-model.ts';
24
- export { patchLayoutOf, DEFAULT_PATCH_LIMITS, type PatchLayout, type PatchLayoutLine, type PatchLineRole, type PatchFileLayout, type PatchFileStatus, type PatchHunkLayout, type PatchLimits } from './patch-layout.ts';
22
+ export { patchLayoutOf, type PatchLayout, type PatchLayoutLine, type PatchLineRole, type PatchFileLayout, type PatchFileStatus, type PatchHunkLayout, type PatchLimits } from './patch-layout.ts';
package/dist/models.js CHANGED
@@ -1,24 +1,22 @@
1
- export { isIdentifierCharacter, identifierPrefix, matchDetail, matchScore, editRangeOf, itemsOf, prefixFor, rankCompletions, matchedCharacters, qualifierOf, qualifiersOf, snippetToText, METHOD_KIND, FUNCTION_KIND, CONSTRUCTOR_KIND, CLASS_KIND, SNIPPET_FORMAT, insertionOf, mirroredInsertions, documentationText, completionDocsOf, kindLetterOf, kindToneOf, rowWindow } from './completion-model.js';
2
- export { PARAMETER_HINTS_COMMAND, isCallItem, hasParameters, planCall, withParentheses } from './completion-call.js';
3
- export { severityOf, markerOf, comparePositions, shiftPosition, endOfInsertion, shiftRange, rangeHolds, problemsAt, neighborProblem, codeLabelOf } from './diagnostics-model.js';
4
- export { splitSignatures, hoverTextOf, isEmptyHover, locationsOf, sameRange, splitDocTags, docblockMarkdown, markdownParts, hoverSectionsOf } from './hover-content.js';
5
- export { parameterSpan, signatureViewOf } from './signature-model.js';
6
- export { wordRangeAt, renameTargetOf, occurrencesOf, renameRowsOf, renamePreviewOf } from './rename-model.js';
7
- export { PEEK_READ_FILES, peekFilesOf, snippetOf, definitionSnippetOf, distinguishingFolders, visualColumnOf } from './peek-model.js';
8
- export { CALL_LEVEL_LIMIT, rootsOf, childrenOf, rowsOf, stepsOf, targetOf, statusIdOf, moreIdOf } from './call-hierarchy-model.js';
9
- export { SYMBOL_GROUPS, groupOfKind, letterOfKind, toneOfKind, entriesOf, scoreOf, filterEntries, groupEntries, modeOf, workspaceEntriesOf } from './symbol-picker-model.js';
10
- export { SYMBOL_LINK_CLASS, isTypeName, linkTypeNames, declaredNameOf, placesOfName } from './symbol-links.js';
1
+ export { insertionOf } from './completion-model.js';
2
+ export {} from './completion-call.js';
3
+ export { severityOf, endOfInsertion, codeLabelOf } from './diagnostics-model.js';
4
+ export {} from './hover-content.js';
5
+ export {} from './signature-model.js';
6
+ export {} from './rename-model.js';
7
+ export { distinguishingFolders } from './peek-model.js';
8
+ export {} from './call-hierarchy-model.js';
9
+ export {} from './symbol-picker-model.js';
11
10
  export { scopesOf, decodeSemanticTokens } from './semantic-model.js';
12
- export { applySemanticEdits } from './semantic-delta.js';
13
- export { ACTION_GROUPS, REFACTOR_GROUPS, groupOf, actionsOf, mergeEntries, isHint, fixableOnLine, diagnosticsAt, previewOf } from './code-actions-model.js';
14
- export { resourceOperationsOf } from './workspace-edit.js';
15
- export { MAX_DECLARATIONS, startAfterComments, declarationsOf, usagesText } from './code-vision-model.js';
16
- export { UNCOMMITTED, mapBlame, shortName, authorshipOf, authorsText } from './code-authors.js';
11
+ export {} from './code-actions-model.js';
12
+ export {} from './workspace-edit.js';
13
+ export {} from './code-vision-model.js';
14
+ export {} from './code-authors.js';
17
15
  export { compileSnippet, parseSnippet, tabOrder } from './snippet.js';
18
- export { lineSpanOf, isEmptyRange, inlineRangeOf, problemsOnLines, parseAnswer, fitReplacement, diffSegments, emphasisOf, offsetOf, textInRange, replaceRange, locateSelection } from './proposal-model.js';
16
+ export { lineSpanOf, isEmptyRange, inlineRangeOf, problemsOnLines, parseAnswer, fitReplacement, diffSegments, emphasisOf, replaceRange, locateSelection } from './proposal-model.js';
19
17
  export { replaceLines, replaceAllLines } from './line-edits.js';
20
18
  export { replacedWords } from './word-diff.js';
21
19
  export { EMPTY_FIND_QUERY, MATCH_LIMIT, compileFind, matchesIn, stepIndex } from './find-query.js';
22
- export { placePopup, placeBeside } from './popup-placement.js';
20
+ export {} from './popup-placement.js';
23
21
  export { planConflict } from './conflict-model.js';
24
- export { patchLayoutOf, DEFAULT_PATCH_LIMITS } from './patch-layout.js';
22
+ export { patchLayoutOf } from './patch-layout.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/editor-react",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "description": "Language-enabled editors, feature coordination and React popups over injected language services.",
6
6
  "license": "FSL-1.1-MIT",
@@ -62,9 +62,9 @@
62
62
  "test": "bun test --conditions=source"
63
63
  },
64
64
  "dependencies": {
65
- "@adecore/editor": "0.24.1",
66
- "@adecore/lsp": "0.24.1",
67
- "@adecore/merge": "0.24.1",
65
+ "@adecore/editor": "0.25.0",
66
+ "@adecore/lsp": "0.25.0",
67
+ "@adecore/merge": "0.25.0",
68
68
  "lucide-react": "^1.47.0",
69
69
  "react-markdown": "^10.1.0",
70
70
  "remark-breaks": "^4.0.0",
@@ -72,14 +72,14 @@
72
72
  "zustand": "^5.0.15"
73
73
  },
74
74
  "peerDependencies": {
75
- "@adecore/ui": "^0.24.1",
75
+ "@adecore/ui": "^0.25.0",
76
76
  "i18next": "^26.4.2",
77
77
  "react": "^19.3.0",
78
78
  "react-dom": "^19.3.0",
79
79
  "react-i18next": "^17.0.15"
80
80
  },
81
81
  "devDependencies": {
82
- "@adecore/ui": "0.24.1",
82
+ "@adecore/ui": "0.25.0",
83
83
  "@types/bun": "^1.4.2",
84
84
  "@types/react": "^19.3.0",
85
85
  "@types/react-dom": "^19.3.0",
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { EditorLanguage, type EditorLanguageOptions } from './editor-language.ts';
2
2
  export { KEY_PRIORITY } from './key-priority.ts';
3
3
  export { realTimers, type Timers } from './timers.ts';
4
- export { DEFAULT_RANGE_LINES, DEFAULT_RANGE_CHARACTERS, type SemanticTokensOptions } from './semantic-tokens.ts';
4
+ export { type SemanticTokensOptions } from './semantic-tokens.ts';
5
5
  export { ProjectLanguage, type FileOperationTarget } from './project-language.ts';
6
6
  export type { LanguageDocumentHandle } from './project-language.ts';
7
7
  export type {
@@ -19,27 +19,16 @@ export type { EditorViewProps } from './EditorView.tsx';
19
19
  export { LanguagePopups } from './LanguagePopups.tsx';
20
20
  export type { LanguagePopupsProps } from './LanguagePopups.tsx';
21
21
  export { AnchoredPopup } from './AnchoredPopup.tsx';
22
- export { HoverCard } from './HoverCard.tsx';
23
- export { CompletionPopup } from './CompletionPopup.tsx';
24
22
  export { SignatureCard } from './SignatureCard.tsx';
25
- export { RenameCard } from './RenameCard.tsx';
26
- export { PickPopup } from './PickPopup.tsx';
27
- export { PeekPanel } from './PeekPanel.tsx';
28
- export { CallHierarchyPanel } from './CallHierarchyPanel.tsx';
29
- export { SymbolPicker } from './SymbolPicker.tsx';
30
- export { CodeAuthorsCard } from './CodeAuthorsCard.tsx';
31
- export { RenderedDocs } from './RenderedDocs.tsx';
32
- export { RenderedDocsFeature } from './rendered-docs.ts';
23
+ export { type RenderedDocsFeature } from './rendered-docs.ts';
33
24
  export type { RenderedDocEntry, RenderedDocsSettings } from './rendered-docs.ts';
34
- export { parseDocComment, sectionsOf, htmlToMarkdown, DOC_LINK_PREFIX } from './doc-comment-model.ts';
35
25
  export type { DocTagEntry, DocTagSection, ParsedDocComment } from './doc-comment-model.ts';
36
- export { EditorContextMenu } from './EditorContextMenu.tsx';
37
26
  export { EditorRenderingProvider } from './rendering.tsx';
38
27
  export type { EditorRendering } from './rendering-context.ts';
39
28
  export { FindReplace } from './FindReplace.tsx';
40
29
  export { ChangeReview } from './ChangeReview.tsx';
41
30
  export type { ChangeReviewProps } from './ChangeReview.tsx';
42
- export { ProjectProblems, serviceProblems, countsOf, compareRows } from './project-problems.ts';
31
+ export { ProjectProblems, serviceProblems, countsOf } from './project-problems.ts';
43
32
  export type { ProblemFile, ProblemRow, ProblemReport, ProblemSource } from './project-problems.ts';
44
33
  export { applyWorkspaceEdit, supportedResourceOperations } from './workspace-edit.ts';
45
34
  export type { ProjectFiles, StagedFile, WorkspaceEditHost } from './workspace-edit.ts';
@@ -47,7 +36,6 @@ export { useProblemCounts } from './use-problem-counts.ts';
47
36
  export type { ProblemCounts } from './diagnostics.ts';
48
37
  export type { BlameSource, CodeVisionSettings } from './code-vision.ts';
49
38
  export type { HoverSettings } from './hover.ts';
50
- export type { Problem } from './diagnostics-model.ts';
51
39
  export type {
52
40
  PopupState,
53
41
  PopupStore,
@@ -71,8 +59,8 @@ export type {
71
59
  } from './popups.ts';
72
60
  export { RowHost, LineActionHost } from './row-host.ts';
73
61
  export type { HostedRow, HostedAction } from './row-host.ts';
74
- export { HighlightLayers, highlightLayers } from './highlight-layers.ts';
75
- export { NavigationHistory } from './navigation-history.ts';
62
+ export { type HighlightLayers, highlightLayers } from './highlight-layers.ts';
63
+ export { type NavigationHistory } from './navigation-history.ts';
76
64
  export type { Place } from './navigation-history.ts';
77
65
  export { openingPlace, viewStates, followViewStates, viewStateKey, forgetMovesFrom } from './view-state.ts';
78
66
  export type { ViewState, RevealLineRequest } from './view-state.ts';
package/src/models.ts CHANGED
@@ -1,143 +1,17 @@
1
- export {
2
- isIdentifierCharacter,
3
- identifierPrefix,
4
- type MatchDetail,
5
- matchDetail,
6
- matchScore,
7
- editRangeOf,
8
- itemsOf,
9
- prefixFor,
10
- type Ranked,
11
- rankCompletions,
12
- matchedCharacters,
13
- qualifierOf,
14
- qualifiersOf,
15
- snippetToText,
16
- METHOD_KIND,
17
- FUNCTION_KIND,
18
- CONSTRUCTOR_KIND,
19
- CLASS_KIND,
20
- SNIPPET_FORMAT,
21
- type Insertion,
22
- type SnippetInsertionOptions,
23
- insertionOf,
24
- mirroredInsertions,
25
- documentationText,
26
- completionDocsOf,
27
- type KindTone,
28
- kindLetterOf,
29
- kindToneOf,
30
- type RowWindow,
31
- rowWindow
32
- } from './completion-model.ts';
33
- export { PARAMETER_HINTS_COMMAND, type CallPlan, type CallSite, isCallItem, hasParameters, planCall, withParentheses } from './completion-call.ts';
34
- export {
35
- type Problem,
36
- severityOf,
37
- markerOf,
38
- comparePositions,
39
- shiftPosition,
40
- endOfInsertion,
41
- shiftRange,
42
- rangeHolds,
43
- problemsAt,
44
- neighborProblem,
45
- codeLabelOf
46
- } from './diagnostics-model.ts';
47
- export {
48
- type SignatureBlock,
49
- type HoverText,
50
- splitSignatures,
51
- hoverTextOf,
52
- isEmptyHover,
53
- locationsOf,
54
- sameRange,
55
- type DocTag,
56
- splitDocTags,
57
- type HoverSection,
58
- type BaselineLevel,
59
- type Baseline,
60
- docblockMarkdown,
61
- type MarkdownPart,
62
- markdownParts,
63
- hoverSectionsOf
64
- } from './hover-content.ts';
65
- export { type SignatureViewModel, parameterSpan, signatureViewOf } from './signature-model.ts';
66
- export {
67
- wordRangeAt,
68
- type RenameTarget,
69
- renameTargetOf,
70
- type Occurrences,
71
- occurrencesOf,
72
- type RenameRow,
73
- type RenameFile,
74
- renameRowsOf,
75
- renamePreviewOf
76
- } from './rename-model.ts';
77
- export {
78
- type NameRange,
79
- type PeekPlace,
80
- type PeekFile,
81
- PEEK_READ_FILES,
82
- peekFilesOf,
83
- type PeekSnippet,
84
- snippetOf,
85
- definitionSnippetOf,
86
- distinguishingFolders,
87
- visualColumnOf
88
- } from './peek-model.ts';
89
- export {
90
- type CallDirection,
91
- type CallLoad,
92
- type CallNode,
93
- type CallRow,
94
- CALL_LEVEL_LIMIT,
95
- rootsOf,
96
- childrenOf,
97
- rowsOf,
98
- stepsOf,
99
- targetOf,
100
- statusIdOf,
101
- moreIdOf
102
- } from './call-hierarchy-model.ts';
103
- export {
104
- type SymbolGroup,
105
- SYMBOL_GROUPS,
106
- groupOfKind,
107
- letterOfKind,
108
- type SymbolTone,
109
- toneOfKind,
110
- type SymbolEntry,
111
- entriesOf,
112
- scoreOf,
113
- filterEntries,
114
- type EntryGroup,
115
- groupEntries,
116
- type PickerMode,
117
- modeOf,
118
- type WorkspaceEntry,
119
- workspaceEntriesOf
120
- } from './symbol-picker-model.ts';
121
- export { SYMBOL_LINK_CLASS, isTypeName, linkTypeNames, declaredNameOf, placesOfName } from './symbol-links.ts';
1
+ export { type MatchDetail, type Ranked, type Insertion, type SnippetInsertionOptions, insertionOf, type KindTone, type RowWindow } from './completion-model.ts';
2
+ export { type CallPlan, type CallSite } from './completion-call.ts';
3
+ export { type Problem, severityOf, endOfInsertion, codeLabelOf } from './diagnostics-model.ts';
4
+ export { type SignatureBlock, type HoverText, type DocTag, type HoverSection, type BaselineLevel, type Baseline, type MarkdownPart } from './hover-content.ts';
5
+ export { type SignatureViewModel } from './signature-model.ts';
6
+ export { type RenameTarget, type Occurrences, type RenameRow, type RenameFile } from './rename-model.ts';
7
+ export { type NameRange, type PeekPlace, type PeekFile, type PeekSnippet, distinguishingFolders } from './peek-model.ts';
8
+ export { type CallDirection, type CallLoad, type CallNode, type CallRow } from './call-hierarchy-model.ts';
9
+ export { type SymbolGroup, type SymbolTone, type SymbolEntry, type EntryGroup, type PickerMode, type WorkspaceEntry } from './symbol-picker-model.ts';
122
10
  export { scopesOf, decodeSemanticTokens } from './semantic-model.ts';
123
- export { applySemanticEdits } from './semantic-delta.ts';
124
- export {
125
- type ActionGroup,
126
- ACTION_GROUPS,
127
- REFACTOR_GROUPS,
128
- type ActionEntry,
129
- groupOf,
130
- actionsOf,
131
- mergeEntries,
132
- isHint,
133
- fixableOnLine,
134
- diagnosticsAt,
135
- type EditPreview,
136
- previewOf
137
- } from './code-actions-model.ts';
138
- export { resourceOperationsOf, type ResourceOperationView } from './workspace-edit.ts';
139
- export { MAX_DECLARATIONS, type CodeVisionDeclaration, type DeclarationSource, startAfterComments, declarationsOf, usagesText } from './code-vision-model.ts';
140
- export { UNCOMMITTED, mapBlame, type CodeAuthor, type CodeAuthorship, shortName, authorshipOf, authorsText } from './code-authors.ts';
11
+ export { type ActionGroup, type ActionEntry, type EditPreview } from './code-actions-model.ts';
12
+ export { type ResourceOperationView } from './workspace-edit.ts';
13
+ export { type CodeVisionDeclaration, type DeclarationSource } from './code-vision-model.ts';
14
+ export { type CodeAuthor, type CodeAuthorship } from './code-authors.ts';
141
15
  export {
142
16
  type SnippetTransform,
143
17
  type SnippetStop,
@@ -163,8 +37,6 @@ export {
163
37
  type DiffSegment,
164
38
  diffSegments,
165
39
  emphasisOf,
166
- offsetOf,
167
- textInRange,
168
40
  replaceRange,
169
41
  locateSelection
170
42
  } from './proposal-model.ts';
@@ -181,11 +53,10 @@ export {
181
53
  matchesIn,
182
54
  stepIndex
183
55
  } from './find-query.ts';
184
- export { type PopupSize, type PopupPlacement, type PlaceOptions, placePopup, placeBeside } from './popup-placement.ts';
56
+ export { type PopupSize, type PopupPlacement, type PlaceOptions } from './popup-placement.ts';
185
57
  export { planConflict, type ConflictStretch, type ConflictPlan } from './conflict-model.ts';
186
58
  export {
187
59
  patchLayoutOf,
188
- DEFAULT_PATCH_LIMITS,
189
60
  type PatchLayout,
190
61
  type PatchLayoutLine,
191
62
  type PatchLineRole,