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.
Ask HN: Virtual Layer Code Editor?
1–6 of 6 posts
Re: Ask HN: Virtual Layer Code Editor?
#2And definitely don't want to make git branches that you forget exist.
Re: Ask HN: Virtual Layer Code Editor?
#3And definitely don't want to make git branches that you forget exist.
Have you considered “git gui” or “git branch -a” ?
Re: Ask HN: Virtual Layer Code Editor?
#4Take a look at this. I'm not sure how active development is though.
https://thamara.dev/posts/code-annotation-a-vscode-extension...
Re: Ask HN: Virtual Layer Code Editor?
#5Take a look at this. I'm not sure how active development is though. https://thamara.dev/posts/code-annotation-a-vscode-extension...
Otherwise, your next best bet would be to add a notes file or folder with all your TODOs and notes that refer to lines in the source code and keep that in gitignore.
Re: Ask HN: Virtual Layer Code Editor?
#6Take a look at this. I'm not sure how active development is though. https://thamara.dev/posts/code-annotation-a-vscode-extension...
does this work when code has changed?