How do I prevent Resharper Javascript Intellisense from replacing 'function' with 'Function'? - resharper

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'.

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.

Related

Why does the function definition and doctring show twice when I hover over the function in VS Code? How to resolve to showing once?

On hovering the mouse pointer over a function, whether inbuilt or custom, the definition and docstring of the function shows as expected, however it shows twice. I have had a search for what might be causing this and looked around my settings, but have yet to find a reason for it. If it makes a difference, am using Python on VSCode.
Perhaps someone knows what might be causing this and how to resolve? I have not attached any images, since I think the issue is quite clear, but happy to provide if needed for clarification.
Thanks!
Disabling the Jupyter extension seems to fix it for me.
Update: Enabling the Jupyter extension and setting this also does the trick:
"jupyter.pylanceHandlesNotebooks": false
Not sure still what caused the issue, but disabling and then re-enabling the Pylance extension has solved this. Thanks.

My VSCode intellisense is not prioritizing exact match , instead highlighting another method. How do I fix this?

Whenever I try to use a chain function, the intellisense sometimes suggests me something other than the exactly typed word first, which is weird.Here is the image of the issue
Help :)

Simple debug breakpoint conditions gives me "Unused equals expression"

I don't know what is wrong here. It happened before to me also when I tried conditional breakpoints some weeks before. Do I do something wrong or it's Android studio bug ?
Also when I leave this there another error pop up:
Ok looks like android bug to me or multiple... Conditional breakpoint on field don't work and it works when I do the same thing in function. That warning Unused equals expression persist thou.
So what I did to actually make it work was to create temporary init function, placed call to log something and placed breakpoint with the same condition there.
Unused equals expression warning is quite confusing to me as well as that conditions don't work on fields at last for me, maybe its related that I am running arctic fox preview on M1 mac ? Don't know maybe its just well known bug..
Also that null pointer can be logical because when compiler first gets there commands is actually still null so maybe I could just write condition as notes.createPlayCommands().size == 0 and only real Android Studio bug is that warning of unused equals expression un debug breakpoint view.

IDE won't let me type what I want

A couple weeks ago my IDE started getting very forceful... Since it's hard to explain what I mean, here is a video:
http://www.youtube.com/watch?v=tNGMlWwmzpg
It lets me do what I want outside of the parenthesis, so maybe it thinks it's bad syntax two put to evaluations inside, but even if that's true, I don't want my IDE restricting what I can type, it should just use intellisense and put the squigglies.
Here are the extensions I have installed (I disabled the one I installed most recently but it didn't help). I've used almost all of these forever without problem...
update: Offered a bounty because this is making me rage. I have disabled ALL extensions and right now I have the following line:
output += "<div title='" + dr("ServiceGroupType_Desc") + "'>" + dr("ServiceGroupType_Desc") + "</div>"""
I cannot delete the two extra quotes at the end. It just won't let me.
I had the same issue as you and had to uninstall the Codealike plugin to get it working again.
Often when things start misbehaving like this, I find one of three things has happened:
1) Somehow a modifier key gets stuck on. Either my keyboard gets weird, or some software glitch happens. Make sure none of your keys are stuck on unexpectedly.
2) Make sure accessibility services are off (or if you use some of them, make sure only the ones you use are on). Some of these can really mess with you if you are not aware they are on.
3) Make sure your keyboard is in the expected region with the expected layout. Sometimes this switches unexpectedly, and starts messing things up, and I won't realize for a long time.
Sorry if that isn't much help, but it is the only things I can think of.
As you've mentioned, "I have disabled ALL extensions", so it should have nothing to do with any plugin.
Start by turn off IntelliSense
Option->Editor->C/C++->turn off IntelliSense with IntelliSense=FALSE
see if the whole auto complete feature is gone.
"I disabled the one I installed most recently but it didn't help"
You have to make sure the extension is not running in the background. If any, kill them as long as it doesn't affect the VS.

Have you used JustCode?

Has anyone used JustCode from Telerik lately? This question has been asked about two years ago, but I'm sure the issues must have been resolved by now. Especially referring to running it side by side with ReSharper.
I have been using Resharper for a while now. I decided to try JustCode to see how it behave.
After a week of using JustCode, I am uninstalling it and returning to Resharper.
What I like about JustCode:
A single window indicating all warnings/errors in entire solution.
Performance seemed to be a bit better than Resharper.
Refactoring is easier to get to.
Projects can be excluded, or type of file
Language can be excluded (such as XAML)
What I did not like about JustCode:
Sometimes the underline used to open the option for fixing or refactoring is frustratingly hard to click since VS also puts an underline at the same spot (and it is the context menu of the latter that pops up).
Cannot change an hint to be a warning instead.
Saw some minor bugs
JustCode was giving hundreds of false positive warnings in the XAML code (luckily I could turn the inspection of XAML off)
What I was missing from Resharper:
Warnings about method parameter missing/mismatch from the documentation
Hints to transform an expression into a Linq expression.
When writing an opening bracket, resharper automatically adds the closing one and puts you on an empty line in between the two.
When completing a method, Resharper adds the first parentheses. It also adds the last one if that method is parameterless.
I am sure there is a bunch of other stuff that I can't remember now
You can install both Resharper and JustCode alongside. I first suspended Resharper before installing JustCode and used JustCode fine. When I resumed Resharper and restarted VS, both were running together without error.
Together, Resharper was finding more than JustCode.
For example, JustCode did not give a warning for the following: "Value assigned is not used in any execution path."
It even missed an error: "Cannot convert type 'int' to 'bool'." The expression was:
if ((bool)CanDoIt) // Here CanDoIt is a property of type int.
{
...
}
All in all, the tool is not bad. I recommend it over not having any. But if you have the choice between Resharper and JustCode, go with Resharper... for the moment; JustCode is still young.
You can change the size of JustCode's smart tag or turn off Visual Studio's smart tag in JustCode's options menu. I prefer to access VS's smart tag by using ctrl+., so it hasn't been an issue for me.

Resources