microsoft / pxt

Microsoft MakeCode (PXT - Programming eXperience Toolkit)
https://makecode.com
MIT License
2.07k stars 579 forks source link

Namespace coloring doesn't work anymore #6934

Open mingjie-wang opened 4 years ago

mingjie-wang commented 4 years ago

Describe the bug The feature of automatic namespace coloring in JavaScript Editor doesn't work anymore.

Screenshots screenshot1

To Reproduce

  1. Download the pxt-microbit project (Version 2.3.25)
  2. Run pxt-microbit with local server setup
  3. Switch to JavaScript Editor and see error

The same issue can be also found from pxt-maker project https://maker.makecode.com/#editor

Addtional Context

  1. OS: WIndows 10
  2. pxt-microbit version: 2.3.25
  3. pxt-core version: 5.37.38

Expected behavior The Text Editor automatically colors each of function and its respective namespace to match the colors of the respective block in the Block Editor. screenshot2

Can anyone help me out with this? Thank you guys.

abchatra commented 4 years ago

Sorry! This is a known regression and we will not be addressing for this release of micro:bit. Hopefully in the future.