'use strict' ; import * as vscode from 'vscode' ; export function code2ProtocolConverter ( value ) { if ( /^win32/ . test ( process . platform ) ) { return value . toString ( ) . replace ( /%3A/i , ':' ) ; } else { return value . toString ( ) ; } } export function protocol2CodeConverter ( value ) { return vscode . Uri . parse ( value ) ; }