Sunday, 31 May 2015

One small and great feature of Visual Studio 2015 RC

I have started playing with an upcoming version of Visual Studio 2015. After creating a new project, I have started coding. And, when I was creating the first c++ class, I have noticed a great feature of Visual Studio 2015 RC! After declaring method for a class in a header file, a programmer may press ctrl + . to invoke quick action. After doing so, she or he can choose to create a method definition in a source file.
If creating definition was the programmer's choice, Visual Studio will show inline editor of the source file for the method.
After providing the method's body, pressing Esc will close the inline editor. Now, we do not have to constantly switch between header and source files! :)

No comments:

Post a Comment