@@ -174,7 +174,7 @@ export function activate(context: vscode.ExtensionContext) {
174174 'for' : 'Loop with initializer, condition, and increment.' ,
175175 'return' : 'Exits a function and optionally returns a value.' ,
176176 'print' : 'Built-in statement/function to output values to the terminal.' ,
177- 'import ' : 'Incorporates external modules into the current script.' ,
177+ 'use ' : 'Incorporates external modules into the current script.' ,
178178 'class' : 'Defines a new class with methods and properties.' ,
179179 'this' : 'Refers to the current instance of the class.' ,
180180 'super' : 'Refers to the superclass.' ,
@@ -233,7 +233,8 @@ export function activate(context: vscode.ExtensionContext) {
233233 provideCompletionItems ( document : vscode . TextDocument , position : vscode . Position ) {
234234 const keywords = [
235235 'func' , 'class' , 'if' , 'else' , 'while' , 'for' , 'return' , 'print' ,
236- 'var' , 'let' , 'const' , 'true' , 'false' , 'null' , 'import' , 'export' ,
236+ 'var' , 'let' , 'const' , 'true' , 'false' , 'null' , 'use' , 'export' ,
237+ 'prox' , 'loop' , // User requested specific keywords
237238 'from' , 'as' , 'try' , 'catch' , 'throw' , 'async' , 'await'
238239 ] ;
239240 const builtins = [ 'len' , 'str' , 'clock' , 'input' , 'type' ] ;
0 commit comments