fix: Resolve command execution error in DevChat

- Reordered the registration of CodeLens provider for correctness
This commit is contained in:
bobo.yang 2024-01-23 16:09:17 +08:00
parent db62f9a30e
commit 181fe2ea2a

View File

@ -257,7 +257,6 @@ async function activate(context: vscode.ExtensionContext) {
await updateInvalidSettings();
regLanguageContext();
registerCodeLensProvider(context);
regDevChatView(context);
regTopicView(context);
@ -284,6 +283,7 @@ async function activate(context: vscode.ExtensionContext) {
regPythonPathCommand(context);
registerDevChatChatCommand(context);
registerCodeLensProvider(context);
startRpcServer();
}