s&box docs

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: null
  • column: Default: null

public virtual void OpenSolution()

Open the solution of all sandbox projects

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.ICodeEditor

On this page