A makeshift solution to hard pin tabs in VS Code. See https://hard-pin.acmion.com for more details.
Run these commands in a terminal. Note: You must have npm installed.
- npm install
- npx webpack --watch
- Copy the code of /dist/main.js
- Open VS Code
- Help > Toggle Developer Tool > Console
- Paste the code in to the console and execute
- Enjoy
To use a separate row for pinned tabs run the following command in the console (after completing step 6):
HardPin.useDoubleRow(true)
To revert back to a single row run:
HardPin.useDoubleRow(false)
Toggle the pin status of the active tab by pressing Shift + Alt + P (on Mac: Cmd + Option + P).