You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Different parts of the UI will show different subsets of roles, or use different names
(Follow up from Tom Ball (@tballmsft)'s visit 馃憢) #1352 overlaps with this.
Fig 1:
Fig 2:
Fig 3:
Fig 4:
Fig 5:
Fig 6:
Roles defined using the Modules > Configure button display in the dropdown menu (Fig 1), but don't complete with intellisense in javascript. (Actually I'm not sure how to use those in javascript at all)
Roles defined in extension code will display using the variable name rather than the constructor name. (Fig 3, Code from pxt-jacdac/led/client.ts). Works when annotated
Roles defined in javascript only show up if an annotated such as //% fixedInstance whenUsed block="LED 4444", don't use either the variable or constructor names (Figs 1, 2, 4). Since this is also a comment, it's stripped if you switch back and forth between blocks and javascript.
Roles only show up in the simulator dialog once they've been used in a block (Fig 5, 6)
Different parts of the UI will show different subsets of roles, or use different names
(Follow up from Tom Ball (@tballmsft)'s visit 馃憢)
#1352 overlaps with this.
Fig 1:
Fig 2:
Fig 3:
Fig 4:

Fig 5:
Fig 6:
Modules > Configurebutton display in the dropdown menu (Fig 1), but don't complete with intellisense in javascript. (Actually I'm not sure how to use those in javascript at all)//% fixedInstance whenUsed block="LED 4444", don't use either the variable or constructor names (Figs 1, 2, 4). Since this is also a comment, it's stripped if you switch back and forth between blocks and javascript.