How to disable automatic insertion of embedded key in Visual Studio?

I like the relay feature for Visual Studio 2015, except for one thing. It automatically inserts a keyword inlinebefore defining a function. Therefore, I always had to delete them myself.

This is true.

Before refactoring.

class GameLoop
{
public:
    void drawGame() {

    }
};

After refactoring (location of the move definition)

//GameLoop.h
class GameLoop
{
public:
    void drawGame();
};
//GameLoop.cpp
inline void GameLoop::drawGame() {

}

Does anyone know how to disable this auto keyword inline?

Thank.


Who does not know where this function is.

  • Move the cursor to the method you want to reorganize

  • [Edit] → [Refactoring] → [Move definition location]

or

  1. Press Ctrl +. shortcut and select Move definition location
+4

Source: https://habr.com/ru/post/1674157/


All Articles