Sublime Forum

[Snippets] What's scope for SystemVerilog files?

#1

Hi All,

While creation the snippets, there is a need to define scope - what file types would recognize the snippets.

How should I define a scope for the Verilog/SystemVerilog files?

I’ve tried the following, no one of them worked:

<scope>.v</scope>
<scope>*.v</scope>
<scope>.sv</scope>

Please advice.

Thank you!

0 Likes

#2

ctrl+alt+shift+p should show the full scope at the cursor position. The top (base) scope should usually be source.xxx or text.xxx.

0 Likes

#3

At least with the SystemVerilog package by TheClams, the scope is simply source.systemverilog

0 Likes