Predefined Live Templates for C++
This topic lists all predefined live templates for C++ in JetBrains Rider 2024.3. For more information about live templates, refer to Create source code using live templates.
Template | Details |
---|---|
| Current file context Scope Everywhere Body $CTX$ Parameters
|
| Insert new GUID Scope Everywhere Body $GUID$ Parameters
|
| union declaration Scope C++ type-member declarations, C++ class declarations Body union $NAME$ {$END$}; Parameters
|
| Enum class declaration Scope C++ type-member declarations, C++ class declarations Body enum class $NAME$ {$END$}; Parameters
|
| Class declaration Scope C++ class declarations, C++ type-member declarations Body class $NAME$ {public:$END$}; Parameters
|
| Enum declaration Scope C++ class declarations, C++ type-member declarations Body enum $NAME$ {$END$}; Parameters
|
| Include guard Scope C/C++ top-level declarations, At line start Body #ifndef $FILENAME$
#define $FILENAME$
$END$
#endif // $FILENAME$
Parameters
|
| struct declaration Scope C++ class declarations, C++ type-member declarations Body struct $NAME$ {$END$}; Parameters
|
| Log a formatted message using UE_LOG Scope Unreal Engine solutions, C/C++ statements Body UE_LOG($CATEGORY$, $VERBOSITY$, TEXT("$END$")); Parameters
|
| UCLASS declaration Scope C++ class declarations, Unreal Engine header files Body UCLASS()
class $NAME$:public $BASE$ {GENERATED_BODY() public:$END$}; Parameters
|
| UENUM declaration Scope C++ class declarations, Unreal Engine header files Body UENUM()
enum $NAME$ {$END$}; Parameters
|
| UENUM declaration using the "enum class" syntax Scope C++ class declarations, Unreal Engine header files Body UENUM()
enum class $NAME$ {$END$}; Parameters
|
| UINTERFACE declaration Scope C++ class declarations, Unreal Engine header files Body UINTERFACE()
class U$NAME$:public UInterface {GENERATED_BODY()};
class I$NAME$ {GENERATED_BODY() public:$END$}; Parameters
|
| USTRUCT declaration Scope C++ class declarations, Unreal Engine header files Body USTRUCT()
struct $NAME$ {GENERATED_BODY() $END$}; Parameters
|
| Log a formatted message using UE_LOGFMT Scope Unreal Engine solutions, C/C++ statements Body UE_LOGFMT($CATEGORY$, $VERBOSITY$, "$END$"); Parameters
|