Class RiderCodeEditor
Implementation of code editor utility that is using Rider from JetBrains.
Inheritance
RiderCodeEditor
Assembly: FlaxEngine.dll
File: Editor/Scripting/CodeEditors/RiderCodeEditor.h
Syntax
public class RiderCodeEditor : public CodeEditor
Constructors
RiderCodeEditor(const String& execPath)
Initializes a new instance of the VisualStudioEditor class.
Declaration
public RiderCodeEditor(const String& execPath)
Parameters
String
execPath
Executable file path |
Methods
FindEditors(Array<CodeEditor* >* output)
Tries to find installed Visual Studio Code instance. Adds them to the result list.
Declaration
public static void FindEditors(Array<CodeEditor* >* output)
Parameters
Array<CodeEditor >
output
The output editors. |
GetName()
Gets the name of the editor.
Declaration
public virtual String GetName() const override
Returns
String
The name |
Overrides
GetType()
Gets the type of the editor (used by the in-build editors).
Declaration
public virtual CodeEditorTypes GetType() const override
Returns
CodeEditorTypes
The name |
Overrides
OnFileAdded(const String& path)
Called when source file gets added to the workspace. Can be used to automatically include new files into the project files.
Declaration
public virtual void OnFileAdded(const String& path) override
Parameters
String
path
The path. |
Overrides
OpenFile(const String& path, int32 line)
Opens the file.
Declaration
public virtual void OpenFile(const String& path, int32 line) override
Parameters
String
path
The file path. |
int32
line
The target line (use 0 to not use it). |
Overrides
OpenSolution()
Opens the solution project.
Declaration
public virtual void OpenSolution() override