You click a file in the file tree. It is opened, but the title of the tab is italicized. You double click the tab to un-italicize the tab because if you didn’t and you click a different file in the tree, the italicized tab will be replaced. What is the keyboard shortcut to change the current (presumably italicized) tab to non-italicized as if you had double clicked on it?
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
The according command is called
View: Keep Editor
and its default keyboard shortcut is Ctrl+K Enter.You can also access this function via right click on the editor tab, there it is called "Keep open".
Ah – I came here seeking the significance of the italicisation (so now I know) – but had already noticed that it reverted if I saved (so Ctrl+S is another way to get there)