ev3dev / vscode-ev3dev-browser

Visual Studio Code extension for browsing ev3dev devices
https://marketplace.visualstudio.com/items?itemName=ev3dev.ev3dev-browser
MIT License
36 stars 11 forks source link

Port View #105

Open vovikdrg opened 3 years ago

vovikdrg commented 3 years ago

In Lego Mindstorms editor there is port view where its possible to see values for all connected sensors, would be nice to have the same in visual Studio.

image

vovikdrg commented 3 years ago

I can help if you point me into right direction :)

dlech commented 3 years ago

The first thing to do would be to design how it should look and act. Since VS Code v1.50 there is now the possibility to have web views in the sidebar and panel.

On the one hand, it would be nice to have this in the panel, but then one couldn't view both this and the program output at the same time.

Another thought would be to create a new activity to the sidebar. Then move the ev3dev device browser tree view there and create a new view in the same activity for the port view. However moving the device browser would be disruptive to current users.

A new view could be added to the explorer activity where the ev3dev device browser already is. But I feel like this would make things too crowded, especially on smaller screens.

Another thing to consider is that ev3dev can have more ports than just the ones built into the EV3 (via multiplexers). Do we want to support an arbitrary number of ports or just the built-in ones to keep it simple?

Do we want all of the features of the device browser in brickman, e.g. selecting port modes, selecting sensor modes, etc.?

dlech commented 3 years ago

And I should probably be asking higher level questions first. Who is this for? What will they use it for? How will they use it?

JesseB0rn commented 3 years ago

ill start implementing this today, as a new standalone extension