intel / rohd

The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
https://intel.github.io/rohd-website
BSD 3-Clause "New" or "Revised" License
370 stars 65 forks source link

Signal to code navigation #464

Open quekyj opened 6 months ago

quekyj commented 6 months ago

Motivation

An implementation of the code navigation through Flutter UI. It's helpful to the develop to track which signals in the code is causing the issue.

Desired solution

Its good if we can implement a feature where:

  1. Add a button, probably named it inspect. Then user click on this button.
  2. When a user click on the signal, it will bring user to the signal declaration in the VSCode.

This approach similar to how Flutter devtools extension allow user to inspect on the widget through UI. It will auto navigate user to the line of the code that implement the widget. It's beneficial to help user track their signals.

Alternatives considered

Whenever a devtool is spawn, there's another version of debugger actually actually pop up as well in the browser. Probably can consider that as well.

Additional details

No response