- Removed DevChat.InstallCommandPython from package.json commands array
- Commented out DevChat.InstallCommandPython execution in statusBarView.ts
- No longer triggers Python command installation in statusBarItem creation
- Updated the language model in code completion to starcoder2:15b for improved performance.
- Overhauled prompt creation to include 'recent edit documents', 'task', 'call function define', 'similar blocks', and 'symbol defines' for better context recognition in logs.
- Ensured fallback to 'nvidia/starcoder2:15b' if no model is specified, enhancing reliability.
- Enhanced parsing logic to handle multiple messages in one go
- Added splitting of incoming data chunks before processing
- Implemented more robust error handling for JSON parsing
- Remove unnecessary installation check codes from devchat-commands
- Streamline setup process for new users
- Maintain application functionality and stability
- Refactor devchat API configuration for clarity and consistency
- Ensure code completion fallbacks to devchat when configured
- Streamline the process for activating devchat server code completion
- Added a preCompletionItem to hold the current autocomplete item
- Refactored how autocomplete items are returned to prevent flickering
- Improved logic to combine current line prefix and response code effectively
- Add support for DevChat API as a code completion source
- Implement dynamic model selection for code completions
- Introduce error handling and logging for DevChat API requests
- Implemented filtering based on comment symbols followed by filenames
- Added filtering for comments indicating omitted code sections
- Adjusted prefix gathering for inline completion to consider previous lines
- Refactored delay in Quick Fix activation to a dedicated function
- Implemented language-specific prompt generation in Quick Fixes
- Added Chinese language support alongside English for Quick Fix guidance
- Add check for config file existence and create if not present
- Ensure config file is parsed to an object even if empty
- Refactor config and value setting logic for clarity and stability
Closes#347
- Implemented a new Quick Fix command in commands.ts and package.json
- Added the collapseFileExcludeSelectRange function for code analysis
- Registered the Quick Fix provider to suggest fixes via AI analysis
- Added environment variable to utilize selected model for unit tests
- Ensures consistency in testing with production models
- Improves reliability of tests by using configured model data
- Adjusted the condition to yield chunks only if not starting with certain characters
- Ensured that empty lines or lines starting with ), ], or } are excluded
- Optimized chunk filtering logic for better code completion accuracy
- Commented out the check blocking suggestions for selected symbols
- Ensured code suggestions now appear during symbol selection
- Adjusted inline completion behavior to optimize user flow
- Implemented logic to reuse the previous code completion result if the
new prefix matches it, reducing redundant computations.
- Added tracking for the previous code completion result and prefix to
improve user experience by preventing unnecessary triggers.
- Adjusted code completion logic to determine when to fetch new suggestions
or reuse existing ones, optimizing performance.