File tree Expand file tree Collapse file tree
src/vs/workbench/api/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import { StopWatch } from 'vs/base/common/stopwatch';
3131import { ExtensionIdentifier , IExtensionDescription } from 'vs/platform/extensions/common/extensions' ;
3232import { TelemetryTrustedValue } from 'vs/platform/telemetry/common/telemetryUtils' ;
3333import { IExtHostTelemetry } from 'vs/workbench/api/common/extHostTelemetry' ;
34+ import { generateUuid } from 'vs/base/common/uuid' ;
3435
3536interface CommandHandler {
3637 callback : Function ;
@@ -342,7 +343,7 @@ export const IExtHostCommands = createDecorator<IExtHostCommands>('IExtHostComma
342343
343344export class CommandsConverter implements extHostTypeConverter . Command . ICommandsConverter {
344345
345- readonly delegatingCommandId : string = `__vsc${ Date . now ( ) . toString ( 36 ) } ` ;
346+ readonly delegatingCommandId : string = `__vsc${ generateUuid ( ) } ` ;
346347 private readonly _cache = new Map < string , vscode . Command > ( ) ;
347348 private _cachIdPool = 0 ;
348349
You can’t perform that action at this time.
0 commit comments