How to hide the tab close button [X] in vscode?

Viewed 1901

I have done this before but unfortunately can't find the option in the VSCode settings now, neither I can find it by searching online. Can someone help me on how to switch off the little [X](for closing the tab), which appears on each tab when you hover over the tab?

1 Answers

Set workbench.editor.tabCloseButton to 'off'.

See here.

Related