Skip to content

The extension insists on adding the addWhitespaceAroundPipe setting to my workspace settings file #2842

Closed
@rkeithhill

Description

@rkeithhill

System Details

System Details Output

### VSCode version: 1.47.3 91899dcef7b8110878ea59626991a18c8a6a1b3e x64

### VSCode extensions:
abusaidm.html-snippets@0.2.1
atlassian.atlascode@2.6.6
bierner.emojisense@0.7.0
bierner.github-markdown-preview@0.0.2
bierner.markdown-checkbox@0.1.3
bierner.markdown-emoji@0.0.9
bierner.markdown-preview-github-styles@0.1.6
bierner.markdown-yaml-preamble@0.0.4
DavidAnson.vscode-markdownlint@0.36.2
DotJoshJohnson.xml@2.5.1
eamodio.gitlens@10.2.2
EditorConfig.EditorConfig@0.15.1
eg2.tslint@1.0.44
johnpapa.winteriscoming@1.4.3
Mikael.Angular-BeastCode@8.1.2
ms-dotnettools.csharp@1.22.1
ms-edgedevtools.vscode-edge-devtools@1.0.8
ms-python.python@2020.7.96456
ms-vscode-remote.remote-containers@0.128.0
ms-vscode-remote.remote-ssh@0.51.0
ms-vscode-remote.remote-ssh-edit@0.51.0
ms-vscode-remote.remote-ssh-explorer@0.51.0
ms-vscode-remote.remote-wsl@0.44.4
ms-vscode-remote.vscode-remote-extensionpack@0.20.0
ms-vscode.cpptools@0.29.0
ms-vscode.powershell-preview@2020.7.0
ms-vscode.vscode-typescript-tslint-plugin@1.2.3
msjsdiag.debugger-for-chrome@4.12.9
msjsdiag.debugger-for-edge@1.0.15
redhat.vscode-yaml@0.9.1
robinbentley.sass-indented@1.5.1
sibiraj-s.vscode-scss-formatter@2.0.1
SimonSiefke.svg-preview@2.8.3
spmeesseman.vscode-taskexplorer@1.26.3
twxs.cmake@0.0.17
vsls-contrib.codetour@0.0.34
vsls-contrib.gistfs@0.1.8
vsls-contrib.gitdoc@0.0.6
wayou.vscode-todo-highlight@1.0.4
yzhang.markdown-all-in-one@3.2.0


### PSES version: 2.3.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.1.0-preview.5
PSEdition                      Core
GitCommitId                    7.1.0-preview.5
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

I've had other extensions do this and it is very annoying because it creates unnecessary Git diffs / files committed. Basically when I open a PS1 file in my repo, this change gets made to the workspace's settings.json file:

image

Expected Behaviour

The extensions should never automatically modify my workspace's settings.json file.

Actual Behaviour

The settings.json is being modified behind my back.
vscode-powershell.zip

Attached Logs

Follow the instructions in the troubleshooting docs
about capturing and sending logs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions