🤖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."

    SOFTWARE
    1
    2
    2.8k
    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
      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
        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
        • First post
          Last post