Version v2021.2.2 syntax highlighting is "poor" compared to previous version
See original GitHub issueEnvironment
- Editor and Version (VS Code, Atom, Sublime): VSCode 1.53.2
- Your primary theme: dark (default)
Issue Description
Since the new extension for PowerShell was installed, the highliting became very “poor”. Almost everything is now in blue and before there was white and yellow. Now, it’s difficult to identify things… it’s impossible to see when a function is called on an object and also when we access an object member. And it’s also difficult to identify function parameter tags…
Screenshots
Expected Behavior
Previous version of the extension
Code Samples
Here’s the code that is on the screenshots
# Création d'une connexion au serveur vRA pour accéder à ses API REST
$logHistory.addLineAndDisplay("Connecting to vRA...")
$vra = [vRAAPI]::new($configVra.getConfigValue(@($targetEnv, "infra", "server")),
$targetTenant,
$configVra.getConfigValue(@($targetEnv, "infra", $targetTenant, "user")),
$configVra.getConfigValue(@($targetEnv, "infra", $targetTenant, "password")))
# Parcours de la liste des BG
Foreach ($bg in $vra.getBGList() )
{
$logHistory.addLineAndDisplay(("Processing BG '{0}'..." -f $bg.name))
$logHistory.addLineAndDisplay("> Getting VM List...")
$vmList = $vra.getBGItemList($bg, "Virtual Machine")
$logHistory.addLineAndDisplay(("> {0} VMs found" -f $vmList.count))
Foreach($vm in $vmList)
{
$logHistory.addLineAndDisplay((">> Processing VM '{0}'..." -f $vm.name))
if(((getvRAObjectCustomPropValue -object $vm -customPropName $global:VRA_CUSTOM_PROP_VRA_BG_NAME) -ne $bg.name) -or
((getvRAObjectCustomPropValue -object $vm -customPropName $global:VRA_CUSTOM_PROP_VRA_TENANT_NAME) -ne $targetTenant))
{
$logHistory.addLineAndDisplay("Values need to be updated")
}
}
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Version v2021.2.2 syntax highlighting is "poor" compared to ...
Version v2021.2.2 syntax highlighting is "poor" compared to previous version.
Read more >Visual Studio Code syntax highlighting is not working for ...
0.20221116) for JavaScript and TypeScript Nightly seems to be breaking the syntax highlighting. Downgrading to a previous version might resolve ...
Read more >Visual Studio 2022 17.4 is now available!
We are happy to announce that Visual Studio 2022 17.4 is now generally available. This is our first GA release to support Arm64....
Read more >Google Charts Release Notes
This page describes the Google Charts release process. It also includes the release notes for the current and previous versions of Google Charts,...
Read more >Web Content Accessibility Guidelines (WCAG) 2.2 - W3C
This version integrates changes in response to comments received on the 21 May 2021 ... Requirements for WCAG 2.2; Comparison with WCAG 2.1....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can disable it:
Please revert the previous syntax highlighting back or at least let us choose between the 2, after the update my code isn’t readable. I tried all different kind of theme’s but they are all broken now.