SystemVerilog icon indicating copy to clipboard operation
SystemVerilog copied to clipboard

Reindenting typedefs indents poorly

Open DeeeeLAN opened this issue 4 years ago • 3 comments
trafficstars

Code like:

typedef class Class1;
typedef class Class2;
typedef class Class3;

will indent to:

typedef class Class1;
  typedef class Class2;
    typedef class Class3;

DeeeeLAN avatar Feb 16 '21 17:02 DeeeeLAN

Also, jumping to hierarchy with a typedef just takes you to the typedef instead of the actual class.

DeeeeLAN avatar Feb 17 '21 06:02 DeeeeLAN

The alignment is fixed in the next version of the plugin. For your second remark, I'll need more details to reproduce it

TheClams avatar Feb 21 '21 09:02 TheClams

I mean if I have the cursor on a class object and I want to jump to its definition, it will jump to the line where the typedef is declared instead of to the actual class definition. Not sure if that is the plug-in or ST feature though come to think of it.

DeeeeLAN avatar Feb 22 '21 02:02 DeeeeLAN