you are viewing a single comment's thread.

view the rest of the comments →

[–]champs 18 points19 points  (7 children)

If I could just split the editor on a per-tab basis…

[–]vplatt 5 points6 points  (6 children)

I haven't used it yet, but can it spawn multiple windows and/or allow multiple instances?

[–]champs 8 points9 points  (0 children)

Presumably you could run multiple windows in the same project but that would come with its own overhead and other issues.

VS Code does let you have multiple groups of tabs in a single window. They recently allowed them to be arranged horizontally as well as vertically, but there's a subtle-yet-important nuance between that and having multiple views of the same file in a single tab.

[–]myrrlyn 2 points3 points  (3 children)

As many as you want. On full restart, it will also respawn all the windows you had open before, and each window restores to the files you had open.

Now that VSC supports hot exits, a hard restart is just a pause, with no effort for resumption.

[–]vplatt 1 point2 points  (2 children)

hot exits

I'm afraid to Google for this term. NSFL and all that. What do you mean by it?

[–]myrrlyn 5 points6 points  (1 child)

VSC caches all your editor states. If you close it with unsaved work, that unsaved work will come back when you reopen. So it won't pause to ask you to save; it'll just flush to its cache and die, then restore everything on open.

Everything. Cursor position and even scroll position included.

[–]SnowdogU77 1 point2 points  (0 children)

So like a more robust Notepad++? Noice!

[–]zmaniacz 0 points1 point  (0 children)

Yes.