What's the best way to change the VS 2022 title bar text from within my extension's InitializeAsync()?

Tom Montgomery 0 Reputation points
2023-03-08T10:54:27.58+00:00

I'm trying to change the VS 2022 IDE title bar text, and the current available extensions don't do what I want. I'm currently using the default "short title" or "compact title" or whatever it's called, so that's what I'm trying to change.

The extension documentation makes it incredibly difficult to ever find what you need to do, so does anyone know? I'm guessing a service I can get asynchronously would fit best in my InitializeAsync(), but I don't if one exists.

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,101 Reputation points Microsoft Vendor
    2023-03-08T12:48:33.99+00:00

    Hi @Tom Montgomery, 

    Welcome to Microsoft Q&A! 

    Maybe you can try the extension: Customize Visual Studio Window Title

    Sincerely,

    Anna


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.