microsoft / microsoft/pxt

No way to give default parameters to shadow blocks and monaco

Open
#4,457 2 comments 0 reactions 1 assignee View on GitHub

@riknoll is already working on this.

Since Jun 8, 2018.

blocks <==> typescript monaco editor P2
Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

We need a way to pass a default value to the shadow block created in the toolbox and a different value to the Monaco editor when snippets are generated. More on why this is an issue here: https://github.com/Microsoft/pxt-common-packages/pull/349#issuecomment-395881136

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.