🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    VSCode extension error: "Saving code, don't close the window."

    Scheduled Pinned Locked Moved SOFTWARE
    2 Posts 1 Posters 3.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Taras Rashnik
      last edited by

      Hi, I can work in VSCode with vscode-m5stack-mpy, when in 'USB mode'. I can open the code from M5Stack device, edit it, run it, but cannot save it back. It shows two notifications: info "Saved /flash/XXX.py successfully." and warning "Saving code, don't close the window.". If I close the file and reopen it back it's remained unsaved. How to fix it?

      P.S. ampy, rshell and other tools work only if m5stack is in "App mode" , but VSCode with extension works only in "USB mode". Do you know why? Checked it on UIFlow-v1.4.5.1 and UIFlow-v1.5.2 firmwares.

      1 Reply Last reply Reply Quote 0
      • T Offline
        Taras Rashnik
        last edited by

        I'm sorry, but it started to save edited filed back to /flash normally despite the fact that the warning remained.

        Could you advise me how to copy files back from /flash to PC without switching to "app mode" and disconnecting VSCode?

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post