MCPcopy Index your code
hub / github.com/continuedev/continue / getInstance

Method getInstance

core/nextEdit/NextEditProvider.ts:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 public static getInstance(): NextEditProvider {
114 if (!NextEditProvider.instance) {
115 throw new Error(
116 "NextEditProvider has not been initialized. Call initialize() first.",
117 );
118 }
119 return NextEditProvider.instance;
120 }
121
122 public addDiffToContext(diff: string): void {
123 this.diffContext.push(diff);

Callers 5

staticJumpFunction · 0.45
constructorMethod · 0.45
deleteChainMethod · 0.45
_generatePromptsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected