Skip to content

Commit

Permalink
upgrade to latest bsc version, fix infinite loading for old bsc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Jul 25, 2023
1 parent 8d07b5b commit 7750330
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@vscode/extension-telemetry": "^0.4.7",
"array-sort": "^1.0.0",
"backoff": "^2.5.0",
"brighterscript": "^0.65.1",
"brighterscript": "^0.65.4",
"brighterscript-formatter": "^1.6.30",
"debounce": "^1.2.0",
"dotenv": "^6.2.0",
Expand Down
3 changes: 1 addition & 2 deletions src/LanguageServerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class LanguageServerManager {
this.languageServerStatusBar.command = LanguageServerInfoCommand.commandName;

//enable the statusbar loading anmation. the language server will disable once it finishes loading
this.updateStatusbar(true);
this.updateStatusbar(false);

this.languageServerStatusBar.show();

Expand Down Expand Up @@ -216,7 +216,6 @@ export class LanguageServerManager {
* Enable/disable the loading spinner on the statusbar item
*/
private updateStatusbar(isLoading: boolean) {
console.log('update statusbar:', isLoading);
const icon = isLoading ? '$(sync~spin)' : '$(flame)';
this.languageServerStatusBar.text = `${icon} bsc-${this.selectedBscInfo.version}`;
this.languageServerStatusBar.tooltip = `BrightScript Language Server: running`;
Expand Down

0 comments on commit 7750330

Please sign in to comment.