Skip to content

Enable 'powershell.scriptAnalysis.settingsPath' to search project root in multi-root workspaces #4743

Closed
@steakhutzeee

Description

@steakhutzeee

Prerequisites

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

Summary

Hello,

as i can see, the option powershell.scriptAnalysis.settingsPath can only be set globally or per workspace.

I'm actually using multi-root workspaces and so i should edit the setting every time i switch the folder.

Could be possible to implement a way to search for the PSScriptAnalyzerSettings.psd1 file in the project root and so on, in order to have one different setting file per folder in a multi-root workspace?

Default value set in #2190 does nothing. Setting file is not read from any of my directories in the workspace.

Thank you!

Proposed Design

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions