Git Product home page Git Product logo

Comments (4)

slonopotamus avatar slonopotamus commented on June 12, 2024 1

You need to disconnect VSCode and reconnect it again.

The problem is that you cannot disconnect. Clicking on connection button just does nothing. The only workaround I've found is restarting VSCode.

from lego-spikeprime-mindstorms-vscode.

PeterStaev avatar PeterStaev commented on June 12, 2024

Hey @ttn-c4plus once you physically disconnect the hub, the connection is lost and you can't simply plug it and continue where you left. You need to disconnect VSCode and reconnect it again.

And no, you cannot set the port like you set other stuff with a comment header.

from lego-spikeprime-mindstorms-vscode.

GSG-Robots avatar GSG-Robots commented on June 12, 2024

You need to disconnect VSCode and reconnect it again.

The problem is that you cannot disconnect. Clicking on connection button just does nothing. The only workaround I've found is restarting VSCode.

If you press Shift+P, enter "LEGO" and run the command to connect, you are able to reconnect. Still it should be fixed that when it disconnects unexpectedly, it should be displayed as disconnected.
We use keyboard shortcuts for connecting and uploading, so I did not even know there was another way to connect than through the Shift+P thing.

from lego-spikeprime-mindstorms-vscode.

PeterStaev avatar PeterStaev commented on June 12, 2024

With version 1.7.1 of the extension I'm automatically monitoring for closing event of the port and I'm updating the status in the status bar respectively if you unplug the hub from the computer.

from lego-spikeprime-mindstorms-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.