cd /Users/xzhou/Library/Preferences/PhpStorm2018.2
vi phpstorm.vmoptions
tail -f /Users/xzhou/Library/Logs/PhpStorm2018.2/idea.log
install java 8
brew tap caskroom/versions
brew cask install java8
brew search java
switch between installed runtimes, 2x shift, then enter swich IDE Boot JDK
read more
ls -al /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk
useful video for mastering phpstorm
This is the configuration of symfony 2 project in PHPStorm Editor. It is optimized for better indexing and symfony support.
Go to Preferences => Directories
marked as tests
src/AppBundle/tests
marked as sources
.app/
marked as Excluded
.idea/
.app/cache/
.app/logs/
.app/DoctrineMigrations/
.app/files
.data/csv
.node_modules/
.sql/
.vendor/
.web/
marked as Resources Root
.web/
Go to Language & Framework => php => include path, then click on + to add vendor folder
In project view of PHPStorm, the external Libraries should contain now two Libs:
PHP (the vendor)
PHP Runtime (standard PHP libs)
read more [highlighting ruby]
update the TextMate Color Scheme to Darcula
go to Editor=>TextMate Bundles=>TextMate Bundles => Vikbert's Darcular::Darcula