Add explicit instruction to all code generation prompts to return only raw code without explanations, markdown, or code fences. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.1 KiB
3.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Changed
- Improved code generation prompts to explicitly request only raw code output (no explanations, markdown, or code fences)
0.2.0 - 2026-01-11
Added
- Ask Panel - Chat interface for asking questions about code
- Fixed at 1/4 (25%) screen width for consistent layout
- File attachment with
@key (uses Telescope if available) Ctrl+nto start a new chat (clears input and history)Ctrl+Enterto submit questionsCtrl+fto add current file as contextCtrl+h/j/k/lfor window navigationK/Jto jump between output and input windowsYto copy last response to clipboardqto close panel (closes both windows together)
- Auto-open Ask panel on startup (configurable via
auto_open_ask) - File content is now sent to LLM when attaching files with
@
Changed
- Ask panel width is now fixed at 25% (1/4 of screen)
- Improved close behavior - closing either Ask window closes both
- Proper focus management after closing Ask panel
- Compact UI elements to fit 1/4 width layout
- Changed "Assistant" label to "AI" in chat messages
Fixed
- Ask panel window state sync issues
- Window focus returning to code after closing Ask panel
- NerdTree/nvim-tree causing Ask panel to resize incorrectly
0.1.0 - 2026-01-11
Added
- Initial release of Codetyper.nvim
- Core plugin architecture with modular Lua structure
- Split window view for coder and target files
- Tag-based prompt system (
/@to open,@/to close) - Claude API integration for code generation
- Ollama API integration for local LLM support
- Automatic
.gitignoremanagement for coder files and.coder/folder - Smart prompt type detection (refactor, add, document, explain)
- Code injection system with multiple strategies
- User commands:
Coder,CoderOpen,CoderClose,CoderToggle,CoderProcess,CoderTree,CoderTreeView - Health check module (
:checkhealth codetyper) - Comprehensive documentation and help files
- Telescope integration for file selection (optional)
- Project tree logging: Automatic
.coder/tree.logmaintenance- Updates on file create, save, delete
- Debounced updates (1 second) for performance
- File type icons for visual clarity
- Ignores common build/dependency folders
Configuration Options
- LLM provider selection (Claude/Ollama)
- Window position and width customization
- Custom prompt tag patterns
- Auto gitignore toggle
Version History
Legend
- Added - New features
- Changed - Changes in existing functionality
- Deprecated - Soon-to-be removed features
- Removed - Removed features
- Fixed - Bug fixes
- Security - Vulnerability fixes