Fix Google's Antigravity support#131
Conversation
Co-authored-by: ivanviragine <9950727+ivanviragine@users.noreply.github.com>
Co-authored-by: ivanviragine <9950727+ivanviragine@users.noreply.github.com>
Co-authored-by: ivanviragine <9950727+ivanviragine@users.noreply.github.com>
…ravity Add Google Antigravity editor adapter
…AUDE.md Co-authored-by: ivanviragine <9950727+ivanviragine@users.noreply.github.com>
…uidelines Fix alphabetical ordering of antigravity editor across help text and docs
Co-authored-by: ivanviragine <9950727+ivanviragine@users.noreply.github.com>
…tory-issue Fix Antigravity editor adapter to use dot pattern instead of full path
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThis change introduces a new "dot" editor adapter mode that launches editors with the current directory represented as "." instead of full paths. The _EDITOR_DOT flag controls this behavior, is parsed from registry entries, and a test case validates the functionality. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request
Description
Fix issue where it is not opening in the right worktree directory anymore (needs
.when calling).Motivation
Fix issue.
Type of Change
Testing
Manual Testing Checklist
Tested on:
Core functionality tested:
git gtr new <branch>- Create worktreegit gtr go <branch>- Navigate to worktreegit gtr editor <branch>- Open in editor (if applicable)git gtr ai <branch>- Start AI tool (if applicable)git gtr rm <branch>- Remove worktreegit gtr list- List worktreesgit gtr config- Configuration commands (if applicable)git gtr adapter,git gtr help editorTest Steps
git gtr adapterand verifyantigravityappears in the editor listgit gtr help editorand verifyantigravityis listed among available editors./scripts/generate-completions.sh --checkand verify completions are in syncgtr.ui.colornow shows "Color output mode (auto, always, never)" descriptionExpected behavior: Antigravity appears as a built-in editor option in all help, adapter, completion, and configuration surfaces. Fish completion for
gtr.ui.colorshows the correct description.Actual behavior: Matches expected behavior.
Breaking Changes
Checklist
Before submitting this PR, please check:
git gtr(production) and./bin/gtr(development)Additional Context
Files changed:
lib/adapters.sh— Added _EDITOR_DOT to denote need for adding.when opening the editorLicense Acknowledgment
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache License 2.0.
Summary by CodeRabbit
New Features
Tests