Hierarchy

  • TreeWidget
    • SearchInWorkspaceResultTreeWidget

Constructors

Properties

Accessors

Methods

Constructors

Properties

_replaceTerm: string = ''
_showReplaceButtons: boolean = false
appliedDecorations: Map<string, string[]> = ...
cancelIndicator?: CancellationTokenSource
changeEmitter: Emitter<Map<string, SearchInWorkspaceRootFolderNode>> = ...
colorRegistry: ColorRegistry
defaultRootName: string = ...
editorManager: EditorManager
expansionService: TreeExpansionService
fileResourceResolver: FileResourceResolver
fileService: FileService
filesystemPreferences: FileSystemPreferences
focusInputEmitter: Emitter<any> = ...
forceVisibleRootNode: boolean = false
onExpansionChanged: Event<void> = ...
onExpansionChangedEmitter: Emitter<any> = ...
progressService: ProgressService
resultTree: Map<string, SearchInWorkspaceRootFolderNode>
searchInWorkspacePreferences: SearchInWorkspacePreferences
searchOnEditorModificationDelay: 300 = 300
searchTerm: string = ''
shell: ApplicationShell
toDisposeOnActiveEditorChanged: DisposableCollection = ...
workspaceService: WorkspaceService

Accessors

Methods

  • Replace text either in all search matches under a node or in all search matches, and save the changes.

    Parameters

    • node: TreeNode

      node in the tree widget in which the "replace all" is performed.

    • replaceOne: boolean

      whether the function is to replace all matches under a node. If it is false, replace all.

    • replacementText: string

      text to be used for all replacements in the current replacement cycle.

    Returns Promise<void>