ant-druha / intellij-powershell

Adds PowerShell language support to IntelliJ-based IDEs.
https://plugins.jetbrains.com/plugin/10249-powershell
Apache License 2.0
71 stars 20 forks source link

Ability to specify/load PSScriptAnalyzerSettings.psd1 #286

Open elijah-potter opened 1 month ago

elijah-potter commented 1 month ago

Other editor plugins (for VSCode, Neovim, etc.) allow users to specify and load a PSScriptAnalyzerSettings.psd1 to configure which linting rules are displayed and create custom rules. Is it possible to load this file for the IntelliJ extension?

ForNeVeR commented 1 month ago

This request makes sense. How does it work? Is there some documentation on this setting file?

elijah-potter commented 1 month ago

I believe by default it is supposed to be loaded from the root of the workspace.

A good ref. would be the Visual Studio Code plugin (and their example). There is also the official documentation.