Correct anonymous function signature not inserted
ybbus opened this issue · 3 comments
ybbus commented
-
Plugin version (or commit hash): 0.171.1931
-
IDE name and version: IntelliJ IDEA Ultimate 2017.1
-
Java version: JDK8
-
OS name and version: Win10
-
What are you trying to do?
- Writing:
http.HandleFunc("/hello", <cursor here>)
- Pressing CRTL-SPACE for and selecting the first entry
func
- following is inserted:
func() {}
- What would you expect to happen?
Following should be inserted:func(w http.ResponseWriter, r *http.Request) {}
Of course the param names can be typed in by the user.
But since the signature is known it should not be a problem to insert the correct function signature.
Or am I doing something wrong?
ybbus commented
Seems to work in Plugin version: 171.4424.55.1932 using Gogland EAP
dlsniper commented
That plugin and this one are different. The tracker for that one can be found here https://youtrack.jetbrains.com/issues/Go and you can keep up to date with it either here https://www.jetbrains.com/go/ or here
dlsniper commented
https://blog.jetbrains.com/go/
As a heads up, this plugin is not actively maintained anymore.