How to Disable Spell Checking for All My Projects - phpstorm

Is there a way to disable spell check at the IDE level in PHPStorm? I need to individually disable spell check for all my projects right now which is a bit of a pest.

There is no "global" setting for existing projects -- it needs to be done for each project individually (Spell Checker is an inspection and Inspections are configured on per-project level).
You need to disable whole group at Settings/Preferences | Editor | Inspections | Proofreading (used to be Spelling before).
You can configure it to be disabled by default for any future new projects at File | New Projects Setup | Settings for New Projects... (previously was File | Default Settings).
https://www.jetbrains.com/help/phpstorm/2021.2/configure-project-settings.html#new-default-settings
Also check suggestion by #Amged -- edit your Color Schema to simply remove any visual effects for misspelt words: Settings/Preferences | Editor | Colors & Fonts | General --> Errors & Warnings | Typo.
This way it will affect ALL projects straight away as long you use that Color Schema. It will also allow you to still list all typos if you run Code | Inspect Code....
The possible down-side: spell checker still runs; you will see extra 2 menu entries when right clicking on such words.

You could leave the Spell Checking inspection enabled and just remove the visual effect in the editor by going to Settings | Colors & Fonts | General | Typo and unchecking Effect. This way it will not highlight the typos in the editor but when you manually run the code inspector the typos are listed.

I'm working with "CLion" but I'm pretty sure the settings are pretty much close to "phpstorm" as both of them are produced by the same company :)
Go to the File tab and then select settings.
In the opened window select the items as the picture below and uncheck the spelling item.

windows:File->Settings->Editor Now click Inspections item and find Spelling click check button and now apply and ok

To change it globally in the Settings/Preferences | Editor | Inspections change Project default to Default.

Related

Why in PhpStorm all files were closed?

I was working in PhpStorm 2020.1.4 and maybe I clicked on some hot key
that all files were closed but IDE not.
Is it some functionality/hot key? I want to disable it...
Thanks!
That could happen because of various reasons. First ones that come to mind are:
in File | Settings | Keymap:
Main Menu | Window | Editor Tabs | Close All Tabs action
Main Menu | Tools | Tasks & Contexts | Clear Context
Branch switching

To set off option that PhpStorm 2020.3.1 shows some hints hovering htmk tag

Using PhpStorm 2020.3.1 I see some hints when I really do not need them.
Say in cases when I hover mouse over “<div” tag.
If it possible to show this hint only on some action, say context menu some menu item selected?
Thanks!
Please try disabling Show quick documentation on mouse move in Settings | Editor | Code Editing.
Quick documentation can be viewed via View | Quick documentation; see what shortcut is assigned to this action (usually it's Ctrl+Q on Windows, F1 on Mac OSX)

PhpStorm is not wrapping long lines

I have reinstalled PHPStorm and adjusted the wrapping and right margin but seems it's not working what's it I'm missing?
You need to fix your Soft Wrap settings. From what I see from your first screenshot you have made an error in the list of "wrap by default" extensions: they should be separated by the semicolon ; but I see a comma , there: ... ; *.adoc, *.php.
P.S. If you do not care about specific extensions / or to enable Soft Wraps by default for ALL files, just enter * in that field.
Side note: You can always manually enable soft warping for the current file via Main Menu | View | Active Editor | Soft Wrap (should also be accessible via gutter context menu: the area where line numbers are)

Jump between highlights in PhpStorm

Is there a way to navigate up and down the highlights as in the screenshot?
I read the article here: https://www.jetbrains.com/help/phpstorm/navigating-through-the-source-code.html but couldn't find what I'm looking for
Basic usage is I just want to sprinkle a bunch of highlights around the code and be able to jump between them using a shortcut.
I know that an alternative would be to use the favorites, but I want to see if it can be done using highlights.
I'm on a Mac.
I just want to sprinkle a bunch of highlights around the code and be able to jump between them using a shortcut.
Navigate > Back and Navigate > Forward should work ideally in that case.
According to your comment above, you're using these breakpoints as a kind of visible bookmark within your code. However, IntelliJ does have a Bookmarks feature.
I would therefore suggest to simply alter the way they appear so they stick out more:
Go to File | Settings | Editor | Color Scheme | General
On the right pane, expand/select Editor | Bookmarks
Adjust the background and/or foreground colors on the right (and more if needed)
Here's an example with funky bookmarks (pardon my light theme):
You can then navigate between them using:
Navigate | Bookmarks | Previous Bookmark
Navigate | Bookmarks | Next Bookmark

How can I see the return type function in PhpStorm when the cursor moves on that function?

Visual Studio Code:
When I'm using Visual Studio Code and my cursor moves over a property, an small tooltip box shows the return type of that property.
How can I see this kind of tooltip in PhpStorm?
To have quick detailed info -- invoke View | Quick Documentation (Ctrl + Q on Windows using Default keymap) while having caret placed on the desired symbol (class/function/variable/etc).
https://www.jetbrains.com/help/phpstorm/inline-documentation.html#d427447e209
To have brief tooltip -- just hover over function with Ctrl key pressed.
To have "Quick Documentation" window appearing automatically (without the need to invoke it manually) -- enable corresponding configuration option:
Settings/Preferences | Editor | General --> Show quick documentation on mouse move
NOTE: because that popup is quite large ... it's not super practical to have it popping up automatically like that as it will cover quite a bit of screen space -- may cover few next/previous lines of code that you may be interesting to see at the same time.