21 ms·
I find that I tend to have at least two files open side by side when coding. Maybe it's an OOP thing, but I rarely focus on just one file. Even when coding web
by pcestrada 15y ago
I find that I tend to have at least two files open side by side when coding. Maybe it's an OOP thing, but I rarely focus on just one file. Even when coding web stuff, I'll hop between HTML, an associated CSS file, and a separate javascript file all open at the same time so that I can see the interrelationships. I find the cost of context-switching between files too high when I work on a laptop with only enough screen real estate to open 1 file comfortably.
- JshWright 15y agoThat's exactly the issue I have. Most of what I've been doing lately is web related, so it's not at all uncommon for me to have a CSS file, a couple Javascript files, an HTML template, and some sort of backend view open all at the same time, working between them concurrently. I accomplish this with vim split windows, and I use every inch of my 23" screen to do it (with the browser running the site itself on my second monitor). If I use a smaller screen, I either need to use window splits that are so small, they provide almost no context, or I need to be constantly closing and opening different splits...