class
CodeEditor
public static abstract sealed class CodeEditor For opening source code files in whatever code editor the user has selected.
Properties
| Name | Type | Description |
|---|---|---|
Current static | ICodeEditor | The current code editor we're using. |
Title static | String | Friendly name for our current code editor. |
Methods
static Void OpenFile(ISourcePathProvider location) static Void OpenFile(String path, Int32? line = null, Int32? column = null) static Boolean CanOpenFile(String path) Returns true if the file exists and can be opened by the current code editor.
path static Void OpenSolution() Open the solution of all s&box projects
static Void OpenAddon(Project addon) static String FindSolutionFromPath(String path) Finds a .sln this path belongs to, this is pretty much entirely for internal usage to open engine slns
static String AddonSolutionPath()