Closed CharlesIrvineKC closed 10 months ago
To make this easier to reproduce, I'm attaching a mix project zip file:
Open the uncompressed zip file in vscode and in the file simple_file.ex, place your cursor as shown here:
With you cursor placed as shown, type "handle" and you should see the completions:
Now, simple hit the return key and you should see the extra do-end pair.
I realize now that I wasn't choosing the correct snippet. I should have and am now using the snippet for defining a handle_call function definition. My issue seems like a user error. Closing issue.
In a GenServer module with initial contents:
I type "def" and get:
If I then hit return I get:
Now, if I then type "handle", I get:
If I hit return on the first completion "handle_call", I get an extra do-end pair in my edit buffer, which will be a syntax error.
Is this a bug, or is there something that I'm not doing right?
Thanks