Open files from the command line
- Run
mkdir -p ~/bin \ && \ ln -s \ $(realpath --relative-to="${HOME}/bin" "${PWD}/phpstorm-protocol-handler.php") \ ~/bin/phpstorm-protocol-handler.php
- Run
desktop-file-install \ --dir="${HOME}/.local/share/applications" \ --mode="$(expr '0777' - $(umask))" \ --rebuild-mime-info-cache \ "${PWD}/phpstorm-protocol-handler.desktop"
- Run
kde-open5 "phpstorm://open?file=${PWD}/README.md&line=3&column=6"
- Run
xdg-open "phpstorm://open?file=${PWD}/README.md&line=3&column=6"
xdebug.file_link_format="phpstorm://open?file=%f&line=%l"