94 Commits

Author SHA1 Message Date
bobo.yang
2831337515 refactor: Simplify quick fix command implementation
- Refactor quick fix command to use document, range, and diagnostic
- Remove code collapsing and surrounding code extraction
- Update command arguments to pass document, range, and diagnostic
2024-06-26 10:13:57 +08:00
bobo.yang
76771f1392 fix: Add async to registerQuickFixCommand and generatePrompt
- Modified registerQuickFixCommand to be an async function
- Updated generatePrompt to also be async and handle active editor context
- Improved error handling and context management in prompt generation
2024-06-18 15:18:05 +08:00
bobo.yang
c937e67c70 Refactor historyMessagesBase.ts and handlerRegister.ts 2024-06-17 21:33:30 +08:00
bobo.yang
3209d886e3 Refactor commands.ts to include MessageHandler for sending a codeDiffApply command 2024-06-07 17:22:07 +08:00
bobo.yang
34da79b945 copy workflow commands to ~/.chat/scripts 2024-05-13 12:42:26 +08:00
kagami
66da2dfc80 Add an entrypoint for workflow cli for dev 2024-05-09 20:35:55 +08:00
bobo.yang
13eaac2953 refactor: Remove installation check process from devchat-commands
- Remove unnecessary installation check codes from devchat-commands
- Streamline setup process for new users
- Maintain application functionality and stability
2024-04-28 23:49:04 +08:00
bobo.yang
741aa60efe feat: Add bilingual support for Quick Fix prompts
- 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
2024-04-18 11:57:46 +08:00
bobo.yang
d50aa4b1b4 feat: AI-Powered Quick Fix Integration
- 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
2024-04-17 19:42:56 +08:00
bobo.yang
2b505b5536 Refactor DevChatConfig instantiation to use getInstance() method 2024-04-17 00:07:09 +08:00
bobo.yang
ca3bea9bd8 Remove unused code and commands registration 2024-04-01 17:15:44 +08:00
bobo.yang
0a340a8409 Fix typo in DevChatConfig key 2024-04-01 17:15:44 +08:00
bobo.yang
c52c4339e0 save work 2024-04-01 17:15:44 +08:00
小石头
dda0ec3207 Update Devchat commands and titles 2024-03-12 21:20:03 +08:00
bobo.yang
fa03786854 refactor: Adjust selection range for function docstrings
- Ensured selection range now includes the last line
- Fixed an issue causing line duplication during refactoring
- Improves accuracy for function extraction in docstrings
2024-03-12 16:49:21 +08:00
bobo.yang
33a4ee14f1 refactor: Remove usage of deprecated contexts and APIs
- Comment out refDefsContext and defRefsContext usage in loadContexts
- Replace accessKey logic with defaultModel in several files
- Remove unused functions related to API key handling

