import { Uri } from 'vscode' ; import { appendToPath , RootDir , toUtopiaPath } from 'utopia-vscode-common' ; export function toUtopiaURI ( projectID , path ) { return Uri . parse ( toUtopiaPath ( projectID , path ) ) ; } export function fromUtopiaURI ( uri ) { return appendToPath ( RootDir , uri . path ) ; }