13 Commits

Author SHA1 Message Date
bobo.yang
bf531a8fd6 Allow outputFile to be undefined in runCommandStringAndWriteOutput
- Change outputFile parameter type to string | undefined.
- Update function to handle cases when outputFile is undefined.
2023-07-24 00:11:56 +08:00
bobo.yang
77493db13f Add symbol references and definitions contexts
- Created two new contexts for symbol references and definitions.
- Updated the handler in ChatContext interface to return an array of strings.
- Updated the processText method in ChatContextManager to return an array of strings.
- Registered the new contexts in loadContexts.ts.
- Updated the addContext function to handle multiple context strings.
2023-07-24 00:11:56 +08:00
bobo.yang
15141dd6ff Refactor error handling and logging in DevChat dependency check
- Added a new optional parameter 'showError' in checkDevChatDependency function in commandsBase.ts.
- Updated the conditions for logging error messages in checkDevChatDependency function.
- Updated the call to checkDevChatDependency in dependencyCheck function in statusBarViewBase.ts to pass 'showError' parameter.
- Updated the condition for logging stderr in CommandRun class in commonUtil.ts.
2023-07-07 08:56:28 +08:00
bobo.yang
3fc21b920e update log text 2023-06-13 10:45:11 +08:00
bobo.yang
59ba922472 add git log context fore relase note command 2023-06-07 08:16:22 +08:00
bobo.yang
c58c72ab25 Improve error handling and display in UI
- Add UiUtilWrapper.showErrorMessage() method in uiUtil.ts.
- Update contextManager.ts to display error messages using UiUtilWrapper.
- Refactor CommandRun error handling in commonUtil.ts.
- Implement showErrorMessage() in uiUtil_vscode.ts.
2023-06-06 11:31:57 +08:00
bobo.yang
cbd3b8fc77 Update unspecified changes
- This commit message is a placeholder for unspecified changes.
- Please provide more context or specific changes to create a more accurate commit message.
2023-06-02 09:58:44 +08:00
bobo.yang
ba097eab26 add unit tests for src 2023-05-31 16:10:53 +08:00
bobo.yang
562a125902 handle vscode 2023-05-31 16:10:53 +08:00
bobo.yang
58b5e2f45b replace dtm with git 2023-05-22 13:14:51 +08:00
bobo.yang
c890db19b3 add command to commit all changes 2023-05-18 16:44:08 +08:00
bobo.yang
22e334e1f6 save context as json 2023-05-08 12:48:59 +08:00
bobo.yang
bac73dadb1 refactor code 2023-05-05 21:27:40 +08:00