- 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.
- Extract message response logic into a new method shouldSendResponse
- Remove redundant try/catch blocks for parsing message text
- Improve readability and maintainability of the handleMessage method
- Wrap file creation logic in try-catch for error handling
- Ensure smooth file creation and opening in editor
- Display error message on file creation or opening failure
- Implement unit tests for creating and opening files with various content
- Introduce mocks for vscode API to simulate file creation and opening
- Cover edge cases such as unsupported languages and missing content
- Add detailed JSDoc comments for createAndOpenFile function
- Refactor createAndOpenFile to streamline document creation and opening
- Improve readability by adding in-line comments for clarity
- Updated package-lock.json version to 0.1.74
- Ensured devchat dependency consistency with version bump
- Lockfile version remains unchanged, ensuring compatibility
- Implemented createAndOpenFile to open a document with the provided content
- Registered createAndOpenFile handler for 'code_new_file' messages
- Enhanced codeBlockHandler and handlerRegister with new functionality
- Remove performance logging in searchSimilarBlock function
- Remove unused timing variables to clean up code
- Ensure smoother operation by optimizing search logic
- Exported `BLACK_LIST_DIRS` for use in `GitDiffWatcher`
- Implemented `GitDiffWatcher` to monitor file changes and updates
- Enhanced prompt creation with recent edits and git diff context
- Ensure FileBlockInfo is initialized early to prevent re-indexing
- Refactor createFileBlockInfo to return initialized object on failure
- Removal of redundant FileBlockInfo instance creation for clarity
- Add validation for message content in createAndOpenFile
- Ensure newly opened files are not in preview mode
- Display error message for invalid message formats
- Extract message response logic into a new method shouldSendResponse
- Remove redundant try/catch blocks for parsing message text
- Improve readability and maintainability of the handleMessage method