Hi @adriatic and @WebstackBuilder! You’re both correct – there’s a tremendous amount of code powering the IDE (90% thanks to @aldonline). I think it’s one of Redwood’s most powerful, under the radar components.
The Structure package consists of two parts:
- a language server that powers the IDE (and could easily be used for other features)
- an API to explore a Redwood Project as a graph (like an AST)
, which powers diagnostics and defines conventions
In an attempt to outdo himself, Aldo is currently rewriting the package. See PR #1660 and the IDE will be open-sourced. I say this to mention we’re looking for additional contributors who enjoy building tools and compilers who’d like to learn from Aldo and help advance the Structure package.
No pressure, but please spread the word