usermattcancel
branchsbox/editor-prefscancel

2 Commits over 0 Days - ∞cph!

2 Years Ago
CodeEditor out of Sandbox.Engine to tools addon, editors are implemented with ICodeEditor Reimplement Visual Studio with ICodeEditor and use vswhere to get Visual Studio install with .NET installed more reliably VSCode editor support - when active, solutions make a .code-workspace with the right omnisharp bullshit Default code editor is Visual Studio, if that's not installed VSCode Editor preferences window Add Code Editor to Editor Preferences Restore File / Open Solution Add default addon location to editor preferences, default to `%UserProfile%/Documents/S&box Projects` ErrorList.ReportCompilerDiagnostics should be static, this way we catch errors even if our widget isn't open
2 Years Ago
Move Sandbox.CodeEditor -> Tools.CodeEditor - this does mean we can't open the code editor in non tools mode but does that matter? Define CodeEditors in tool addons, add VSCode support Basic editor preferences window to specify preferred code editor and default project location https://files.facepunch.com/matt/1b1911b1/sbox_TaO9t1R3oN.png