File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1045,7 +1045,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
1045
1045
RESTDebugPanel . create ( context . extensionUri )
1046
1046
) ,
1047
1047
vscode . commands . registerCommand ( "vscode-objectscript.exportCurrentFile" , exportCurrentFile ) ,
1048
- vscode . workspace . onDidCreateFiles ( ( e : vscode . FileCreateEvent ) => {
1048
+ vscode . workspace . onDidCreateFiles ( ( e : vscode . FileCreateEvent ) => {
1049
1049
if ( ! config ( "autoAdjustName" ) ) return ;
1050
1050
return Promise . all (
1051
1051
e . files
@@ -1079,9 +1079,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
1079
1079
// Write the new content to the file
1080
1080
return vscode . workspace . fs . writeFile ( uri , new TextEncoder ( ) . encode ( newContent . content . join ( "\n" ) ) ) ;
1081
1081
} )
1082
- )
1083
- }
1084
- ) ,
1082
+ ) ;
1083
+ } ) ,
1085
1084
vscode . window . onDidChangeActiveTextEditor ( ( editor : vscode . TextEditor ) => {
1086
1085
if ( config ( "openClassContracted" ) && editor && editor . document . languageId === "objectscript-class" ) {
1087
1086
const uri : string = editor . document . uri . toString ( ) ;
You can’t perform that action at this time.
0 commit comments