Cannot navigate to the symbol under the caret in JS file in VS2017

  • Thread starter Thread starter asplearning
  • Start date Start date
A

asplearning

Guest
Hello everyone, I am just wondering if someone has experienced this problem in VS 2017. I have a JS file with angularjs functions. When I tried to navigate to a definition of a function by right clicking and go to definition, I could not do it. It pop up with a message:

"Cannot navigate to the symbol under the caret"

If I used VS2012, it works fine. I created a test JS file with pure javascript and navigate to definition, it works fine. The code behind in C# also works fine. Only the js file written in angularjs that's not working. Not sure if I need to install an extension or something to get this to work.

Any suggestion of how I could solve this? I did a lot of search, but none of the solution worked for me.


Thanks.

Continue reading...
 
Back
Top