Skip to content

Commit 51abe62

Browse files
trmquang93Quang Tran Minhclaude
authored
Release v0.1.6 (#31)
* feat: add 'Focus on Claude Code Input' command - Add new command 'claude-code-extension.focusInput' in package.json - Register command handler in extension.ts with proper error handling - Implement focusInput method in claudeTerminalInputProvider.ts - Enhanced webview focus handling with multiple attempts and scroll-into-view - Command now available in Command Palette as 'Focus on Claude Code Input' - Improves accessibility and user experience for keyboard navigation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: add 'Explain with Claude Code' context menu actions Add comprehensive right-click context menu integration for AI-powered code explanations: • Editor context menus: - 'Explain Selection with Claude Code' (when text is selected) - 'Explain File with Claude Code' (when no text is selected) • Explorer context menus: - 'Explain with Claude Code' (for files) - 'Explain Folder with Claude Code' (for folders) Features: - Smart workspace-relative path resolution - Automatic terminal startup when needed - Line range detection for code selections (@file.js#L10-15) - Proper error handling with user-friendly messages - File/folder existence validation - Grouped menu items in 'claude' section for better UX Technical improvements: - Added space after terminal text input for better interaction - Leverages existing terminal management and detection infrastructure - Maintains focus on input panel after sending commands - Shows terminal in background without stealing focus * chore: bump version to 0.1.6 --------- Co-authored-by: Quang Tran Minh <quang.tranminh@hanoi.git> Co-authored-by: Claude <noreply@anthropic.com>
1 parent e30bafe commit 51abe62

File tree

6 files changed

+620
-7
lines changed

6 files changed

+620
-7
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ All notable changes to the "Claude Code" extension will be documented in this fi
44

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

7+
## [0.1.6] - 2025-01-09
8+
9+
### Added
10+
- **Official Claude Code Extension Integration**: NEW feature to detect and use the official Claude Code extension (anthropic.claude-code) when available
11+
- Automatic detection and smart fallback from official extension to terminal approach
12+
- Zero breaking changes - existing terminal functionality preserved as fallback
13+
- Seamless user experience with no configuration required
14+
- **Enhanced Terminal Connection Strategy**: Intelligent terminal management and connection
15+
- Smart terminal creation and disposal when official extension is detected
16+
- Improved connection reliability with better error handling
17+
- Single terminal approach prevents duplicate terminals
18+
19+
### Improved
20+
- **Launch Strategy**: Unified launch logic for both auto-start and manual launch scenarios
21+
- **Error Handling**: Enhanced error handling mechanisms throughout the extension
22+
- **Performance**: Better resource management and terminal lifecycle handling
23+
24+
### Technical
25+
- Added test infrastructure improvements (test dependencies updated)
26+
- Code quality improvements with enhanced linting and compilation
27+
728
## [0.1.3] - 2025-05-31
829

930
### Added

media/input.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,12 @@
10021002
setTimeout(() => {
10031003
messageInputElement.focus();
10041004
}, 50);
1005+
1006+
// Also try to scroll into view in case it's not visible
1007+
setTimeout(() => {
1008+
messageInputElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
1009+
messageInputElement.focus();
1010+
}, 100);
10051011
}
10061012
break;
10071013

package-lock.json

Lines changed: 280 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)