A3: add untracked files to .gitignore from the Changes context menu

git.ignore appends one anchored, escaped literal pattern per path to the
work tree root's .gitignore, skipping patterns already there. The Changes
window gets a row context menu (right click, Shift+F10, context-menu key)
with Open and Add to .gitignore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-31 14:33:42 +01:00
parent ce681871ad
commit 68599fa2ac
14 changed files with 633 additions and 5 deletions

View file

@ -183,6 +183,7 @@
"notification.vcs.fetchFailed": "Fetch failed: {reason}",
"notification.vcs.fetched": "Fetched from every remote",
"notification.vcs.historyNoFile": "Open a file or pass a path to show its history",
"notification.vcs.ignored": "Added to .gitignore: {path}",
"notification.vcs.mergeAborted": "Merge aborted",
"notification.vcs.mergeConflicts": "Merging {branch} stopped on conflicts (conflicted files: {count}). Resolve them, then commit.",
"notification.vcs.mergeFailed": "Git did not merge {branch}: {reason}",
@ -347,6 +348,9 @@
"vcs.changes.group.untracked": "Untracked",
"vcs.changes.list.label": "Changed files",
"vcs.changes.loading": "Reading the Git status…",
"vcs.changes.menu.ignore": "Add to .gitignore",
"vcs.changes.menu.label": "Actions for {path}",
"vcs.changes.menu.open": "Open",
"vcs.changes.noCommits": "no commits yet",
"vcs.changes.noProject": "Open a project to see its changes",
"vcs.changes.noRepo": "This project is not in a Git repository",