Popclip extension to open highlighted Perl error in Sublime Text
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Config.plist
README.markdown
build.pl
logo.png
script.pl

README.markdown

Perl Error Sublime

PopClip is a Mac OS X utility that will allow you to display little menu icons that perform actions on highlighted text.

animated gif showing the extension working

This extension allows you to highlight a Perl error in a Terminal and then open the file in Sublime Text. The cursor will be moved to the line the error occured on.

Things like relative paths in the error message are handled. With magic. And AppleScript. And lsof. Honestly, you don't want to know.

Works in both Sublime Text 2 and Sublime Text 3 with autodetection, prefering to use the latter if both are installed.

Installation

  • Install Popclip
  • Download the extension
  • Double-click it
  • Confirm that you want to install the untrusted extension

Author

Written by Mark Fowler

Bugs

  • Doesn't work outside of Terminal.app
  • The files and paths obviously need to be local (i.e. this won't magically work over ssh)
  • Paths with spaces in don't work yet. Pull requests welcome.

Further bugs, raise an issue on github.