Remillard / VHDL-Mode

A package for Sublime Text that aids coding in the VHDL language.
MIT License
40 stars 10 forks source link

Syntax of Label and Process on separate lines #144

Open Remillard opened 5 years ago

Remillard commented 5 years ago

A style like:

reset_del : 
process (reset_n, sysclk)
begin

does not properly scope the label, though it does correctly capture the process.

Remillard commented 4 years ago

Okay, I think this one is not currently possible without a MAJOR reworking of the syntax file. Basically a capture will not extend over newlines. To make this happen, instead of having a label be an optional part of every statement, I'd have to have a label be its own entity that branched into every statement it could become. That's not impossible but decidedly non-trivial.