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
Rankin Zheng
5cc1a551c2
feat: Enhance file creation from code blocks
...
- Add validation for message content in createAndOpenFile
- Ensure newly opened files are not in preview mode
- Display error message for invalid message formats
2024-04-13 16:42:54 +08:00
Rankin Zheng
a29c23be16
Update gui version
2024-04-13 15:37:50 +08:00
Rankin Zheng
aab04b0a22
Update gui version
2024-04-13 15:36:45 +08:00
Rankin Zheng
c17865f1cf
refactor: Simplify message handling in MessageHandler
...
- 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
2024-04-13 15:22:45 +08:00
Rankin Zheng
49f213d5ab
refactor: Enhance file creation stability in handler
...
- 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
2024-04-13 14:41:31 +08:00
Rankin Zheng
68dd2608f6
feat: Add tests for codeBlockHandler functionality
...
- 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
2024-04-13 11:41:57 +08:00
Rankin Zheng
0a68e974e2
feat: Enhance file creation in codeBlockHandler
...
- Add detailed JSDoc comments for createAndOpenFile function
- Refactor createAndOpenFile to streamline document creation and opening
- Improve readability by adding in-line comments for clarity
2024-04-13 08:24:15 +08:00
Rankin Zheng
a57cd6cf91
chore: Bump devchat version to 0.1.74
...
- Updated package-lock.json version to 0.1.74
- Ensured devchat dependency consistency with version bump
- Lockfile version remains unchanged, ensuring compatibility
2024-04-12 23:32:14 +08:00
Rankin Zheng
fae242d247
feat: Add function to open code in new file
...
- 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
2024-04-12 23:28:02 +08:00
boob.yang
cb02555058
Merge pull request #485 from devchat-ai/feature/context-similarity-improvement-#324
...
Enhance Code Completion with Context Similarity Analysis
2024-04-12 15:41:13 +08:00
bobo.yang
6260b71e78
Update subproject commit reference in tools
2024-04-12 15:29:29 +08:00
bobo.yang
e5b6320ecd
Find similar code blocks
2024-04-12 15:29:29 +08:00
bobo.yang
a2ead073ab
Optimize code completion hint range detection
2024-04-12 15:29:29 +08:00
boob.yang
66797784ad
Merge pull request #484 from devchat-ai/update_gui_commit_240412
...
Update Subproject Commit Reference in GUI
2024-04-12 15:24:14 +08:00
bobo.yang
b1bbbd334d
Update subproject commit reference in gui
2024-04-12 15:23:17 +08:00
boob.yang
e30cec3a04
Merge pull request #483 from devchat-ai/fix_ideconfig_miss
...
feat: Ensure IDE Configuration File Existence Before Initialization
2024-04-11 14:01:26 +08:00
bobo.yang
b7f7b0581a
feat: Add missing IDE configuration file check
...
- Ensure that the IDE configuration file exists before initializing the config
2024-04-11 13:59:03 +08:00
boob.yang
1c80672e5e
Merge pull request #482 from devchat-ai/fix/completion-range-optimization-#322
...
Fix: Optimize code completion hint range for better UX
2024-04-09 22:25:20 +08:00
bobo.yang
e4bedd9eff
fix: Optimize completion hint range detection
...
- Added a function to check if a substring is a subsequence of another
- Improved logic to better determine the completion hint range
- Ensures completion suggestions display correctly in edge cases
2024-04-09 22:21:49 +08:00
boob.yang
3b3ad60848
Merge pull request #481 from devchat-ai/enhancement/code-completion-performance-#320
...
Enhance Code Completion Performance with Distributed Caching Mechanisms
2024-04-09 22:17:03 +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
boob.yang
48cf5c1444
Merge pull request #480 from devchat-ai/feature/codecomplete
...
Implement code completion features and enhancements for vscode extension
2024-04-09 14:03:24 +08:00
bobo.yang
37d256a0a1
don't collapse constructor function
2024-04-08 22:56:48 +08:00
bobo.yang
0a3b15552a
enable code complete debug when run as debug
2024-04-08 22:55:43 +08:00
bobo.yang
5f113d10a1
code completion for vscode 0.1
2024-04-08 22:10:56 +08:00
bobo.yang
6518abb20b
Add devchatConfig variable and debug logs
2024-04-08 22:10:56 +08:00
bobo.yang
7eca45ed02
Add code complete event logging
2024-04-08 22:10:56 +08:00
bobo.yang
df0a092ff5
Add logEventToServer function for sending events to the server
2024-04-08 22:10:56 +08:00
bobo.yang
b37e32259d
Remove commented out code in InlineCompletionProvider
2024-04-08 22:10:56 +08:00
bobo.yang
4907715d56
Add code complete functionality
2024-04-08 22:10:56 +08:00
bobo.yang
9924472c1a
stage changes
2024-04-08 22:10:56 +08:00
boob.yang
d6321c8509
Merge pull request #479 from devchat-ai/update_tools_submodule_commit_0408
...
Update subproject commit reference
2024-04-08 22:10:28 +08:00
bobo.yang
eb341f5d04
Update subproject commit reference
2024-04-08 22:09:16 +08:00
小石头
d1c7917062
Merge pull request #478 from devchat-ai/feat/update_gui
...
Update subproject commit hash
2024-04-03 16:54:11 +08:00
小石头
55b7d00d33
Update subproject commit hash
2024-04-03 16:52:36 +08:00
boob.yang
4ae60aea2b
Merge pull request #476 from devchat-ai/update_tools_submodule_commit_04021
...
Update Subproject Commit Hash
2024-04-02 14:26:08 +08:00
bobo.yang
ca5daa968c
Update subproject commit hash
2024-04-02 14:24:36 +08:00
boob.yang
1bb244a4e1
Merge pull request #475 from devchat-ai/update_tools_submodule_commit_0402
...
Update the Subproject Commit Hash
2024-04-02 13:51:59 +08:00
bobo.yang
b57fcecbb0
Update subproject commit hash
2024-04-02 13:50:34 +08:00
Rankin Zheng
d4be51d27a
Merge pull request #474 from devchat-ai/update_submodule
...
Feature Improvements and Code Refactor
2024-04-02 11:30:31 +08:00
Rankin Zheng
ef50de45f7
Update submodule in gui.
2024-04-02 11:28:42 +08:00
boob.yang
1e1b66379c
Merge pull request #473 from devchat-ai/update_submodule_commit_240402
...
Update submodules in GUI and workflow commands
2024-04-02 11:11:54 +08:00
bobo.yang
35973635fb
Update submodules in gui and workflowsCommands
2024-04-02 11:08:57 +08:00
boob.yang
bdf3e50699
Merge pull request #472 from devchat-ai/feature/config-management-vscode-#271
...
Enhanced Configuration Management in VSCode Plugin
2024-04-01 17:33:44 +08:00
小石头
c644c77569
Update subproject commits in gui and workflowsCommands
2024-04-01 17:18:45 +08:00
小石头
8bbed7b3c0
Update subproject commit hash
2024-04-01 17:18:45 +08:00
小石头
403df96134
Update subproject commits in gui and workflowsCommands
2024-04-01 17:18:45 +08:00
bobo.yang
e007feabe5
Add recommend property to Command interface
2024-04-01 17:18:24 +08:00
小石头
4cd54e901a
Update subproject commits in gui and workflowsCommands
2024-04-01 17:18:18 +08:00