Closes #286
2024-03-10 16:35:10 +08:00
小石头
5be13ca16c Update DevChat commands and add comment generation 2024-03-08 16:11:57 +08:00
小石头
19b1280222 Update submodules in gui and workflowsCommands 2024-03-07 18:50:38 +08:00
bobo.yang
d87b7c5801 feat: Implement shortcut for DevChat input focus
- Added keybindings for DevChat input focus shortcut
- Implemented focusHandler to focus on DevChat input upon shortcut
2024-02-07 17:37:02 +08:00
bobo.yang
dd01e78da4 refactor: Remove legacy TopicView components
- Deleted obsolete TopicManager & TopicTreeDataProvider classes
- Cleaned up Topic related logic across several modules
- Replaced TopicManager usage with new methods after webview migration
2024-02-05 16:29:00 +08:00
bobo.yang
81c0e8be73 refactor: Simplify topic interaction in UI
- Remove topic-related views, commands, and handlers from the codebase
- Refactor code to align with the new unified topic interaction method
- Streamline UI by eliminating unnecessary elements and consolidating views
2024-02-05 11:19:01 +08:00
Rankin Zheng
a86cc78398 Add async keyword to handleUri function and add delay before reloading webview 2024-01-25 10:35:14 +08:00
Rankin Zheng
73a3acc531
Merge pull request #416 from devchat-ai/feat/uri
Feat/uri
2024-01-24 18:03:34 +08:00
Rankin Zheng
9d5dc071a4 Add chat panel and reload webview 2024-01-24 17:58:08 +08:00
bobo.yang
37e0cc8440 fix: Ensure sidebar activation on 'Add Tests' click
- Introduced a delay to ensure the sidebar is activated
- Fixed issue where initial 'Add Tests' click was unresponsive
- Enhanced user experience by removing need for double-clicking
2024-01-23 16:10:23 +08:00
smallstone
f2ab969f88 Add registerHandleUri command 2024-01-18 17:52:55 +08:00
bobo.yang
043b067864 feat: Suppress startup command notifications
- Commented out the display of informational message on command readiness
- Implemented a periodic check for the status of DevChat commands
- Optimized the conditional display of the DevChat status bar item tooltip
2024-01-10 10:56:56 +08:00
bobo.yang
7d055f346f fix: Update async/await usage in command handling
- Update async/await in command handling for improved performance
- Refactor updateSysCommand and sendCommandListByDevChatRun functions
- Handle errors during updateSysCommand more efficiently

Closes #156
2024-01-09 08:37:31 +08:00
bobo.yang
c8df8917d9 package workflows as submodule 2023-12-20 12:57:55 +08:00
bobo.yang
40c2f327a6 Update DevChat installation process 2023-12-18 14:41:12 +08:00
bobo.yang
36a16ccd43 add code lens 2023-12-12 16:39:08 +08:00
bobo.yang
05cf0f2c71 refactor: Improve requirements.txt search & install checks
- Update search logic for requirements.txt prioritizing usr, org, sys directories
- Introduce check to prevent redundant python environment installations
- Add variables for controlling multiple installations in workflows
2023-12-08 10:27:27 +08:00
bobo.yang
74e849e483 Fix path to requirements.txt file 2023-12-07 09:11:21 +08:00
bobo.yang
571a89ec5b don't show error while requirements.txt not exist 2023-12-07 09:11:21 +08:00
bobo.yang
0ee31f1721 fix #51 2023-12-07 09:11:21 +08:00
bobo.yang
381dbea026 Update slash command information message 2023-12-07 09:11:21 +08:00
bobo.yang
1ac83d4d79 check DevChat key whether is valid 2023-12-07 09:11:21 +08:00
bobo.yang
7dac46b0be first check workflow path 2023-11-30 08:13:26 +08:00
bobo.yang
dc1836510d remove command and action extension 2023-11-29 23:34:15 +08:00
bobo.yang
40e6efef8a clear Command python install functions 2023-11-23 13:02:02 +08:00
bobo.yang
407f5d46dd output cost by /ask-code 2023-11-14 17:28:20 +08:00
bobo.yang
60906f9509 fix invalid key error 2023-10-26 22:45:31 +08:00
bobo.yang
3adf655540 update devchat-ask version to 0.1.3 2023-10-14 07:19:50 +08:00
bobo.yang
64bc3b7a26 update devchat-ask version 2023-10-12 08:45:57 +08:00
bobo.yang
0886826da7 call smartqa 2023-10-11 23:51:57 +08:00
bobo.yang
331b72f09f show devchat view before set api key 2023-09-23 09:12:03 +08:00
bobo.yang
b2422b1694 don't clear api key when escape 2023-09-23 08:16:45 +08:00
Jinglei Ren
7a4382a9d1 Update key setting instruction 2023-09-23 08:13:00 +08:00
Jinglei Ren
826b98d1b2
Update text in commands.ts 2023-09-23 07:39:19 +08:00
bobo.yang
547796a54b update key setting flow 2023-09-23 07:22:17 +08:00