from Hacker News

Ask HN: Virtual Layer Code Editor?

by sbr464 on 8/20/23, 1:59 PM with 5 comments

Sometimes I want to make notes or space out functions while exploring code. Is there a plugin/best practice for editing a file without actually modifying it, but not losing the changes after the session? Current method is to duplicate a file and mess around with it, but prefer not dirtying the directory.