PowerShell / PowerShell/vscode-powershell
PSScriptAnalyzer problems don't refresh after changing the settings file
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 548
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Issue Description
I am experiencing a problem with problems not refreshing after changing the settings file.
Steps to reproduce
- Open a PowerShell script with at least one problem.
- Open the
PSScriptAnalyzerSettings.psd1file. - Add the name of the rule that's causing the problem under the
ExcludeRuleskey. - Go back to the initial script.
Current behaviour
The problem doesn't disappear.
Expected behaviour
The problem should disappear.
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
1612637680-c7543aa0-3145-4deb-9204-e328d43685271612637672916.zip
Environment Information
Visual Studio Code
| Name | Version |
|---|---|
| Operating System | Darwin x64 20.3.0 |
| VSCode | 1.53.0 |
| PowerShell Extension Version | 2020.6.0 |
PowerShell Information
| Name | Value |
|---|---|
| PSVersion | 7.1.1 |
| PSEdition | Core |
| GitCommitId | 7.1.1 |
| OS | Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021, root:xnu-7195.81.3~1/RELEASE_X86_64 |
| Platform | Unix |
| PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0 7.1.1 |
| PSRemotingProtocolVersion | 2.3 |
| SerializationVersion | 1.1.0.1 |
| WSManStackVersion | 3.0 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
| Extension | Author | Version |
|---|---|---|
| cpptools | ms-vscode | 1.2.0 |
| platformio-ide | platformio | 2.2.1 |
| powershell | ms-vscode | 2020.6.0 |
| prettier-vscode | esbenp | 5.9.1 |
| remote-containers | ms-vscode-remote | 0.158.0 |
| vetur | octref | 0.32.0 |
| vscode-docker | ms-azuretools | 1.9.1 |
| vscode-typescript-tslint-plugin | ms-vscode | 1.3.3 |
| vsliveshare | ms-vsliveshare | 1.0.3629 |
Moved from https://github.com/microsoft/vscode/issues/115988.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema in VS Code con uno script PowerShell e PSScriptAnalyzerSettings.psd1, quindi segui docs/troubleshooting.md per raccogliere i log. Traccia il modo in cui le modifiche a ExcludeRules influiscono sui problemi segnalati dallo script; il lavoro è completato quando la diagnostica esclusa scompare dopo essere tornati allo script.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell, typescript, vscode
- Ambito
- developer-experience, devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100