ISourceCodeAccessor

Interface for viewing/editing source code

Unreal Engine C++ API Reference > Developer > SourceCodeAccess

Inheritance Hierarchy

References

   
Module SourceCodeAccess
Header /Engine/Source/Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h
Include #include "ISourceCodeAccessor.h"

Syntax

class ISourceCodeAccessor : public [IModularFeature](API\Runtime\Core\Features\IModularFeature)  

Remarks

Interface for viewing/editing source code

Destructors

Type Name Description
  ~ISourceCodeAccessor ()  

Functions

Type Name Description
bool AddSourceFiles ( const TArray< FString >& AbsoluteS..., const TArray< FString >& Available... ) Add a group of source files to the current solution/project/workspace
bool CanAccessSourceCode () Check if we can currently access source code
bool DoesSolutionExist () Determine if the source code solution for the given accessor already exists
FText GetDescriptionText () Get the description text for this source code accessor
FName GetFName () Get the name of this source code accessor - used as a unique identifier
FText GetNameText () Get the name text for this source code accessor
FName GetOpenIconName () Get the icon that represents opening this source code editor
FName GetRefreshIconName () Get the icon that represents refreshing this source code editor
bool OpenFileAtLine ( const FString& FullPath, int32 LineNumber, int32 ColumnNumber ) Opens a file in the correct running instance of this code accessor at a line and optionally to a column.
bool OpenSolution () Open the current code solution for editing
bool OpenSolutionAtPath ( const FString& InSolutionPath ) Open the code solution at a specific path for editing
bool OpenSourceFiles ( const TArray< FString >& AbsoluteS... ) Opens a group of source files.
void RefreshAvailability () Not necessary to call unless you know you're changing the state of any installed compilers.
bool SaveAllOpenDocuments () Saves all open code documents if they need to be saved.
void Tick ( const float DeltaTime ) Tick this source code accessor

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library