-
Notifications
You must be signed in to change notification settings - Fork 441
Always edits .gitignore file on load #7108
Description
Summary
This extension consistently modifies my .gitignore file on start up. This is VERY annoying. please fix this.
I think it's linting the file... But I should be in control of when and how my files get linted. Not some random extension's background start up process.
Steps To Reproduce:
- Open VSCode in a Salesforce Metadata repo (ie: one with an
sfdx-project.jsonfile - add a few blank lines to the .gitignore file within this repo and commit the change
- Run
git statusto ensure your working tree is clean - Restart the Extension Host (or completely restart VSCode)
- Once the extensions have finished loading, run
git statusagain and note that the .gitignore file has been modified to remove the new lines at the end of the file.
Expected result
Expected no change to any files in my repo
Actual result
Once the extensions have finished loading, run git status again and note that the .gitignore file has been modified to remove the new lines at the end of the file.
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code: 66.3.2
Salesforce CLI Version: @salesforce/cli/2.127.2 darwin-arm64 node-v22.19.0
OS and version: Apple M4 Pro -> MacOS Tahoe Version 26.3.1 (a)
VS Code version: 1.113.0
Most recent version of the extensions where this was working: 65.17.2
Problem first seen in version: 65.17.3