Skip to content

Comment on Show HN: VS Code extension to edit the filesystem like a text bufferparent

Comments

Creating empty files is rarely useful or necessary

I kind of disagree? Most files were once created as an empty file! (at least that's the case in my workflow).

The normal pattern, in Unix-like systems at least, is to just write to a non-existent file. There is very little reason to create an empty file first.

In Emacs I can even open a file in a non-existent directory and it will create all the containing directories when I try to save. So I rarely even use mkdir.

I've always just used `:e <filename>` - never saw the appeal of oil.nvim for that use case. But for other kinds of modifications it's nifty.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.