none
Find References and Go to Definition features failure for Golang RRS feed

  • Question

  • Hi, the visual studio's 'Find all references' and 'Go to Definition' features doesn't work as expected for Go files. I'm posting this here to check if anyone else has noticed this as well and could find a solution. For example, a function named func is called in a certain file as abc.func(). The Go To definition should ideally point to the definition of this function in the abc directory but it doesn't. When I manually go to the function definition in the abc directory and try to find all references, it only returns calls made to that function in the files placed in the same directory. Ideally it should also point to the call made using abc.func() from a file outside this directory. The 'guru' tool and other extensions prompted by visual studio to find references and do analysis were already installed in the very beginning. Has anyone come across this anytime?

    Visual Studio version - 1.33.1

    OS: Ubuntu 16.04

    Thursday, May 2, 2019 7:37 PM

All replies

  • Hi Zanderdebrown,

    Welcome to the MSDN forum.

    According to your description, this issue is about the Visual Studio Code and per this, you can ask questions and search for answers on Stack Overflow and enter issues and feature requests directly in our GitHub repository for better support.

    Thank you for your understanding and have a nice day.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, May 3, 2019 8:57 AM
  • Hi Sara,

    Thanks for your response. I have opened a new issue with the same title on the Github repository you mentioned.

    Regards,

    Zander

    Friday, May 3, 2019 12:43 PM
  • Hi Zander,

    Thanks for your update, if you have any other VS IDE issues in the future, please feel free to let us know :)

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, May 6, 2019 1:37 AM