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.
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Status: closed-fixed Created: Thu Nov 21, 2013 03:29 PM UTC by StevenAZ Last Updated: Fri Nov 22, 2013 01:19 AM UTC Owner: nobody
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.
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 of
TOP, 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!
Support added in 1.5.0
Matt, you know it's OK to take a day off, right? :)
On Sun, Dec 29, 2013 at 12:18 PM, Matthew Ballance
mballance@users.sf.netwrote:
Related
Feature Requests:
#80