eclipse-cdt-cloud / vscode-peripheral-inspector

vscode peripheral inspector
https://open-vsx.org/extension/eclipse-cdt/peripheral-inspector
MIT License
3 stars 3 forks source link

Allow inline editing of values #16

Open jreineckearm opened 9 months ago

jreineckearm commented 9 months ago

Type: Feature Request

Currently, the Peripheral Inspector allows editing of register values by an inline button/icon that appears when hovering with the mouse pointer over a tree element. image

It would be beneficial to allow editing of values by double-clicking on an element. Like for example for the VS Code Variables view. This would make discovery of this feature easier and more intuitive.

thegecko commented 9 months ago

I winder if we can raise a request on VS Code to add this capability to the basic treeview component instead of needing to rewrite it all as a webview?

jreineckearm commented 9 months ago

I did some research and it looks like this one is closest to what this would require: https://github.com/microsoft/vscode/issues/97190

jreineckearm commented 5 months ago

Another approach could be to provide a UI that can be easily wired up with a Tree Provider. This could also allow nicer (uniform) styling and open up more functionality going forward. A good candidate could be https://primereact.org/treetable/ . This could allow: