phptools-docs
phptools-docs copied to clipboard
Disable auto-formatting
Hi there, is there a way to disable PHP code auto-formatting and only use it on demand?
This is because if I type a statement such as print_r($example); exit;
, it puts the exit
statement on the next line which is unwanted behavior since I'd like to be able to comment out the whole line.
Additionally, the indentation is not always detected correctly and the extensions sometimes reduce the indentation of a new statement which is also unwanted behavior.
It would be nice if I could select a portion, or apply the formatting to the whole document only when asked, not automatically.
This behavior reminds me of other IDEs such as Visual Studio and PhpStorm, which are unpleasant IDEs to work with due to excessive auto-formatting. I'd prefer VS Code to act more like a text editor with advanced symbol scanning instead.