extensions/typescript-language-features/src/languageFeatures/rename.ts/TypeScriptRenameProvider/execRename
class TypeScriptRenameProvider:	public async execRename(
		document: vscode.TextDocument,
		position: vscode.Position,
		token: vscode.CancellationToken
	): Promise<ServerResponse.Response<Proto.RenameResponse> | undefined> {
		const file = this.client.toOpenedFilePath(document);
		if (!file) {
			return undefined;
		}

		const args: Proto.RenameRequestArgs = {
			...typeConverters.Position.toFileLocationRequestArgs(file, position),
			findInStrings: false,
			findInComments: false
		};

		return this.client.interruptGetErr(() => {
			this.fileConfigurationManager.ensureConfigurationForDocument(document, token);
			return this.client.execute('rename', args, token);
		});
	}