• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Mu editor and long lines

Q&A Forum › Category: ESP32 › Mu editor and long lines
0 Vote Up Vote Down
Philip Ershler asked 3 years ago

I have been using Mu 1.1.1 to edit CircuitPython files on a M1 MacBook Pro running Monterey 12.2.1. At time Mu complains about code lines being too long. Every time I use (supposedly) correct syntax to create continuation lines, Mu complains bitterly about invalid syntax. I have encountered under indented and over indented lines, but I cn never find a continuation system that Mu will swallow. I have dealt with the problem by just ignoring the long line warnings. Has anyone else run across this issue?
Thanks

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
But, can you upload the code to the board and get it working?
How many spaces are you using for indentation?
Regards,
Sara

0 Vote Up Vote Down
Philip Ershler answered 3 years ago

Yes, CircuitPython doesn’t seem to mind the long lines. So the code uploads and runs. I have tried 2 space, 4 spaces and multiples of these with no success.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

So, I guess it might be a problem with the Mu software?
Do you have trouble with other codes? Or do they all work despite those warnings?
Regards,
Sara

0 Vote Up Vote Down
Philip Ershler answered 3 years ago

Mu will also flag other syntax errors, but those seem to be valid problems that are usually easily fixed. At this point, I have only use Mu for CircuitPython.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Ok.
Thanks for letting us know.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.