MCPcopy Index your code
hub / github.com/PowerShell/vscode-powershell / createStatusBarItem

Method createStatusBarItem

src/session.ts:1170–1183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1168 }
1169
1170 private createStatusBarItem(): vscode.LanguageStatusItem {
1171 const statusTitle = "Show PowerShell Session Menu";
1172 const languageStatusItem = vscode.languages.createLanguageStatusItem(
1173 "powershell",
1174 this.documentSelector,
1175 );
1176 languageStatusItem.command = {
1177 title: statusTitle,
1178 command: this.ShowSessionMenuCommandName,
1179 };
1180 languageStatusItem.text = "$(terminal-powershell)";
1181 languageStatusItem.detail = "PowerShell";
1182 return languageStatusItem;
1183 }
1184
1185 private async waitWhileStarting(): Promise<void> {
1186 while (this.sessionStatus === SessionStatus.Starting) {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected