wraith13 / bracket-lens-vscode

Show bracket head on closing bracket for VS Code.
https://marketplace.visualstudio.com/items?itemName=wraith13.bracket-lens
Boost Software License 1.0
50 stars 7 forks source link

hi,i am using system verilog language ,and i have set this config in my setting json,but there are nothing happened in my systemverilog code #16

Open ezio1996 opened 3 years ago

ezio1996 commented 3 years ago

"[systemverilog]":{ "bracketLens.languageConfiguration": { "word": [ { "opening": "begin", "closing": "end", "headerMode": "smart", "inters": [] } ], "symbol": [ { "opening": "{", "closing": "}", "headerMode": "smart", "inters": [] }, ] } }

this is my SV code:

class test_my extends uvm_test;

int value;

function new(string name = "test_my ");
    if (value==0) begin 
        `uvm_info("WHERE_PRINT","get one transaction, copy and print it:", UVM_LOW)    
    end 
    else if (value==1) begin
        `uvm_info("WHERE_PRINT","get one transaction, copy and print it:", UVM_LOW)
    end 
endfunction: new

endclass: test_my

wraith13 commented 3 years ago

bracketLens.minBracketScopeLines's default value is 5. Decrease this setting value. And run Bracket Lens: Update Brackets command or set bracketlens.mode setting item to auto.