Skip to content

Fix gitignore for VS Code#22

Merged
realBritakee merged 3 commits into
realBritakee:mainfrom
hytailor:dev/vscode
Feb 17, 2026
Merged

Fix gitignore for VS Code#22
realBritakee merged 3 commits into
realBritakee:mainfrom
hytailor:dev/vscode

Conversation

@docwhomc

@docwhomc docwhomc commented Feb 2, 2026

Copy link
Copy Markdown

Allow tracking of certain VS Code configuration files for the repository/workspace.

Allow the exclusion of files in the `.vscode/` directory to be
overridden via negated patterns (gitignore patterns beginning with `!`)
by changing the pattern in `.gitignore` from `.vscode/` to `.vscode/*`
(i.e., by ignoring the files in `.vscode/` rather than the `.vscode/`
directory itself).
Add negated pattern to `.gitignore` for the VS Code settings file
(`.vscode/settings.json`).
Add negated pattern to `.gitignore` for the VS Code Java formatter
configuration file (`.vscode/java-formatter.xml`).
@realBritakee realBritakee merged commit a1f96f5 into realBritakee:main Feb 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants