Closed TwitchBronBron closed 2 months ago
Hey there! I just built a new version of the vscode extension based on 112a5d12de234330c970dd56498472d55ee49195. You can downloaded the .vsix here and then follow these installation instructions.
Hey there! I just built a new version of the vscode extension based on 43e015f3a0044e032fa870bbb80bb97158daa1c6. You can downloaded the .vsix here and then follow these installation instructions.
Adds the ability to install brighterscript versions automatically without requiring it to exist in
${workspaceFolder}/node_modules
.After this PR, the bsdk value can support the following values:
C:/roku/brighterscript
)./node_modules/brighterscript
)0.67.6
,1.0.0-alpha.36
).tgz
file (i.e.C:/downloads/brighterscript-0.67.6.tgz
).tgz
file (i.e../packages/brighterscript-0.67.6.tgz
)npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.67.6/brighterscript-0.67.6.tgzz
)We've added a new setting called
npmCacheRetentionDays
which determines how long to wait before deleting unused brighterscript versions from the local cache.Added a new command called
clearNpmPackageCache
which will clear all downloaded brighterscript packagesAdded a new series of menu options for downloading brighterscript versions, and also a few maintenance items like opening the install directory or clearing the downloaded files
Here's a demo of the feature in action:
https://github.com/user-attachments/assets/95b09ad5-a5a0-46f3-b960-81f296d962db
TODO:
vscode.window.onDidChangeWindowState
event to mark a bsc version's "last used date"