Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gitbun-vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
out
dist
node_modules
.vscode-test/
*.vsix
5 changes: 5 additions & 0 deletions gitbun-vscode/.vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
});
11 changes: 11 additions & 0 deletions gitbun-vscode/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.vscode/**
.vscode-test/**
src/**
.gitignore
.yarnrc
vsc-extension-quickstart.md
**/tsconfig.json
**/eslint.config.mjs
**/*.map
**/*.ts
**/.vscode-test.*
9 changes: 9 additions & 0 deletions gitbun-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Change Log

All notable changes to the "gitbun-vscode" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]

- Initial release
14 changes: 14 additions & 0 deletions gitbun-vscode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Gitbun for VSCode
AI-powered commit message generation inside VSCode.
## Requirements
- Node.js installed
- Gitbun CLI: `npm install -g gitbun`
## Usage
1. Stage your changes in Source Control
2. Press `Ctrl+Shift+G G` (Mac: `Cmd+Shift+G G`) or run `Gitbun: Generate Commit Message` from the Command Palette
3. The generated message appears in the Source Control input box
4. Review, edit if needed, then click Commit
## Configuration
Place a `.smartcommitrc` file in your repo root. Gitbun picks it up automatically.
## Troubleshooting
Open the Output panel and select "Gitbun" channel for debug logs.
27 changes: 27 additions & 0 deletions gitbun-vscode/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import typescriptEslint from "typescript-eslint";

export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint.plugin,
},

languageOptions: {
parser: typescriptEslint.parser,
ecmaVersion: 2022,
sourceType: "module",
},

rules: {
"@typescript-eslint/naming-convention": ["warn", {
selector: "import",
format: ["camelCase", "PascalCase"],
}],

curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "warn",
},
}];
Loading
Loading