File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/core/src/shared/vscode Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import * as nls from 'vscode-nls'
10
10
import { showViewLogsMessage } from '../utilities/messages'
11
11
import { URL , URLSearchParams } from 'whatwg-url'
12
12
import { VSCODE_EXTENSION_ID } from '../extensions'
13
+ import { isAmazonQ } from '../extensionUtilities'
13
14
14
15
const localize = nls . loadMessageBundle ( )
15
16
@@ -100,7 +101,8 @@ export class UriHandler implements vscode.UriHandler {
100
101
}
101
102
102
103
static buildUri ( path : string ) {
103
- return vscode . Uri . parse ( `vscode://${ VSCODE_EXTENSION_ID . awstoolkit } /${ path } ` )
104
+ const extensionId = isAmazonQ ( ) ? VSCODE_EXTENSION_ID . amazonq : VSCODE_EXTENSION_ID . awstoolkit
105
+ return vscode . Uri . parse ( `vscode://${ extensionId } /${ path } ` )
104
106
}
105
107
}
106
108
You can’t perform that action at this time.
0 commit comments