You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my pull request I updated the regex to match the module name as ${RELATIVE_FILEPATH/^([^\\/\\\\]+[\/\\])|(\.ex|\.exs)$|([^._\\/\\\\]+)|_|([\/\\])/${3:/capitalize}${4:+.}/g} who works very well in defmod and ex_unit snippets, but not in supervisor, dynamic_supervisor and gen_server.
Any ideas on this?
The issue was not with regex, but the args syntax.
e.g. Instead of ${args} the correct syntax is ${1:args}
The numbers in front of the args were missing.
williamthome
added a commit
to williamthome/vscode-elixir-snippets
that referenced
this issue
Sep 13, 2021
The issue was not with regex, but the args syntax.
e.g. Instead of ${args} the correct syntax is ${1:args}
The numbers in front of the args were missing.
In my pull request I updated the regex to match the module name as${RELATIVE_FILEPATH/^([^\\/\\\\]+[\/\\])|(\.ex|\.exs)$ |([^._\\/\\\\]+)|_|([\/\\])/${3:/capitalize}${4:+.}/g} who works very well in defmod and ex_unit snippets, but not in supervisor, dynamic_supervisor and gen_server.
Any ideas on this?
Originally posted by @williamthome in #16 (comment)
The text was updated successfully, but these errors were encountered: