extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Update Motoko to v0.1.0

Open wiyota opened this issue 1 month ago • 0 comments

Summary of Changes in v0.1.0

Added Candid Language Support

  • New Language Support: Candid is now supported and can be used in parallel with Motoko.
  • Additional Files:
    • languages/candid/config.toml
    • languages/candid/brackets.scm
    • languages/candid/highlights.scm
    • languages/candid/outline.scm
  • Tree-sitter: Introduced perforate-org/tree-sitter-candid.

Enhanced Motoko Language Features

The following configuration files have been added to extend editor functionality:

  • languages/motoko/textobjects.scm
  • languages/motoko/overrides.scm
  • languages/motoko/imports.scm
  • languages/motoko/injections.scm

Grammar

Documentation Updates

README.md Improvements

  1. Title Change: "Motoko Language Support" → "Motoko and Candid Language Support".

  2. Added Formatter Configuration Section:

    • Describes how to configure a Prettier-based formatter.
    • Example configuration using .prettierrc.
    • How to disable the formatter in Zed settings.
    • Note that format-on-save is pending for the next release.
  3. Reorganized Structure:

    • Consolidated information on Tree-sitter and Language Server.

wiyota avatar Nov 25 '25 11:11 wiyota