News for hackers. Stuff that matters.
Re:Ask HN: Programs that saved you 100 hours? by rhlsthrm on Monday April 13, 2020 @07:36AM (#22854906)
Have you tried multiple repositories in a VSCode workspace? It does a great job of managing multiple repos, git diffs, etc.
Re:Ask HN: Programs that saved you 100 hours? by nicoburns on Monday April 13, 2020 @07:44AM (#22854944)
The problem I have with this is it makes "Go to file" functionality a bit too broad. e.g. If I want to open `package.json` I now have to choose between 10 different files. As I often `Cmd-P`, type pa, `Enter` without even looking, this makes it considerably slower.

I also have to do a lot of context switching (e.g. to review someone else's code), and being able to have a separate set of tabs (even within the same repo) is super-useful for this.

At previous jobs with less separated out code, I have taken this approach (although with Sublime Text rather than VSCode).

Re:Ask HN: Programs that saved you 100 hours? by tracker1 on Monday April 13, 2020 @10:19AM (#22856038)
Agreed... deeply nested directory structures are also pretty painful.

Even in the mono-repos I work with, I'll generally open an editor per inner repo. Mostly ./feature/featurename/filename is as far as I have to open. Some of the C# projects are deeper though.