This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
Avoid adding snippet for function suggest when cursor is followed by () #1655
Labels
Milestone
Comments
Can you give an example? |
Suppose that |
Good point. Is this a very common occurrence only for functions with no parameters? PRs are welcome to fix this. |
ramya-rao-a
changed the title
Feature: smart snippet function completition
Avoid adding snippet for function suggest when cursor is followed by ()
May 8, 2018
ramya-rao-a
added
enhancement
help wanted
good-first-issue
and removed
needs more info
labels
May 8, 2018
lggomez
added a commit
to lggomez/vscode-go
that referenced
this issue
May 29, 2018
Avoid adding snippet for function suggest when cursor is followed by (). Fixes microsoft#1655
This bug fix is now out in the latest update to the Go extension (0.6.81) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now
go.useCodeSnippetsOnFunctionSuggestWithoutType: true
always appends the snippet.It would be really useful if it wouldn't when the first non-space character after the cursor is a
(
.The text was updated successfully, but these errors were encountered: