FSourceCodeNavigation::NavigateToFunctionSourceAsync

Asynchronously locates the source file and line for a specific function in a specific module and navigates an external editing to that source line

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SourceCodeNavigation.h

Include

#include "SourceCodeNavigation.h"

Source

/Engine/Source/Editor/UnrealEd/Private/SourceCodeNavigation.cpp

Syntax

static void NavigateToFunctionSourceAsync
(
    const FString & FunctionSymbolName,
    const FString & FunctionModuleName,
    const bool bIgnoreLineNumber
)

Remarks

Asynchronously locates the source file and line for a specific function in a specific module and navigates an external editing to that source line

Parameters

Parameter

Description

FunctionSymbolName

The function to navigate tool (e.g. "MyClass::MyFunction")

FunctionModuleName

The module to search for this function's symbols (e.g. "GameName-Win64-Debug")

bIgnoreLineNumber

True if we should just open the file and not go to a specific line number

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss