Navigation
API > API/Developer > API/Developer/SourceCodeAccess
Inheritance Hierarchy
- IModularFeature
- ISourceCodeAccessor
References
| Module | SourceCodeAccess |
| Header | /Engine/Source/Developer/SourceCodeAccess/Public/ISourceCodeAccessor.h |
| Include | #include "ISourceCodeAccessor.h" |
Syntax
class ISourceCodeAccessor : public IModularFeature
Remarks
Interface for viewing/editing source code
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddSourceFiles
(
const TArray< FString >& AbsoluteSourcePaths, |
Add a group of source files to the current solution/project/workspace | |
| bool | Check if we can currently access source code | ||
| bool | Determine if the source code solution for the given accessor already exists | ||
| FText | 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 | Get the icon that represents opening this source code editor | ||
| FName | Get the icon that represents refreshing this source code editor | ||
| FName | GetStyleSet () |
Get the style set where custom icons for the editors are defined. | |
| bool | OpenFileAtLine
(
const FString& FullPath, |
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 >& AbsoluteSourcePaths |
Opens a group of source files. | |
| void | Not necessary to call unless you know you're changing the state of any installed compilers. | ||
| bool | Saves all open code documents if they need to be saved. | ||
| void | Tick
(
const float DeltaTime |
Tick this source code accessor |