import { Uri } from "vscode" ; import { ext } from "../../extension.bundle" ; import { delay } from "./delay" ; /**
 * Maps a parameter file to a template file, then waits for the language server to pick up the change
 */ export async function mapParameterFile ( templateFileUri , parameterFileUri , waitForLanguageServer = true ) { await ext . deploymentFileMapping . value . mapParameterFile ( templateFileUri , parameterFileUri ) ; await delay ( 500 ) ; }