Open DeflateAwning opened 9 months ago
Describe the bug Picking end-of-block statements (e.g., endgenerate) from autocomplete dialog doesn't auto-dedent (unindent)
endgenerate
Environment:
Steps to reproduce
generate for (i=0; i<4; i++) begin assign 1; end endgen
endgen
This can be reproduced with many end-of-block keywords (e.g., end [albeit tough to do because it's so short], endmodule, endgenerate, etc.).
end
endmodule
Note that typing the entire end-of-block keyword dedents as expected, so this isn't really an issue for the extremetly-short end keyword.
Describe the bug Picking end-of-block statements (e.g.,
endgenerate
) from autocomplete dialog doesn't auto-dedent (unindent)Environment:
Steps to reproduce
endgenerate
as you get halfway through typing it (i.e., you're typingendgen
per Step 1).endgen
partial text toendgenerate
.endgenerate
is filled, but does not return to the parent indent level.This can be reproduced with many end-of-block keywords (e.g.,
end
[albeit tough to do because it's so short],endmodule
,endgenerate
, etc.).Note that typing the entire end-of-block keyword dedents as expected, so this isn't really an issue for the extremetly-short
end
keyword.