Skip to content

sanduhrs/phpstorm-url-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

# PhpStorm URL Handler This package contains a launcher to open files in PhpStorm at the defined line number and an associated desktop file that conforms to the Desktop Entry Specification for use in Gnome and KDE desktop environments. ## Installation	cp phpstorm-url-handler /usr/bin/phpstorm-url-handler desktop-file-install phpstorm-url-handler.desktop ## Usage It can be used to open files at the specified line from within the browser by placing a link of the following kind in the markup: <?php $file = "/path/to/filename.php"; $line = 35; print "<a href="phpstorm://open?url=file://$file&line=$line">Open with PhpStorm</a>"; ?> ## Commandline usage FILE="/path/to/filename.php" LINE=35 ./phpstorm-url-handler "phpstorm://open?url=file://${FILE}&line=${LINE}" This script is used in the ARCH linux package to be found at phpstorm-url-handler https://aur.archlinux.org/packages/phpstorm-url-handler/ ## License GNU GENERAL PUBLIC LICENSE 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages