Menu

#80 Code completion on hierarchical reference

closed-fixed
nobody
None
5
2013-12-29
2013-11-21
StevenAZ
No

It would be awesome to have code completion work for hierarchical references too. For instance typing the following code, where I am trying to set some_signal in the DUT, is pretty tedious.

initial
`TOP.dut.some_signal = 1;

Related

Feature Requests: #80

Discussion

  • Matthew Ballance

    I'll need to give this a bit more thought, since this situation is arising more frequently. Specifically, I'll need to give a bit more thought to how content assist works with the pre-processor. Currently, all content assist is based on the text that the user sees (ie macros not expanded). So, if you typed the text that TOP is defined to be instead ofTOP, then hierarchical reference content assist would work.

    Obviously, content assist in the presence of macros is more complex in some cases than others. This is a relative simple case, while the `uvm_do_with macro that expands to call to randomize and a 'with' block is much more complicated. Perhaps simpler situations like this are a good place to start!

     
  • Matthew Ballance

    Support added in 1.5.0

     
  • Matthew Ballance

    • status: open --> closed-fixed
     

Log in to post a comment.