Folders not appearing in the tree on the left panel – PHP Storm

At some point, my folders were not appearing anymore in my Tree on the left Panel like this fellow below.

https://devnet.jetbrains.com/message/5448105?tstart=0

I ended up reading online that it occurs when you hit “Cancel” during the load of a project. I restarted PHPStorm and let it load all the components of the project and it worked.

 


How to indent a large XML file (Ubuntu)

I had to indent an extremely large XML file today. I tried to use different IDE (PHPStorm, Sublime Text 3), however the file was way too large and it took a long time to process.

Best way to do that is by using command line.

xmllint --format input.xml -o indented-output.xml