Hi @Gabriel Lucaci ,
Welcome to Microsoft Q&A forum.
I have checked the shortcut key command list(Tools > Options > Environment > Keyboard) but I don’t find the related command which supports this feature. So seems not possible to create(assign) any shortcut for this feature.(Keyboard shortcuts in Visual Studio)
BTW, this feature can be turned on/off from Tools > Options > Text Editor > C# > Advanced > Inheritance Margin > Show inheritance margin.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.