Create new Unreal Engine classes
With JetBrains Rider, you do not need to switch to Unreal Editor to create a new class – all predefined templates for Unreal Engine classes are available in the list of JetBrains Rider file templates.
You can see it in action in this short demo:
Create a new Unreal Engine class
Do one of the following:
In the Solution Explorer, select a folder where you want to create a new class.
Place the caret at a code file open in the editor. In this case, the new class will be created and placed next to the current file.
Press Ctrl+Alt+Insert.
Choose an Unreal Engine template from the list.
In the Create: [name of template] dialog that appears, specify the name for the new class and click OK.
The newly generated header and source files with template code will be added to the corresponding folders depending on the private or public context and opened in the editor.
If the template has editable parameters (that is, requires user input), JetBrains Rider deploys a hot spot session in the editor and sets the input position at the first parameter. Then you can do the following:
If JetBrains Rider suggests some values for the current parameter, use Up and Down arrow keys to navigate through the list of suggested values, or just type in a desired value.
Press Tab or Enter to accept the value and move to the input position of the next parameter. If this is the last parameter, the hot spot session completes and the caret moves to the end position defined for the session.
Press Shift+Tab to move the input focus to the input position of the previous parameter.
Press Esc to exit the hot spot session. In this case, all session parameters will be initialized with default values.