@@ -109,49 +109,49 @@ export async function activate(context: vscode.ExtensionContext) {
109109 } = OLA_ACTIONS ;
110110 const getComment = new Comments (
111111 `${ USER_MESSAGE } generates the code comments...` ,
112- context ,
112+ context
113113 ) ;
114114 const getInLineChat = new InLineChat (
115115 `${ USER_MESSAGE } generates a response...` ,
116- context ,
116+ context
117117 ) ;
118118 const generateOptimizeCode = new OptimizeCode (
119119 `${ USER_MESSAGE } optimizes the code...` ,
120- context ,
120+ context
121121 ) ;
122122 const generateRefactoredCode = new RefactorCode (
123123 `${ USER_MESSAGE } refactors the code...` ,
124- context ,
124+ context
125125 ) ;
126126 const explainCode = new ExplainCode (
127127 `${ USER_MESSAGE } explains the code...` ,
128- context ,
128+ context
129129 ) ;
130130 const generateReview = new ReviewCode (
131131 `${ USER_MESSAGE } reviews the code...` ,
132- context ,
132+ context
133133 ) ;
134134 const codeChartGenerator = new CodeChartGenerator (
135135 `${ USER_MESSAGE } creates the code chart...` ,
136- context ,
136+ context
137137 ) ;
138138 const codePattern = fileUpload ;
139139 const knowledgeBase = new ReadFromKnowledgeBase (
140140 `${ USER_MESSAGE } generate your code pattern...` ,
141- context ,
141+ context
142142 ) ;
143143 const generateCommitMessage = new GenerateCommitMessage (
144144 `${ USER_MESSAGE } generates a commit message...` ,
145- context ,
145+ context
146146 ) ;
147147 const generateInterviewQuestions = new InterviewMe (
148148 `${ USER_MESSAGE } generates interview questions...` ,
149- context ,
149+ context
150150 ) ;
151151
152152 const generateUnitTests = new GenerateUnitTest (
153153 `${ USER_MESSAGE } generates unit tests...` ,
154- context ,
154+ context
155155 ) ;
156156
157157 const actionMap = {
@@ -165,7 +165,7 @@ export async function activate(context: vscode.ExtensionContext) {
165165 new FixError (
166166 `${ USER_MESSAGE } finds a solution to the error...` ,
167167 context ,
168- errorMessage ,
168+ errorMessage
169169 ) . execute ( errorMessage ) ,
170170 [ explain ] : async ( ) => await explainCode . execute ( ) ,
171171 [ pattern ] : async ( ) => await codePattern . uploadFileHandler ( ) ,
@@ -177,15 +177,15 @@ export async function activate(context: vscode.ExtensionContext) {
177177 } ;
178178
179179 const subscriptions : vscode . Disposable [ ] = Object . entries ( actionMap ) . map (
180- ( [ action , handler ] ) => vscode . commands . registerCommand ( action , handler ) ,
180+ ( [ action , handler ] ) => vscode . commands . registerCommand ( action , handler )
181181 ) ;
182182
183183 const selectedGenerativeAiModel = getConfigValue ( "generativeAi.option" ) ;
184184
185185 const quickFix = new CodeActionsProvider ( ) ;
186186 quickFixCodeAction = vscode . languages . registerCodeActionsProvider (
187187 { scheme : "file" , language : "*" } ,
188- quickFix ,
188+ quickFix
189189 ) ;
190190
191191 agentEventEmmitter = new EventEmitter ( ) ;
@@ -233,13 +233,13 @@ export async function activate(context: vscode.ExtensionContext) {
233233 webviewProviderClass ,
234234 subscriptions ,
235235 quickFixCodeAction ,
236- agentEventEmmitter ,
236+ agentEventEmmitter
237237 ) ;
238238 }
239239 } catch ( error ) {
240240 Memory . clear ( ) ;
241241 vscode . window . showErrorMessage (
242- "An Error occured while setting up generative AI model" ,
242+ "An Error occured while setting up generative AI model"
243243 ) ;
244244 console . log ( error ) ;
245245 }
@@ -249,4 +249,4 @@ export function deactivate(context: vscode.ExtensionContext) {
249249 quickFixCodeAction . dispose ( ) ;
250250 agentEventEmmitter . dispose ( ) ;
251251 context . subscriptions . forEach ( ( subscription ) => subscription . dispose ( ) ) ;
252- }
252+ }
0 commit comments