Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
EditorSyntax
Syntax highlighting files for editors (VSCode, Atom, SublimeText, TextMate, etc) and GitHub!
-
nvim-lsp-installer
Discontinued Further development has moved to https://github.com/williamboman/mason.nvim!
These are "features" working as intended. Take a look at the file that turns up if you search for that DSC snippet: https://github.com/PowerShell/vscode-powershell/blob/master/snippets/PowerShell.json
I would definer not autoformat on save with bugs such was this still outstanding: https://github.com/PowerShell/PSScriptAnalyzer/issues/1580
There is a PR that mostly solves the inaccuracies here: https://github.com/PowerShell/EditorSyntax/pull/156 but it has been WIP since 2019 with no sign of him finishing it in the near future. I don't blame him because it's a ton of work and semantic highlighting sort of made it irrelevant but it does leave us without an official editor that can handle the PS6+ syntax.
Also I noticed PowerShell has been added to the lsp installer plug-in (think it’s this one but I’m on my phone so I’m not certain https://github.com/williamboman/nvim-lsp-installer/). I believe the installer only works for Windows.