MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / getKey

Method getKey

src/languageService.ts:176–185  ·  view source on GitHub ↗
(uri: Uri)

Source from the content-addressed store, hash-verified

174 }
175
176 private getKey(uri: Uri): string {
177 switch (uri.scheme) {
178 case 'untitled':
179 return uri.scheme;
180 case 'vscode-notebook-cell':
181 return `vscode-notebook:${uri.fsPath}`;
182 default:
183 return uri.toString(true);
184 }
185 }
186
187 private startMultiLanguageService(): void {
188 const didOpenTextDocument = async (document: TextDocument) => {

Callers 3

didOpenTextDocumentMethod · 0.95
didCloseTextDocumentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected