Skip to content

Code formatting preset - Add ability to override settings set by preset #5109

Open
@o-l-a-v

Description

@o-l-a-v

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

A lot of people including me like OTBS with else on a new line.

To achieve this with vscode-powershell one have to use "powershell.codeFormatting.preset": "Custom" and set all formatting rules one by one.

It'd be nice with the ability to override any setting set by a preset. If this is not possible or feasible maybe a new preset can be added to PSScriptAnalyzer:

Proposed Design

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions