ISourceCodeAccessor::AddSourceFiles

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

Unreal Engine C++ API Reference > Developer > SourceCodeAccess > ISourceCodeAccessor

References

   
Module SourceCodeAccess
Header /Engine/Source/Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h
Include #include "ISourceCodeAccessor.h"
bool AddSourceFiles
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & AbsoluteSourcePaths,
    const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & AvailableModules
)

Remarks

Add a group of source files to the current solution/project/workspace true if the files could be added, false otherwise

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library