s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
ICodeEditor
chevron_left
API Reference
interface
ICodeEditor
Properties
data_object
Title
Methods
functions
IsInstalled
functions
OpenAddon
functions
OpenFile
functions
OpenSolution
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.
interface
Editor
.
abstract
Sandbox.Tools
data_object
Properties
1
Title
string
Friendly display name for this code editor. Defaults to the name from TitleAttribute via Sandbox.DisplayInfo.
functions
Methods
4
IsInstalled
(
)
bool
Whether or not this editor is installed.
OpenAddon
(
addon
)
Open given addon in the editor.
OpenFile
(
path
,
line
,
column
)
OpenSolution
(
)
Open the solution of all sandbox projects
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.