Microsoft employee tooling: This extension should be used only by Microsoft employees to run SCOPE scripts on cosmos virtual clusters directly from VSCode.
After the extension is installed and the Cosmos SDK is copied locally, you can press F1 and try to run the available commands under ScopeJob and ScopeJob-Extra. In case you are not authenticated to Cosmos resources, you'll have to run the 'ScopeJob: Encode Cosmos User' command or manually run the Set-CosmosEncodedCredential commands in a powershell window. To get a full set of commands in from the Cosmos Powershell Module, you can run the ScopeJob-Extra: Get list of Powershell Cosmos module commands.
If a scope script file is open, press right click and you can access the shortcuts for compiling and running the script.
In order to utilize this extension and execute the commands successfully, you'll need to be a Microsoft employee who has access to at least one cosmos vc and resource access to the cosmos SDK.
This is the initial alpha release of the extension and the main purpose of this release is to test and gather feedback
This release contains the main commands available in Cosmos for compiling, running scripts and checking the job status. More commands will be implemented soon. Until then, you can use the installed SDK to manually run the commands in a terminal window.
Added capability to manually uninstall the Cosmos Powershell Module. The module is not yet automatically uninstalled when the extension is uninstalled so, it gives the option to remove the Cosmos module and SDK files if not intended to be used without the extension itself.
Added a command for encoding the user for cosmos access. This will ease the experience for the first time usage of the extension after install.
Enabled global parameter value persisting capability. The parameters will be auto-populated with the latest value used for that command. They will globally persist for the logged in user.
Added the cosmos SDK path to the user's 'PATH' variable to enable the run of scope.exe commands in the terminal. This will cover more scope/cosmos capabilities than this extension currently offers in alpha version.
The zip file used to install Cosmos SDK, is removed to clear disk space.