@@ -41,41 +41,41 @@ export async function activate(context: vscode.ExtensionContext) {
4141 } = OLA_ACTIONS ;
4242 const getComment = new Comments (
4343 `${ USER_MESSAGE } generates the code comments...` ,
44- context
44+ context ,
4545 ) ;
4646 const generateOptimizeCode = new OptimizeCode (
4747 `${ USER_MESSAGE } optimizes the code...` ,
48- context
48+ context ,
4949 ) ;
5050 const generateRefactoredCode = new RefactorCode (
5151 `${ USER_MESSAGE } refactors the code...` ,
52- context
52+ context ,
5353 ) ;
5454 const explainCode = new ExplainCode (
5555 `${ USER_MESSAGE } explains the code...` ,
56- context
56+ context ,
5757 ) ;
5858 const generateReview = new ReviewCode (
5959 `${ USER_MESSAGE } reviews the code...` ,
60- context
60+ context ,
6161 ) ;
6262 const codePattern = new PatternUploader ( context ) ;
6363 const knowledgeBase = new ReadFromKnowledgeBase (
6464 `${ USER_MESSAGE } generate your code pattern...` ,
65- context
65+ context ,
6666 ) ;
6767 const generateCommitMessage = new GenerateCommitMessage (
6868 `${ USER_MESSAGE } generates a commit message...` ,
69- context
69+ context ,
7070 ) ;
7171 const generateInterviewQuestions = new InterviewMe (
7272 `${ USER_MESSAGE } generates interview questions...` ,
73- context
73+ context ,
7474 ) ;
7575
7676 const generateUnitTests = new GenerateUnitTest (
7777 `${ USER_MESSAGE } generates unit tests...` ,
78- context
78+ context ,
7979 ) ;
8080
8181 const actionMap = {
@@ -89,7 +89,7 @@ export async function activate(context: vscode.ExtensionContext) {
8989 new FixError (
9090 `${ USER_MESSAGE } finds a solution to the error...` ,
9191 context ,
92- errorMessage
92+ errorMessage ,
9393 ) . execute ( errorMessage ) ,
9494 [ explain ] : ( ) => explainCode . execute ( ) ,
9595 [ pattern ] : ( ) => codePattern . uploadPatternHandler ( ) ,
@@ -98,15 +98,15 @@ export async function activate(context: vscode.ExtensionContext) {
9898 } ;
9999
100100 const subscriptions = Object . entries ( actionMap ) . map ( ( [ action , handler ] ) =>
101- vscode . commands . registerCommand ( action , handler )
101+ vscode . commands . registerCommand ( action , handler ) ,
102102 ) ;
103103
104104 const selectedGenerativeAiModel = getConfigValue ( "generativeAi.option" ) ;
105105
106106 const quickFix = new CodeActionsProvider ( ) ;
107107 const quickFixCodeAction = vscode . languages . registerCodeActionsProvider (
108108 { scheme : "file" , language : "*" } ,
109- quickFix
109+ quickFix ,
110110 ) ;
111111
112112 // Todo: move each generative Ai view providers to different files
@@ -117,13 +117,13 @@ export async function activate(context: vscode.ExtensionContext) {
117117 context . extensionUri ,
118118 key ,
119119 model ,
120- context
120+ context ,
121121 ) ;
122122
123123 const registerGeminiWebViewProvider =
124124 vscode . window . registerWebviewViewProvider (
125125 GeminiWebViewProvider . viewId ,
126- geminiWebViewProvider
126+ geminiWebViewProvider ,
127127 ) ;
128128
129129 const chatManager = new ChatManager ( context ) ;
@@ -133,7 +133,7 @@ export async function activate(context: vscode.ExtensionContext) {
133133 ...subscriptions ,
134134 quickFixCodeAction ,
135135 registerGeminiWebViewProvider ,
136- chatWithOla
136+ chatWithOla ,
137137 ) ;
138138 }
139139
@@ -144,12 +144,12 @@ export async function activate(context: vscode.ExtensionContext) {
144144 context . extensionUri ,
145145 key ,
146146 model ,
147- context
147+ context ,
148148 ) ;
149149 const registerGroqWebViewProvider =
150150 vscode . window . registerWebviewViewProvider (
151151 GroqWebViewProvider . viewId ,
152- groqWebViewProvider
152+ groqWebViewProvider ,
153153 ) ;
154154
155155 const chatManager = new ChatManager ( context ) ;
@@ -159,7 +159,7 @@ export async function activate(context: vscode.ExtensionContext) {
159159 ...subscriptions ,
160160 quickFixCodeAction ,
161161 registerGroqWebViewProvider ,
162- chatWithOla
162+ chatWithOla ,
163163 ) ;
164164 }
165165 } catch ( error ) {
0 commit comments