StaticactiveChanges the active code editor. All further operations on this object will be executed using this editor. If the specified editor is not valid for this platform, no change will be made.
StaticavailableReturns a list of all available code editors for this platform.
StaticdefaultDetermines the default code editor type to be used by the editor.
StaticisChecks if the code editor's solution requires updating.
StaticprojectReturns the path to the workspace, if supported by the current code editor.
StaticgetGets the contents of the code file specified by the UUID.
The UUID of the code resource to be retrieved.
An async op once the operation has completed.
StaticgetGets a representation of the FileSystem code resources.
OptionalisReadOnly: boolean
If set, will override the read-only flag for all code resources. If false, uses the default behavior based on file origin.
A JsonObject that represents the file tree of code resoruces in the file system.
StaticmarkNotifies the code editor that code file structure has changed and the solution needs to be rebuilt.
StaticopenOpens a the code resource in the currently active code editor.
The code resource to open.
Line in the file to focus the editor on.
Optionalcolumn: number
Column in the line to focus the editor on. One-based. Only honored by the web IDE extension.
StaticopenOpens a script file in the currently active code editor.
FilePath to the script file to open, either absolute or relative to the project resources folder.
Line in the file to focus the editor on.
Optionalcolumn: number
Column in the line to focus the editor on. One-based. Only honored by the web IDE extension.
StaticopenOpens a code file in the active external editor.
The code file to open, can be absolute or relative to project resources folder. The file should be part of a solution in the active editor.
Line number to focus on once the file is opened. Might not be supported by all editors.
StaticsetSets the contents of the code file specified by the UUID.
The UUID of the code resource to be updated.
The contents to update the code file with.
An async op once the operation has completed.
StaticsyncGenerates a solution file for the active editor, which includes all scripts in the project.
Handles interaction with the external application used for editing scripts.