Help, Quick Actions Create Definition does not create a .cpp file

I’m using VS 2017 and when I click quick actions -create definition I should end up with a .css file instead the definition is created inline. https://i.imgur.com/uf7LPhP.gifv I have searched google but no luck finding what I need.

I got it, I deleted from line 29 down and that fixed it, which was some auto generated code from when I originally made the .h file.

You have to have created (even if empty) .cpp file with same name as .h file.

Then your implementation will get put into .cpp file instead of creating inline inside .h file.

Privacy & Terms