Increase size of PhpStorm error squiggly line (underwave) - ide

Stupid tiny thing.
PhpStorm is great but when I cut and paste code sometimes I leave off a ; or a } or sometimes I have another dumb problem. PS is good at finding these trouble is it uses a fine underwave which is quite difficult to see. I know all about F2 going to next error etc. I would just love to be able to make the error pointer more obvious so I can just look at the screen and see it - a bright red highlight over the missing character or whatever. (Spot the missing ; below.)
I have trawled SO and the rest of the Interweb and have spent ages in Settings but cannot find anyway to beef this up. Any ideas where the setting for this might be?
EDIT: Just in case anyone comes this way again this is what a missing semicolon looks like now. Basically I never forget the closing semi colon or { as I have a great big red light shining in my face - perfect for a typing clutz like me.
(If you found this useful please uptick - but there seem v few phpStorm Troopers here.)

Settings/Preferences | Editor | Colors & Fonts
General | Errors & Warnings
Choose the right style (e.g. Error or Warning) and change its settings.
You will not be able to make underwave bolder, but you can choose more brighter color (which may look a bit bolder to human eye) or change underwave to another style.

Related

How to find the name for indentation of object-attributes in .tsx-file in PhpStorm

I'm editting a .tsx-file and are reaching upon this bonkers file-formatting:
... If I enlarge the window a bit, then it makes more sense:
But I would still like to change it, so value and onClick aren't aligned all that way to the right. Ideally, it would try to align them with the opening bracket (as they do), unless the opening bracket is more than 35 characters, from the line start. Or something like that.
Now, I assume that it's the TypeScript-formatting that dictates the Code Style for a .tsx-file. But when I open the settings: Editor >> Code Style >> TypeScript then there are BAZILLIONS of settings.
Which leads me to three questions:
Does anyone know what I need to change, so object-attributes doesn't follow the opening-brackets width?
Could I find the name of what I'm looking for, in some smart way? I tried hovering over the massive space, hoping that the little yellow light-bulb could shine some light on, what I was after.
Are there any presets, to be found somewhere? So I don't need to engineer a new Code Style, if I dislike the default.
Make sure that the following option is disabled:
Settings (Preferences on macOS)
Editor | Code Style | TypeScript | Wrapping and Braces
Function call arguments: Align when multiline
NOTE: It is possible that the default value has been changed somewhere since the previous version as I have seen a few questions for the same option but different language (PHP and JavaScript).
HINT 1: Did you know that you can paste your own code in the preview area and start changing options to see how they will affect it? It helps locating the right option a lot.
HINT 2: There is a special popup that shows formatting rules applied to the code. It does not show all possible options but can give you a hint what to look for. To invoke it:
Use Help | Find Action... (or Action tab on Search Everywhere -- they use to be different popups but are using the same popup nowadays)
Type adjust to filer actions
Select and invoke "Adjust code style settings" action
It will give you a popup with applicable rules (it's a limited set: may not list all).
An example for PHP code:

Pycharm / Jetbrains product odd highlighting. Any idea what is being highlighted?

I'm having a weird problem in pycharm that I can't seem to work out.
Using the Darcula theme, I'm seeing some odd highlighting as seen in the below image
Any idea what it is? I'm thinking I must have accidentally turned on some obscure tool, but I can't spot any rhyme or reason.
For whatever reason / somehow you have injected custom language (HTML?) into DIV (?) tags (the green background).
Settings (Preferences on Mac) | Editor | Language Injections -- find and delete offending rule. It should have "Project" or "Global" in most right column (Scope) -- do not touch "Bundled" ones.
Alternatively -- Alt + Enter while having caret inside problematic place and choose "Uninject xxx" from popup menu. This will only disable that rule (which is still enough to make it work as before) .. but you better delete such wrong rule at some point later.

How can I get Xcode 6 to indent switch statements properly?

When editing an Objective C file, the autocomplete snippet for the Switch statement looks like this.
(wow, i'd love to put the code here, but this page complains that it isn't properly formatted, which is the problem i'm asking about 9_9)
I want the case labels lined up with the switch statement. I'll even settle for the case labels indented one level.
My problem is that reinstalling Xcode doesn't fix the problem. I even used this App Cleaner app (found from the answer to a question about reinstalling Xcode here on stack overflow) to remove files associated with XCode.
I believe this problem is specific to me (instead of a bug in Xcode), because other people I ask about it don't know what I'm talking about.
So how can I get my Xcode behaving properly?
Btw, the snippet looks weird, because it's indented two spaces (I use tabs at a width of 4 spaces for my editing).
I actually got a hint from the person who allowed images in this post (I don't have a high enough score to put images).
I indent using Tabs, with a Width of 4 and Indent of 4. My problem, when the Case label are outdented, is that the switch statement is indented one tab, but the case labels are indented 2 spaces. This matches the second image where the snippet shows them indented 2 spaces.
Assuming this is just a problem with my Xcode, what I'm asking is how can I completely get rid of it and have a normal install (I tried reinstalling). On the other hand, if others have this problem too (that is, it's a bug in XCode), then I'll submit a bug report to Apple.
Try checking the Indent width at 4 spaces.
You find the following screen under "Xcode-Preferences"
Posted as an answer, cause comments don't have images.
You would like to edit the standard Xcode snippet, but Xcode doesn't allow you to do this?
Well, it looks like the right time for Snippet Edit.
It will allow you to do anything with the code snippets.
For example, my switch statement looks like this:
I had the same problem on a Mac at work, then concluded that it is a bug. What weirds me out is that I've been unable to get anyone on the internet to confirm it. Perhaps I didn't explain the issue well. Nonetheless, I submitted a bug report to Apple and it's currently marked as a Duplicate of another bug that is Open. So I expect it will be fixed.
In case anyone who comes across this is unclear on what the bug is, the bug is that the code completion snippet indents the Case label at 2 spaces. I happen to indent using Tabs, but it still indents at 2 spaces. With my tab set to a width of 4 spaces, this causes the Switch statement to indent farther than the Case label when using the auto complete. This problem is masked if you indent using Spaces, because even though the snippet indents two spaces, it will line it up with the next "tab" stop at 4 spaces (or 8 spaces, etc.).
Interestingly, it only happens when using the snippet for Objective-C. This problem doesn't occur with Swift.

How to highlight the extra white spaces with red background in sublime3

I installed a plugin through Package Control, that highlight the extra whitespaces with red background color. I loved it! However, I reinstalled the sublime3 and its gone. The only trace I still remember that its somehow deal with I installed the DocBlockr, but now I went to their git page, I do not see any related function.
I am really frustrated and wonder how can I find this plugin or somewhat change sublime3 setting to achieve it? Because right now I am using
"draw_white_space": "all"
which is really horrible on the eye with all the lines and dots in between.
Thanks
Maybe this one ? TrailingSpaces

How to stop InteliJ IDEA to highlight the identifier under the caret

While typing with IntelliJ IDEA the identifier under the caret is highlight with a very ugly turquoise background. And all occurrences of identifier in a different shade of turquoise.
This can be helpfully. But not with that obtrusively ugly colour. And not right while I type.
Is there any way to configure that pain to become useful? A different colour might be nice. Or 2 sec delay. Perfect would be both.
Or if this is not possible then I rather live without and would like to know how to switch it of completely.
Thanks for any hint.
Settings | Editor | Highlight usages of element at caret (but it's disabled by default).
There is also Identifier Highlighter third-party plug-in which does almost the same.
#Martin I believe you can change this. If you go to settings -> general -> colours and fonts and find "Identifier under caret" you can customize things there!