- Go to Preferences > Settings.
- Search for
native tabs - Check the checkbox

- Code will prompt for restart to take effect.

- After restart, make sure you have multiple projects open. And then merge all windows as shown below:

- Enjoy multiple tabs in single window.
Note: I think this applies to all Mac OS >= Sierra. Tested with Catalina, Big Sur, Ventura recently.