I have a problem where 'function' is almost always replaced by 'Function' even after I type the entire word, which is happening all too often and drives me absolutely batty. I have to back up and replace the first letter. Any way to adjust this? I don't even know where I'd use 'Function'.
Asked
Active
Viewed 449 times
6
-
what version of resharper are you using? – O'Mutt Dec 31 '13 at 17:33
-
The edge version of 8.1 in VS 2012 – beauXjames Dec 31 '13 at 17:33
-
Are you in a file that is *.js or something else? Resharper may not realize you are in the js context – O'Mutt Dec 31 '13 at 17:37
-
*.js is correct. I get all the appropriate intellisense...it's just that it's always attempting to perform the replacement as mentioned. – beauXjames Dec 31 '13 at 17:39
-
1I am also experiencing a similar issue in 9.1, in which it renames globals, like `console -> Console` and `window -> Window` – Zachary Kniebel May 19 '15 at 18:51
-
ugh that `Window/Console` replacement drives me mad. @ZacharyKniebel, were you able to find a workaround? – Maksim Vi. Jul 24 '15 at 18:43
-
@MaksimVi - I installed an update (not sure if it is still the latest, but it was at the time) about a month ago and the issue stopped occurring. I can also confirm that the issue is not happening in the latest version of ReSharper 8.2. – Zachary Kniebel Jul 24 '15 at 18:45
-
@ZacharyKniebel, sad it's still there in 9.1 – Maksim Vi. Jul 24 '15 at 18:56
-
I'm not sure if this will help, but I remember that when I did the update, I cleared out all of the ReSharper caches too. I did find an answer to the same `function` -> `Function` issue that says to clear ReSharper's intellisense caches so that could have been part of it too: http://stackoverflow.com/a/21312961/1506793 – Zachary Kniebel Jul 24 '15 at 19:06
1 Answers
5
JetBrains appears to have this issue logged as a bug and supposedly fixed. Problem is that the fix seems to be first applied to 7.0.1 but is now apparent in the latest 8.1 again.
http://youtrack.jetbrains.com/issue/RSRP-330134
I have made comments, but if anyone else is also having this problem please continue to add to the thread.

beauXjames
- 8,222
- 3
- 49
- 66