Good Day!

It seems that 'Go to Definition' doesn't work for JavaScript functions and namespaces even though it was working perfectly in the 2015 version, I thought the new version would be better :) Could I have missed some settings?

    4 days later

    Hello,

    Thank you for your post.

    I assume you are mentioning that this doesn't work when the function is defined in PHP file and not js file?

    I've checked that and it seems this works when the defined function is in js file, but not in PHP file. Is that correct?

    Unfortunatelly integration with other languages had to be completly rewritten since vs 2015, some features might not still be perfect.

    Thank you

      @MiloslavBeno
      I opened new ticket for JS files only, The Go to Definition in JS files doesn't work with any function inside the same file, I'm not sure if it belongs to PHP Tools or Visual Studio 2022 itself, I'm sure I'm stuck here and nothing help over the web

        May I ask for specific VS version and if this doesn't work also outside of PHP projects?

        I've tried it with 17.9.6 and 17.10.6 with both asp.net and PHP project and F12 worked if defined class was in js file. It didn't work if defined class was in PHP file (intellisense worked though).

          I know, but it was working properly in old Visual Studio 2015. I tried it on a fresh Windows 10 with no apps but Visual Studio 2022 and not working, and another try on a fresh Windows 8.1 with Visual Studio 2015 and it worked perfectly.

          I reported it here if you wish to follow,

          I will send you couple videos, if it help

            6 days later

            Thank you for the link. I'll monitor the thread there, but please keep us posted.

            Any video would also help.

            Thanks!

              Write a Reply...