No spaces after 'if'

Issue #131 wontfix
Anonymous created an issue

Is there a way to define the number of spaces the autocompleter inserts following an if?

I notice that it favors: if(/ condition /)

whereas I like: if (/ condition /)


Comments (2)

  1. Clams repo owner

    You can try the following:

    • In your package directory (Preferences->Browse Packages) create a directory SystemVerilog
    • Create a sub-directory Snippets
    • Create a file named if.sublime-snippet
    • Copy-paste the following text inside this file:
        <description>If Condition</description>
        <content><![CDATA[if (${1:/* condition */}) begin
        ${0:/* code */}
  2. Log in to comment