class CodeEditor

Interface that classes interacting with external code editors needs to implement.

Public

Methods

~CodeEditor

virtual ~CodeEditor() noexcept = default

OpenFile

virtual void OpenFile(const Path &solutionPath, const Path &path, u32 lineNumber) const = 0

Opens a code file in the active external editor.

solutionPath
Path to the solution file the file is a part of.

SyncSolution

virtual void SyncSolution(const CodeSolutionData &data, const Path &outputPath) const = 0

Synchronizes all code files and assemblies in the active project and updates the project solution for the active editor.

Each project can only have one solution per editor.

data
Information about the solution and the files it contains.
outputPath
Path to the file into which to output the solution.