-
Notifications
You must be signed in to change notification settings - Fork 104
Editor
Zijian Zhou edited this page Apr 2, 2020
·
10 revisions
The editor of the Source Academy is based on Ace. We have built Ace modes for each Source version, which feature:
-
syntax highlighting: (zijian)
- keywords: keywords of the current Source version
- forbidden words: JavaScript keywords that are not keywords of the current Source version
- pre-declared functions
- constants
- comments
- declarations (function, let, const)
-
scope-driven auto-complete (Shaowei and Cara)
-
linking to documentation of predeclared names, respecting the scope of names
-
navigation from names to their declaration, respecting the scope of names
-
refactoring of names across their scope