Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proc macros in LS #6141

Open
10 tasks
mkaput opened this issue Aug 5, 2024 · 0 comments
Open
10 tasks

Proc macros in LS #6141

mkaput opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
ide This issue refers to CairoLS or editor extensions

Comments

@mkaput
Copy link
Contributor

mkaput commented Aug 5, 2024

Steps

MVP

  • scarb proc-macro-server
  • Pre-MVP: Implement ProcMacroHost that will JUST declare attributes/macros without doing expansion proper.
  • MVP: ProcMacroHost on LS side (note: forget diags, forget “demonization”, forget watching for Scarb.toml changes)

To triage and designate in separate tasks

  • Caching
  • Watch for Scarb.toml/Scarb.lock changes -- preferably just hook on output of New Project Model
  • Demonization (watch for death of expander server or not answering on time, research this)
  • Handle diagnostics (we don't know yet how this should work, research this)
  • Watch for proc macro source code changes (is this feasible?)
  • Triage/Research: status indicator or progress bar?
  • Triage/Research: how to handle not yet built macros (i.e. who and how should call scarb build on macro package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide This issue refers to CairoLS or editor extensions
Projects
Status: In Progress
Development

No branches or pull requests

4 participants