Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct anonymous function signature not inserted #2891

Open
ybbus opened this issue May 19, 2017 · 3 comments
Open

Correct anonymous function signature not inserted #2891

ybbus opened this issue May 19, 2017 · 3 comments

Comments

@ybbus
Copy link

ybbus commented May 19, 2017

  • 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?

  1. Writing: http.HandleFunc("/hello", <cursor here>)
  2. Pressing CRTL-SPACE for and selecting the first entry func
  3. 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
Copy link
Author

ybbus commented May 26, 2017

Seems to work in Plugin version: 171.4424.55.1932 using Gogland EAP

@dlsniper
Copy link
Member

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
Copy link
Member

https://blog.jetbrains.com/go/

As a heads up, this plugin is not actively maintained anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants