Table of Contents
Scope of the Grant
Milestone 1: groundwork and parameter hints
Goal
Export type information for every AST node in an efficient manner, allowing for marshalling types between the compiler and node-motoko, which will serve as groundwork for implementing signature help and improving completions in the 2nd milestone. Implement “signature help”, allowing users to see hints for function parameters in real time.
Schedule
- Marshall types for each AST node efficiently and export them.
- Implement signature help.
Acceptance criteria
- We export types for all nodes via
Arrange and Arrange_type in motoko in an efficient manner.
- This will be useful to implement the “signature help” request. It will also help us with improving autocompletions.
- “Signature help” is implemented, allowing users to see hints for function parameters as they are being typed, and the complete documentation for the function.
- Tests are added for every item above.
Milestone 2: autocompletion improvements and more groundwork
Goal
Improve autocompletions by displaying more accurate and helpful information for users, showing types and documentation of suggested items, as well as improving the scoping of suggestions. Expand the references implementation to support the "rename" feature planned for the third milestone.
Schedule
- Completions improvements (”quick-info” and “support different types of completions”).
- Only show autocompletion suggestions for the current scope.
- Refine references.