This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "Download, unzip and enable Roslynator for Visual Studio Code" | |
$name = "josefpihrt.Roslynator2017" | |
$url = "https://marketplace.visualstudio.com/items?itemName=$name" | |
$currentDir = $PSScriptRoot | |
$file = "$currentDir\Roslynator.zip" | |
$pattern = "<script class=`"jiContent`" defer=`"defer`" type=`"application\/json`">(.*?)<\/script>" | |
$regex = [regex]"(?m)$pattern" | |
Write-Host "Grab the home page of the $name." |