Is it possible to add to the BraceMatch list? Verilog uses the words "begin" and "end". Most editors cannot handle these for "matching the braces".
Thanks.
--- Steve
Verilog BraceMatch
Hi Steve,
To do this you need to do the following:
placing the cursor on the begin or end words and using the Edit Find Matching Brace should see the cursor move to the matching brace.
Also if you enter something like this:
hitting the enter key should see Zeus auto brace the code to look like this:
Finally, Zeus currently does not have support for Verilog code folding but if you create a Verilog language specification this feature could also be added.
Cheers Jussi
To do this you need to do the following:
- Create a Verilog document type
- Change to the templates section of the document type
- Add begin to the brace prefix string
- Add end to the brace postfix string
- Apply the changes[/b]
Code: Select all
if something
begin
something else
end
Also if you enter something like this:
Code: Select all
if something
begin<-- cursor here
Code: Select all
if something
begin
<-- cursor now here
end
Cheers Jussi