Coding assistance in PHP
In Smart Mode, JetBrains Fleet provides coding assistance features for your PHP projects. They help you avoid mistakes and write code in an efficient manner.
As you type, JetBrains Fleet suggests completion options. The suggestions are based on a number of factors, such as the available code intelligence services, project model, surrounding code, and the visibility of symbols.
Completion suggestions will appear automatically as you type, but you can also invoke them explicitly by pressing CtrlSpace.
tip
You can use CamelHumps in code completion, that is you can type the initial letters of compound name parts and the name will appear in the list of suggestions. For example, you can type
tes
and then pickTextEncoderSettings
from the completion list.
When you use code completion over existing code items, you can either insert the selected completion suggestion before the existing item by pressing Enter or replace the existing identifier with the selected suggestion by pressing Tab.
JetBrains Fleet constantly analyzes your code and suggests actions that you might want to perform in the current context. The suggested actions range from correcting errors to refactoring the code at the caret.
To see, which actions are available at the caret, press AltEnter. After you have selected the required action, you can apply it right away or preview the result with Ctrl0P.
Open the Problems popup, which is in the upper-right corner of the window.
Click the issue that you want to fix from the list of problems.
While the issue is selected, press AltShiftEnter. Alternatively, you can click the link with the suggested quick-fix.

In JetBrains Fleet, there is a set of code inspections that detect and correct abnormal code in your PHP project. The code editor can find and highlight various problems, locate dead code, find probable bugs, spelling problems, and improve the overall code structure.
Code inspections analyze your code based on the language level. It does not have to necessarily correspond to the actual language version you are using. By default, the language level is set to 5.6.
Thanks for your feedback!