question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
JustinGrotecommented, Oct 31, 2020

@AArnott you need to have either Powershell or Powershell Preview installed, not both. It should actually be warning you not to do this and to uninstall one every startup.

1reaction
TylerLeonhardtcommented, Aug 4, 2020

I’ve got a fix out for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extensions that change your settings - Chrome Web Store Help
See the settings that an extension changed · On your computer, open Chrome. · At the top right, click More More and then...
Read more >
VS Code Extension to Update Workspace Settings
Am I correct in thinking that I can create my extension, add the metadata I'm after under the "contributes" section in the "configuration"...
Read more >
Instagram Assistant Frequently Asked Questions - INSSIST
Inssist stands for Instagram Assistant. It is a powerful Chrome Extension (plugin) and a standalone app that brings Instagram Mobile View to your...
Read more >
INSSIST | Web Client for Instagram
Post photos, videos, stories, reels to Instagram from Web. Schedule posts, send DMs, manage hashtags.
Read more >
How To Change Extension Settings in Google Chrome
From the Chrome extension settings page, you can perform functions like removing current, deactivating or activating your current extensions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found