vscode-systemverilog-support icon indicating copy to clipboard operation
vscode-systemverilog-support copied to clipboard

begin end matching

Open HaoyangFan96 opened this issue 7 years ago • 3 comments

Is there a way to fix the begin end matching problem now? It seems like there is no auto-matching for them supported. Its really a pain to visually match each of them

HaoyangFan96 avatar Feb 07 '18 08:02 HaoyangFan96

It seems that it was supported until this commit: https://github.com/mshr-h/vscode-systemverilog-support/commit/9cecec588ae1d0a833f8d06f7e1e7afe34b270c2

Not sure why it was removed...

sbaillou avatar Feb 07 '18 13:02 sbaillou

Ok, just tried it by re-adding ["begin", "end"] to the brackets list, and it kinda works.

Kinda, because there a few issues with other "end" keywords, like endcase, endgenerate and endmodule which are also detected as simple "end".

However, I have a feeling this has to be fixed/handled in the core of VS Code and can't be fixed in the extension. :/

sbaillou avatar Feb 07 '18 17:02 sbaillou

It's already discussed in #6.

mshr-h avatar Feb 08 '18 04:02 mshr-h