_ukn0g
Last Updated: February 25, 2016
·
1.069K
· waynedenier
Waynebuddybig

Pesky 'Function' auto-correct when writing JavaScript with Intellisense

How many times have you been trying to create a instance of a function and gotten this?

What happens when you type 'function' in visual studio with Resharper

Resharper is a compulsory install for many, but this is a case where it's extended JavaScript support for Intellisense might do more harm than good. Here are your choices for dealing with this annoyance.

  • When you are done typing 'function', hit Esc to prevent Intellisense from accepting the first result in the auto-detect list.
  • Go to Resharper > Options and in the left panel choose Environment > Intellisense > General. There will be an option for Limited Resharper Intellisense. Select it and check all the languages you want to keep Resharper's dictionary for but deselect JavaScript. This eliminates all extra Resharper Intellisense for JavaScript.
  • Ask JetBrains to do something about it.

The second choice was my ultimate solution, but this effectively kills Intellisense for JavaScript, which for me I never really needed anyway. I'd prefer the last choice, but until then these are a few options to get around a repetitive annoyance.

Say Thanks
Respond

3 Responses
Add your response

13814
Img 9253crop

You can also hit down and select (lowercase) 'function' from the list.
It would be a lot cooler if they switched those two, though.

over 1 year ago ·
13815
Waynebuddybig

In response on Twitter (https://twitter.com/citizenmatt/status/450681624448208897) issue is fixed in 8.2!

Upgrade to fix this issue, or use the the above if you don't plan to upgrade.

over 1 year ago ·
13816
Waynebuddybig

For the curious, here is the JetBrain's issue which tracks the resolution of the problem. http://youtrack.jetbrains.com/issue/RSRP-400812

over 1 year ago ·