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

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

Open
OliviliK opened this issue Jan 13, 2020 · 0 comments
Open

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

OliviliK opened this issue Jan 13, 2020 · 0 comments

Comments

@OliviliK
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant