Skip to content

v1.1.0

Choose a tag to compare

@mrpineapples mrpineapples released this 12 Apr 19:31
· 6 commits to main since this release
8e60866

1.1.0

  • Adds more options for languages that do not enforce parentheses when calling functions

    • usePrefixSpace (defaults to false) adds a space to the variable prefix. In a language like ruby, print statements do not add a space and will output something like "VariableNameVariableValue". Setting this to true will make it prettier "VariableName VariableValue"

    • useParentheses (defaults to true)

      example ruby config:

      "[ruby]": {
          "wrap-log-simple.functionName": "print",
          "wrap-log-simple.useSemicolon": false,
          "wrap-log-simple.useParentheses": false,
          "wrap-log-simple.usePrefixSpace": true
      },

      outputs:

      lang = "ruby"
      print lang # alt + L
      print "lang ", lang # cmd + L