settings.json file.
All Configuration Settings
Here’s a complete overview of all available settings:| Setting | Type | Default | Description |
|---|---|---|---|
neo-git-graph.dateFormat | string | "Date & Time" | Specifies the date format in the date column |
neo-git-graph.dateType | string | "Author Date" | Specifies the date type (Author Date or Commit Date) |
neo-git-graph.graphColours | array | 12 colors | Specifies the colours used on the graph |
neo-git-graph.graphStyle | string | "rounded" | Specifies the style of the graph (rounded or angular) |
neo-git-graph.tabIconColourTheme | string | "colour" | Specifies the colour theme of the tab icon |
neo-git-graph.autoCenterCommitDetailsView | boolean | true | Automatically center the commit details view when opened |
neo-git-graph.showStatusBarItem | boolean | true | Show a Status Bar item which opens Git Graph |
neo-git-graph.initialLoadCommits | number | 300 | Number of commits to initially load |
neo-git-graph.loadMoreCommits | number | 100 | Number of commits to load when “Load More” is pressed |
neo-git-graph.showUncommittedChanges | boolean | true | Show uncommitted changes |
neo-git-graph.maxDepthOfRepoSearch | number | 0 | Maximum depth of subfolders when discovering repositories |
neo-git-graph.fetchAvatars | boolean | false | Fetch avatars of commit authors and committers |
neo-git-graph.showCurrentBranchByDefault | boolean | false | Show only the current branch when Git Graph is opened |
Configuration Categories
Settings are organized into two main categories:Display Settings
Customize the visual appearance of your Git Graph, including date formats, graph colors, and UI elements.
Performance Settings
Optimize performance for large repositories by controlling commit loading and repository scanning.
How to Configure
You can configure neo-git-graph in two ways:Via Settings UI
- Open VS Code Settings (
Cmd/Ctrl + ,) - Search for “neo-git-graph”
- Modify the desired settings
Via settings.json
- Open the Command Palette (
Cmd/Ctrl + Shift + P) - Type “Preferences: Open Settings (JSON)”
- Add your configuration:
All settings are prefixed with
neo-git-graph. to avoid conflicts with other extensions.