Why does IntelliSense keep changing function to Function?

前端 未结 4 1828
渐次进展
渐次进展 2021-02-12 23:05

I am having a very strange IntelliSense issue, and I\'m not sure if it\'s Visual Studio 2013 or ReSharper 8.1. When I\'m working in views (cshtml) within script ta

相关标签:
4条回答
  • 2021-02-12 23:36

    Clearing cache didn't fix my issue. The best fix for me was to remove the "(" character from being able to auto-complete in my JS since I always just type "function(".

    I did this by going to Resharper > Options > Intellisense > Completing Characters, and put a "(" in the Do not complete on box for JavaScript.

    enter image description here

    0 讨论(0)
  • 2021-02-12 23:41

    I was having issues with R# grabbing every function it could find instead of what is in the _refereneces.js file so I changed the intellisense to use visual studio's instead of R#.

    enter image description here

    0 讨论(0)
  • 2021-02-12 23:42

    Clearing the caches would probably work - Resharper->Options->Environment->General and click the Clear Caches button.

    0 讨论(0)
  • 2021-02-12 23:53

    I'm experiencing the same issue with ReSharper 8.1.23.546, and it hasn't been resolved with a cache clear. It is reported to have been fixed in build 8.1.1000+

    The only thing that worked for me was to disable auto-popup for JavaScript, as described here:

    http://youtrack.jetbrains.com/issue/RSRP-400812

    • Go to Resharper > Options > Intellsense > Autopop > JavaScript
    • Choose 'Display but do not preselect' for all the drop down items

    This is less a fix than a way to make the irksome behavior go away until I can get an upgrade.

    I love ReSharper, but this was annoying enough that I was contemplating buying a ticket to the Czech Republic to poke someone in the eye.

    0 讨论(0)
提交回复
热议问题