Open Andrii-Antoniuk opened 1 month ago
Is the file under source control? I think that is a requirement for this in VSCode. Intelephense has no understanding of format modes, it provides a document and range format provider, it is up to the editor to call these providers.
Yes, it is.
I will check with other languages and resolve this issue if it's a vscode problem
Feature description or problem with existing feature The formatter to work as expected on save if the mode is set to
modifications
ormodificationsIfAvailable
Additional context Example file:
It's expected that
__construct
method will be formatted and fixed, since it's part of the modification.