Search code examples
c#visual-studiopropertieskeyboard-shortcuts

Fastest way to generate property in Visual Studio


  1. I generate a property with "prop TAB TAB"
  2. Cursor is positioned on the data type, and I change it normally
  3. But, after that, I need to select its name, either with the mouse or using CTRL + Shift

Is there some faster way to automatically select property's name after autogenerating it with a shortcut (prop TAB TAB)?


Solution

  • The steps to do it are:

    1. I generate a property with prop TAB TAB
    2. Cursor is positioned on the data type, change the data type if needed
    3. Hit TAB again to navigate to the property name and change it