Skip to content

Commit 7780fc2

Browse files
authored
codewhisperer: CW status widget text is not showing customization while loading (#1088)
1 parent 8e54a33 commit 7780fc2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/codewhisperer/service/inlineCompletionService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ export class InlineCompletionService {
144144

145145
setCodeWhispererStatusBarLoading() {
146146
this._isPaginationRunning = true
147-
this.statusBar.text = codicon` ${getIcon('vscode-loading~spin')} CodeWhisperer`
147+
const selectedCustomization = getSelectedCustomization()
148+
this.statusBar.text = codicon` ${getIcon('vscode-loading~spin')} CodeWhisperer${
149+
selectedCustomization.arn === '' ? '' : ` | ${selectedCustomization.name}`
150+
}`
148151
this.statusBar.command = undefined
149152
;(this.statusBar as any).backgroundColor = undefined
150153
this.statusBar.show()

0 commit comments

Comments
 (0)