How to disable keyword lighlights in a Doc block comment in WebStorm - ide

Inside my Docbloc in WebStorm, I'm getting these highlighted keywords such as in, as, of, else.
These are obviously JavaScript keywords, but how could I disable them in Docblock?
I can't seem to find any settings for this in WebStorm configurations.
Thanks in advance.

Related

How do I stop IntelliJ Cursive from re-formating my Clojure code?

How do I stop IntelliJ Cursive from re-formating my Clojure code? I'll be staring at a function, realize where I missed a parenthesis, put it in, and BAM! my code is now all re-indented!
I DON'T WHAT IT TO DO THAT!
I like my code the way I laid it out!
I don't want Cursive's formatting help unless I ask for it!
I found something.Settings --> Editor --> Code Style --> Clojure...This last option may only be present if you've installed the "Cursive" plug-in for Clojure code.There is a HUGE list of indents and tab/spaces settings. I set everything to zero (0). That seems to be holding, so far.

How to turn-off autocompletion inside strings in RubyMine?

In specs very often RubyMine is hanging when I writing the spec description string. It seems like it is searching for something. I suspect autocompletion.
Where can I configure autocompletion settings or set just how to behave inside strings? What can be the possible cause of this hanging when I write strings in spec description?
Thank you for your suggestions.
As far as I know there isn't a way to turn off autocompletion for specific circumstances, but the settings that are available are in the preferences menu > Editor > General > Code Completion.

IntelliJ missing all inspections

I'm having an issue with IntelliJ, that I cannot seem to find a solution for myself. I have not changed any settings, yet when I started my IDE this morning, all Inspections and other highlighting has disappeared.
By highlighting, I mean stuff like variable names becoming purple, static finals shown with italic text, etc.
Inheritance seems to be broken as well, in that an implementing method links to the implemented interface method, but interface methods do not link to the implementing method.
My search for this tells me that there is an icon for this in the bottom right. That's set to "Inspections", and under configuration, it seems like everything is set to default.
Is there some way to un-break my IDE?
Another solution:
File -> Power Save mode
It needs to be disabled.
The (or at least one) answer to this is:
File -> Invalidate Caches
Make sure the folder the code is in is marked as the sources root. If it's not marked as the sources root, syntax highlighting will be very limited.
To mark a directory as the sources root, right click the directory, then navigate down to "Mark directory as" and select "Sources root."

Disable IntelliJ Warnings

It really annoys me that IntelliJ highlights certain 'errors' (that don't prevent successful compilation) the same way that real errors are highlighted. For example, a magic number is not really an error, but it will be flagged in exactly the same way as an incompatible type error.
How can I change this?
Go to Settings -> Inspections. Then you need to search through the long list for the offending inspection, which you can get the name of by hovering on the warning marker in the margin. You can change the severity of the inspection, whether it's an error, warning, etc. or just disable it altogether.
Edit: if you search for "magic" in Settings, you get the following, which should be helpful:
Whenever you see an inspection warning/error you can place the caret on it and press Alt+Enter (a light bulb also appears that tells you that). A menu will appear with suggested quick fixes. You may need to open a submenu by pressing Right, and you'll find "Edit inspection settings" there. Having invoked that, you may proceed as in hvgotcodes's answer :), it's just a faster way of getting to those settings.
As Michael Calvin said you can use the SuppressWarnings annotation. For example:
#SuppressWarnings("OptionalUsedAsFieldOrParameterType")
See https://github.com/JetBrains/intellij-community/blob/master/plugins/InspectionGadgets/src/inspectionDescriptions/OptionalUsedAsFieldOrParameterType.html
Usually searching the internet for the exact description leads me to this.
Not directly relevant to the OP, but may be of use to future Googlers
I got to this question while trying to figure out how to disable IntelliJ IDEA's warnings about Guava functionalities that have been replaced by Java 8 features. I'm not able to use the Java 8 versions of these features in my case because of a library we're using that was built with Guava (despite being a Java 8 project). So to solve that, I added a SuppressWarnings annotation before any class using Guava:
#SuppressWarnings(Guava)
public final class...

Can TextMate find matching opening and closing tags?

Something I liked in Visual Studio was that I could click an opening tag, say and it would do its best to highlight in bold the closing tag. Does anyone know if you can do that in textmate? I searched an looked but cannot find it.
It gets hard to find the closing tag many DIVs deep.
If TextMate won't do it, can anyone tell me an editor on Mac that will?
Thank you for any help.
EDIT: If it can do it, can someone please tell me how? Thanks again.
Install the experimental bundle - and look for the "Select Balanced Tags" macro (Shift-Command-B)
Whenever you transverse with your keyboard or mouse the closing tag, TM will flash you the opening one.
But I think the reverse it's not possible (or at least, haven't found a way to work it like that)