editor.ts 552 B

12345678910111213141516171819
  1. //
  2. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  3. // LICENSE: Atomic Game Engine Editor and Tools EULA
  4. // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
  5. // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
  6. //
  7. // Instantiate the editor
  8. const editor = ace.edit("editor");
  9. // and set some default options
  10. editor.setOptions({
  11. enableBasicAutocompletion: true,
  12. enableSnippets: true,
  13. enableLiveAutocompletion: true,
  14. theme: "ace/theme/monokai"
  15. });
  16. export default editor;