File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## [ 0.76.0]
44
5- * Improve the "Wrap file contents as an object" refactoring to insert the object opening directive after any comments at the beginning of the file
5+ * Update the "Wrap file contents as an object" refactoring to insert the object opening directive after any comments at the beginning of the file
6+ * Update the "Open parent file" command to show a message if no parent file is found
67
78## [ 0.75.0]
89
Original file line number Diff line number Diff line change @@ -1563,6 +1563,10 @@ export default class LogtalkTerminal {
15631563 const result = path . join ( wdir , ".vscode_find_parent" ) ;
15641564 let loader = fs . readFileSync ( result ) . toString ( ) ;
15651565 await fsp . rm ( result , { force : true } ) ;
1566+ if ( loader . trim ( ) === '' ) {
1567+ window . showInformationMessage ( "No parent file found for the current file." ) ;
1568+ return ;
1569+ }
15661570 workspace . openTextDocument ( loader ) . then ( doc => {
15671571 vscode . window . showTextDocument ( doc ) ;
15681572 } ) ;
You can’t perform that action at this time.
0 commit comments