cs-education / sysbuild

A system programming learning environment in the browser
https://cs-education.github.io/sys/
Other
36 stars 35 forks source link

Add modelist to build and denote supported syntax modes #154

Closed coltonmercurio closed 8 years ago

coltonmercurio commented 8 years ago

Since the ace editor now supports more than just c/cpp files it needs access to the list of supported files -- this is contained in "ace/ext/modelist", so it is added to the build list. Support for makefiles has been added and also the logic to set ace highlighting mode to the correct mode (a supported mode) on file load. Note: To add more nodes one would need to add the supported files to the build list contained in build-js.js and also specify the mode in the supportedAceModes list in editor.js.