Pinned Tabs is very useful feature in Visual Studio where you can pinned the frequently used code files and refer them quickly. When you have a lot of documented pinned, and if you close all the opened documents or the project; you lost track of your pinned items. In that case you may need to pin them again. Here is the quick settings that you can enable to retained the pinned status.
Navigate to Tools -> Options -> Environment -> Tabs and Windows and checked the “Maintain pin status if document is removed from well” option.
That’s it. With this, your pinned status would be retain and next time if you open the document it will automatically show a pinned. This feature is not enable by default.
Here is another quick and add-on tip by which you can separate the rows for Pinned Tabs. This is helpful when you have too many documents open, and you have few documented pinned – and you want to find them easily.
By default all pinned and un-pinned tabs appears in a single row, to separate the row for pinned and un-pinned tabs Navigate to Tools -> Options -> Environment -> Tabs and Windows and checked the “Show pinned tabs in separate row” option.
Note that, this settings is also not enable by default. Once this option is checked you will see different rows for pinned and un-pinned tabs as shown in below image.
Hope this helps !