From d07a8e0c8643e212e4fc78a0456fa7dc5ee9659c Mon Sep 17 00:00:00 2001 From: Rankin Zheng Date: Fri, 23 Feb 2024 13:02:43 +0800 Subject: [PATCH] chore: Add comments to improve code readability - Added detailed comments to the isProviderHasSetted function to enhance understandability. - Ensured comments include a brief description and the return type expectation. - Aimed to address feedback on code documentation for better maintenance. Closes #275 --- src/extension.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/extension.ts b/src/extension.ts index ab28079..900354e 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -30,6 +30,10 @@ import { registerCodeLensProvider } from './panel/codeLens'; import { stopDevChatBase } from './handler/sendMessageBase'; import exp from 'constants'; +/** + * ABC isProviderHasSetted + * @returns + */ async function isProviderHasSetted() { try { const providerProperty = "Provider.devchat";