ISourceCodeAccessor::AddSourceFiles

Add a group of source files to the current solution/project/workspace

Windows
MacOS
Linux

References

Module

SourceCodeAccess

Header

/Engine/Source/Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h

Include

#include "ISourceCodeAccessor.h"

Syntax

bool AddSourceFiles
(
    const TArray< FString > & AbsoluteSourcePaths,
    const TArray< FString > & AvailableModules
)

Remarks

Add a group of source files to the current solution/project/workspace

Returns

true if the files could be added, false otherwise

Parameters

Parameter

Description

AbsoluteSourcePaths

Array of paths to files to open

AvailableModules

Array of known module locations (.Build.cs files) - you can get this from calling FSourceCodeNavigation::GetSourceFileDatabase().GetModuleNames() if in the editor

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