Closed jeremyciak closed 7 months ago
"files.defaultLanguage": "powershell",
"[powershell]": {
"editor.rulers": [ 120 ]
},
"[markdown]": {
"editor.rulers": [ 120 ]
}
We could also add a extensions.json
that suggest adding the extension markdownlint that is used for validating markdown in HQRM tests.
@johlju, I can pick this up.
Looking at the style guide is the line limit 120 or 80 chars?
Also is there anything else that needs adding as this is pretty old...
The style guidelines can be found at dsccommunity.org. We removed the hard line length limit a while back. We today also have a dsccommunity
Plaster template in the Sampler project that have most of these settings already I think 🤔 This repo should have gotten those settings when the template was used on this template.
Maybe this issue could just be closed if it already fixed?
Looks like it matches. The only thing that might be beneficial is any recommended extensions? e.g.
That sounds good. In SqlServerDsc these are used. YAML could be a good addition.
The Pester Test Adapter in the link below is a test I did in SqlServerDsc as it requires Pester 5 tests and specific settings, so that should not be a default in other repos until that extension becomes more stable I think 🤔
https://github.com/dsccommunity/SqlServerDsc/blob/main/.vscode/extensions.json
Shall I also add into the Sampler template?
Yes please, if you have time. Ping me in a PR there and I can review.
Done.
Same extensions.json for both.
Requirements like line length and other similar settings that can be added to the
settings.json
file under the.vscode
folder should be so that contributors automatically benefit from those settings.