9 Commits

Author SHA1 Message Date
bobo.yang
2b505b5536 Refactor DevChatConfig instantiation to use getInstance() method 2024-04-17 00:07:09 +08:00
bobo.yang
560b399933 Fix code completion performance issues 2024-04-15 22:30:46 +08:00
bobo.yang
bd1e2eaa68 feat: Integrate recent files into code completion
- 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
2024-04-14 23:03:25 +08:00
bobo.yang
fecf077f38 feat: Add task description context to code completion
- Implemented createTaskDescriptionContext to fetch task desc.
- Integrated task description into the prompt generation process.
- Enhanced code completion accuracy by embedding task context.
2024-04-14 18:56:30 +08:00
bobo.yang
e5b6320ecd Find similar code blocks 2024-04-12 15:29:29 +08:00
bobo.yang
de92bf3c85 feat: Optimize AST caching and function lookups
- Improved AST caching mechanism by associating cache entries with filepaths and their content hash for validation.
- Enhanced function range querying by caching query results per file extension to reduce redundant computations.
- Implemented caching for symbol definitions to minimize repetitive AST parsing and query execution, improving overall performance in code completion prompts and context generation.
2024-04-09 22:13:09 +08:00
bobo.yang
37d256a0a1 don't collapse constructor function 2024-04-08 22:56:48 +08:00
bobo.yang
5f113d10a1 code completion for vscode 0.1 2024-04-08 22:10:56 +08:00
bobo.yang
9924472c1a stage changes 2024-04-08 22:10:56 +08:00