idea for code editors
A virtual file with parts of other files.
When editing code I often have to refer to other parts of the code. For example I need to see definition of the struct I’m using.
There is no good way to look at other parts of the code while I’m writing the code.
We have bookmarks but you can see only one at a time and when you go to the bookmarked part, you navigate away from the part you were editing.
My idea: ability to select part of a file and add it to “virtual” file. Call it “scratch” or whatever. You can add multiple selections from different files (and remove them).
The workflow I imagine:
- in the research phase you look at the code, adding chunks of interest to “scratch” file
- then you use dual-pane view with the code you edit in one pane and the “scratch” for reference in another. You can write the code while referencing multiple sections of existing code at once
activity
- Added a daily notes section to the blog. It’s the one you’re reading right now. Data stored in
daily_notes.md
file.
- Trying Obsidian for editing markdown files I’m always looking for that perfect note taking / markdown editor. I’m even writing one (but it’s web based so not useful for files on disk). I wish Obsidian had some way to “star” notes so that they show up at the top of the note list. I’ve implemented that in Edna and it’s useful.
- posted my article about nested svelte menus to reddit
- tweaked how Edna shows quick access list of notes in the top right. Used to show on mouse move but it was too annoying. Now only shows when mouse is over it, which less discoverable. Also allow duplicate names in history section and show where history starts. This is an example of tweaking the UI based on using the software and getting annoyed by how it works.
- improved Edna search dialog. I stole design from Visual Studio Code. Only one thing missing: showing number of matches.