I am sure I am missing something simple.
I usually add external libraries into my project tree in the left hand project tree in phpStorm.
They are read only...
I have to right-click on the file in the tree and select "mark as text" to be able to edit them.
What am i missing here?