#13 Detect duplicate defines (was: Can't Invoke Content Assist)

open
nobody
None
5
2010-08-07
2010-08-04
Meng-Yuan Huang
No

I have installed SVEditor 0.2.5.
However, I found I can't invoke Content Assist for the members of an structure anymore.
In my memory, the problem haven't occur in SVEdtior 0.2.2.

This video demonstrates the bug:
http://cid-87cef5e6683b5427.office.live.com/self.aspx/Share/CannotInvokeContentAssist.XviD.avi

Discussion

  • This is the problematic example code:
    typedef struct packed {
    logic [5:0] a;
    logic [5:0] b;
    } t;

    module m(
    input t tt
    );
    tt.
    endmodule

     
  • Oh. I know where the problem comes from.

    The problem comes from that:
    I have two SystemVerilog files in my project. One file contains a module called t.
    And another file contains a struct also called t.
    Therefore, Content Assist seems to choose the first definition (the module case) as the assistant.

    Then, could SVEditor support the identifier redefinition error detection?

     
  • Moving this to the feature-request tracker

     
    • summary: Can't Invoke Content Assist --> Detect duplicate defines (was: Can't Invoke Content Assist)