How do I permanently and forever prevent PhpStorm from removing Use statements when formatting code? When I first start working on many files, I add a code snippet which contains the Use statements that I anticipate needing in that file. I then go about working on that file. Heaven help me if I forget and format the code to make it more readable. Later, when I try to test the code out in the browser, of course it fails because it cannot find the relevant code that was included in one or more of the Use statements. I am so sick of software that tries to substitute its judgment for mine. At this point, I am ready to uninstall PhpStorm and code everything in Notepad+++ if I can't find a way to get rid of this horrible behavior. If I decide that a Use statement is unnecessary, I and I alone will delete it.