Page MenuHomePhabricator

[vscode] Add `.vscode` directory to `.gitignore` EXCEPT `extensions.json`
ClosedPublic

Authored by atul on Mar 16 2022, 12:30 PM.
Tags
None
Referenced Files
F3409865: D3442.id10470.diff
Wed, Dec 4, 7:00 PM
F3408615: D3442.diff
Wed, Dec 4, 12:05 PM
Unknown Object (File)
Tue, Dec 3, 3:03 PM
Unknown Object (File)
Thu, Nov 7, 5:33 AM
Unknown Object (File)
Tue, Nov 5, 11:24 AM
Unknown Object (File)
Tue, Nov 5, 11:24 AM
Unknown Object (File)
Oct 27 2024, 5:29 AM
Unknown Object (File)
Oct 27 2024, 5:29 AM

Details

Summary

We generally want to ignore the .vscode directory. However, we decided extensions.json is something we want to include in the repository... and so we should exclude it from being ignored.

(Working off of the example here: https://stackoverflow.com/a/16318111)

Test Plan
  1. Add a random file to the .vscode directory
  2. Make sure the file doesn't show up in the staging area on git status
  3. Make a random change to .vscode/extensions.json
  4. Make sure that the random change does show up in staging area on git status

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Mar 16 2022, 12:31 PM
atul added 1 blocking reviewer(s): ashoat.

Looking at the stackoverflow post, LGTM

This revision is now accepted and ready to land.Mar 16 2022, 8:53 PM