# Editor.CodeEditor

For opening source code files in whatever code editor the user has selected.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: static, abstract, sealed

## Properties

- [`Current`](/api/Editor.CodeEditor/Current): The current code editor we're using.
- [`Title`](/api/Editor.CodeEditor/Title): Friendly name for our current code editor.

## Methods

- [`AddonSolutionPath`](/api/Editor.CodeEditor/AddonSolutionPath)
- [`CanOpenFile`](/api/Editor.CodeEditor/CanOpenFile): Returns true if the file exists and can be opened by the current code editor.
- [`FindSolutionFromPath`](/api/Editor.CodeEditor/FindSolutionFromPath): Finds a .sln this path belongs to, this is pretty much entirely for internal usage to open engine slns
- [`OpenAddon`](/api/Editor.CodeEditor/OpenAddon)
- [`OpenFile`](/api/Editor.CodeEditor/OpenFile)
- [`OpenSolution`](/api/Editor.CodeEditor/OpenSolution): Open the solution of all s&box projects
