Code Editor Vivado 2020.2. Indenting a line of code does not align it with the other lines. Why and how can I solve it

Viewed 48

I have been using xilinx's development environment for a while by now. Sometime when I tab a line of code it doesn't align with the others. It happened in the past but I haven't worried too much since it didn't compromise the code functionalty. Anyway now I just got curious about this. Why does this happen?

This is an extract from code where this happened. I include it in this threads for clarity of the issue:

    Port ( 
    clk             : in STD_LOGIC;     --clk               : clock signal
    resetN          : in STD_LOGIC;     --resetN            : active-on-low reset signal. This reset every cell of the nv_reg cycle by cycle. It requires the nv_reg is powered.
    power_resetN    : in STD_LOGIC;       --power_resetN      : active-on-low power_resetN. This powers-off the nv_reg. Disabling write and read operation        

I indented the comments in each line twice, but the last comment does not align with the comment of the previous line.

0 Answers
Related