Search code examples
visual-studio-2015

Visual Studio 2015 C++ Create Definition without peek


The new feature in Visual Studio 2015 which auto-generates a stub C++ definition based on the declaration in the .h file is great. Except... it opens a peek window which I do not want. Can I prevent it from opening the peek window when I generate a function definition stub?


Solution

  • I don't know if negative answer would count for you, but anyway:

    A quote from visualstudio.uservoice.com:

    In Visual Studio 2015, Microsoft added the not so little light bulb that comes up every once and a while with suggestions. I would you the team to reconsider changing the behavior of the "create definition" so instead of opening this annoying inline editor at the bottom, it takes you directly to the source file. All the c++ productivity tools override this native behavior because it is so terrible and annoying.

    And the official answer is

    Customizing the post-operation experience is on our backlog, and we hope to get to it soon!

    This combined with the under review status of the suggestion makes me believe that currently there's no way of getting rid of inline editor popping up all the time.

    On a rhetoric side note, I wonder why would they add a new feature without an option to disable it...