bracket-lens-vscode icon indicating copy to clipboard operation
bracket-lens-vscode copied to clipboard

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

Open ezio1996 opened this issue 3 years ago • 1 comments

"[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

ezio1996 avatar Nov 13 '21 15:11 ezio1996

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.

wraith13 avatar Nov 13 '21 17:11 wraith13