API ReferenceEditor
public abstract interface Editor.ICodeEditor
Interface for editors to open code files. Any class that implements this interface is automatically added to the list. An editor is only enabled if `Editor.ICodeEditor.IsInstalled` returns true. Decorate your implementation with a `TitleAttribute`.
Methods
Showing 4 methods
public virtual bool IsInstalled()
Whether or not this editor is installed.
public virtual void OpenAddon(Sandbox.Project addon)
Open given addon in the editor.
public virtual void OpenFile(string path, System.Nullable`1<int> line = null, System.Nullable`1<int> column = null)
Parameters
line: Default: nullcolumn: Default: null
public virtual void OpenSolution()
Open the solution of all sandbox projects
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.ICodeEditor |