GoLand Version Control
GoLand Version Control is a VS Code extension that adds a GoLand-inspired local changes workflow for Git repositories.
Current stable version: 0.2.11.
Features
- Dedicated Activity Bar view with no built-in Git commit box clutter
- Repository and changelist grouping with flat relative file paths
- Colored Git status badges for unstaged, staged, untracked, deleted, renamed, and conflicted files
- Fast cached repo discovery, including deeper repositories nested under workspace category folders, with targeted refresh when files are saved or Git metadata changes; Shelf and Stash refresh separately from Local Changes
- Staged, unstaged, unversioned, renamed, deleted, and conflicted file states
- Native VS Code side-by-side diff editor integration with first-change navigation
- Stage, unstage, inline shelve, inline stash selected, inline revert, multi-file discard, open file, open diff, refresh, and change navigation commands
- Selected Changes panel appears for same-repository multi-file selections with stage, unstage, shelve, stash, and discard toolbar actions
- Workspace-backed custom changelists for organizing local work without changing Git metadata
- Repository-grouped extension-managed Shelf view for saving patch sets separately from Git metadata
- Repository-grouped native Git Stash view with lazy file loading for creating, applying, popping, dropping, and reviewing stashes
Usage
- Open a folder or workspace containing one or more Git repositories.
- Open
GoLand Version Control from the Activity Bar.
- Expand
Local Changes.
- Select changed files to open diffs, or use inline/context actions to stage, unstage, discard, or move files to changelists.
- Use
Shelf for IDE-managed patch shelves and Stash for native Git stashes.
Settings
golandVersionControl.showUntracked defaults to false
golandVersionControl.showUntrackedInUnbornRepositories defaults to false
golandVersionControl.repositorySearchDepth defaults to 5
golandVersionControl.groupBy
golandVersionControl.autoRefresh
golandVersionControl.confirmDiscard defaults to false
golandVersionControl.debug
golandVersionControl.openDiffAtFirstChange
golandVersionControl.enableGoDiffDiagnostics defaults to false
golandVersionControl.shelfLocation
golandVersionControl.stashIncludeUntracked
golandVersionControl.compareBase
Development
npm install
npm run compile
npm test
npm run test:integration
npx @vscode/vsce package
Notes
- This extension is GoLand-inspired and is not affiliated with JetBrains.
- VS Code's native diff editor is used intentionally for stable editing and staging behavior.
- VS Code Web is not targeted because the extension uses the local Git binary.
| |