VS Code

Why when i create a new file it opens automatically, can i change that
6 Replies
Abura
Abura2y ago
of course
! Dr. Resilient
! Dr. ResilientOP2y ago
How?
Conta Excluída
Not as far as I know. In fact, when you create a New Text File, no file is really created on your computer. A file is only created after it is saved. The New Text File command simply creates a new editor tab for temporary modification.
ἔρως
ἔρως2y ago
if you open a folder, you actually create a real file in the folder, but it doesn't open automatically just right-click on the folder on the left side, create the file and that's it
internal_error_
I thought the whole purpose of creating a file was to code within the file straight away
ἔρως
ἔρως2y ago
not always there's stuff like behaviour files, which can trigger certain behaviours on certain programs by their mere presence also, empty files can be useful for example, in php, having an empty index.php prevents badly configured servers from returning a directory listing

Did you find this page helpful?