Archived
1
0

chore(vscode): update to 1.53.2

These conflicts will be resolved in the following commits. We do it this way so
that PR review is possible.
This commit is contained in:
Joe Previte
2021-02-25 11:27:27 -07:00
1900 changed files with 83066 additions and 64589 deletions

View File

@ -1,43 +0,0 @@
# Copyright Microsoft Corporation
function Test-IsAdmin() {
try {
$identity = [Security.Principal.WindowsIdentity]::GetCurrent()
$principal = New-Object Security.Principal.WindowsPrincipal -ArgumentList $identity
return $principal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator )
} catch {
throw "Failed to determine if the current user has elevated privileges. The error was: '{0}'." -f $_
}
}
function Invoke-Environment()
{
param
(
[Parameter(Mandatory=1)][string]$Command
)
foreach($_ in cmd /c "$Command 2>&1 & set") {
if ($_ -match '^([^=]+)=(.*)') {
[System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])
}
}
}
Write-Host -Object 'Initializing Azure PowerShell environment...';
# PowerShell commands need elevation for dependencies installation and running tests
if (!(Test-IsAdmin)){
Write-Host -Object 'Please launch command under administrator account. It is needed for environment setting up and unit test.' -ForegroundColor Red;
}
$env:AzurePSRoot = Split-Path -Parent -Path $env:AzurePSRoot;
if (Test-Path -Path "$env:ADXSDKProgramFiles\Microsoft Visual Studio 12.0") {
$vsVersion="12.0"
} else {
$vsVersion="11.0"
}
$setVSEnv = '"{0}\Microsoft Visual Studio {1}\VC\vcvarsall.bat" x64' -f $env:ADXSDKProgramFiles, $vsVersion;
Invoke-Environment -Command $setVSEnv;

View File

@ -1,35 +0,0 @@
[
{
"c": "<#",
"t": "source.powershell comment.block.powershell punctuation.definition.comment.block.begin.powershell",
"r": {
"dark_plus": "comment: #6A9955",
"light_plus": "comment: #008000",
"dark_vs": "comment: #6A9955",
"light_vs": "comment: #008000",
"hc_black": "comment: #7CA668"
}
},
{
"c": " .",
"t": "source.powershell comment.block.powershell",
"r": {
"dark_plus": "comment: #6A9955",
"light_plus": "comment: #008000",
"dark_vs": "comment: #6A9955",
"light_vs": "comment: #008000",
"hc_black": "comment: #7CA668"
}
},
{
"c": "#>",
"t": "source.powershell comment.block.powershell punctuation.definition.comment.block.end.powershell",
"r": {
"dark_plus": "comment: #6A9955",
"light_plus": "comment: #008000",
"dark_vs": "comment: #6A9955",
"light_vs": "comment: #008000",
"hc_black": "comment: #7CA668"
}
}
]