MCPcopy
hub / github.com/zgsm-ai/costrict / replace

Method replace

packages/vscode-shim/src/interfaces/editor.ts:47–47  ·  view source on GitHub ↗
(location: Position | Range | Selection, value: string)

Source from the content-addressed store, hash-verified

45 */
46export interface TextEditorEdit {
47 replace(location: Position | Range | Selection, value: string): void
48 insert(location: Position, value: string): void
49 delete(location: Range | Selection): void
50 setEndOfLine(endOfLine: EndOfLine): void

Callers 15

getAvailableBranchesMethod · 0.65
parseWorktreeOutputMethod · 0.65
replaceMethod · 0.65
entriesMethod · 0.65
TextEdit.test.tsFile · 0.65
copyConversationHistoryFunction · 0.65
CompanyLogosFunction · 0.65
chart.tsxFile · 0.65
stripHtmlTagsFunction · 0.65
calculateReadingTimeFunction · 0.65

Implementers 1

TextEditpackages/vscode-shim/src/classes/TextE

Calls

no outgoing calls

Tested by 9

initializeTreeSitterFunction · 0.52
inspectTreeStructureFunction · 0.52
createRealCommandStreamFunction · 0.52
createBashMockStreamFunction · 0.52
createCmdMockStreamFunction · 0.52
createPowerShellStreamFunction · 0.52
[Symbol.asyncIterator]Function · 0.52