pxt-ev3 icon indicating copy to clipboard operation
pxt-ev3 copied to clipboard

Print Block Code is not working after custom.ts is added

Open OliviliK opened this issue 5 years ago • 0 comments

Describe the bug There is nothing to be printed for block code once the custom.ts is added to code

To Reproduce Steps to reproduce the behavior:

  1. Add some blocks in editor
  2. Use the print command and observe that it works
  3. Expand the explorer and add custom.ts to project
  4. Add JavaScript code in custom.ts
  5. Open block view
  6. Use the print command and observe that it fails

Expected behavior The block print should work independently if custom.ts is added or not..

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Edge
  • EV3 version: 1.4.19
  • MakeCode version: 5.31.8

Additional context The block layout topology can be totally messed up after the JavaScript has been edited. A remedy has been to Ctlr-X the whole JavaScript tab, switching back to block tab, switching back to JavaScript and Ctrl-V to restore the code.

OliviliK avatar Jan 13 '20 01:01 OliviliK