gaelcolas / Sampler

Module template with build pipeline and examples, including DSC elements.
MIT License
172 stars 42 forks source link

Should have the correct `pipelineIndentationStyle` for the dsccommunity template #329

Open johlju opened 3 years ago

johlju commented 3 years ago

Problem description

We have always used the following indentation style for pipelines in DSC Community repositories (HQRM modules).

"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",

but currently the template is set to

https://github.com/gaelcolas/Sampler/blob/656803bec36b2b279336a7efa76c6cfbf63862c0/Sampler/Templates/VscodeConfig/settings.json#L10

Verbose logs

n/a

How to reproduce

n/a

Expected behavior

Have the correct indentation style for pipelines so we don't have to change the code in all modules to align to HQRM (as suggested by the current template).

Current behavior

Have the wrong expected indentation style for pipelines.

Suggested solution

Change the template when the module type that is being created is dsccommunity.

"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",

Operating system the target node is running

n/a

PowerShell version and build the target node is running

n/a

Module version used

n/a