Coder Social home page Coder Social logo

ryankshaw / rails-stacktrace-textmate-linker-greasemonkey-script Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 7.0 129 KB

a greasemonkey / Chrome extension that will make all the lines in your rails stack-trace pages link directly to the file and line in textmate

JavaScript 100.00%

rails-stacktrace-textmate-linker-greasemonkey-script's Introduction

A greasemonkey script / Chrome extension that will make your stack trace lines open in TextMate

I wrote this because I wanted a quicker way of getting from a rails error page in development to the line of code where it broke in TextMate

It works in both Firefox and Chrome, but if you want it to work in firefox you need to have greasemonkey installed first.

To install it, just click here

Note

When I was scratching my itch I found Rails Footnotes which does the same thing but as a rails plugin but I did not like that route because I didn't want to add any more dependencies or bloat to my already big rails app, and I figure it would be just a burden to all my coworkers that don't use textmate. Rails Footnotes does some other cool stuff but I actually didn't want that either, I use Rack::Bug for that. I guess another side effect is that it will work for any rails app I am working on, not just the ones I have installed the plugin in.

If you want to get it work on things other than textmate

take a look at some of these:

http://www.gauda.de/ruby-on-rails/use-rails-footnotes-to-open-files-in-netbeans-from-firefox/

http://josevalim.blogspot.com/2008/06/textmate-protocol-behavior-on-any.html

http://ruy.ca/2007/04/01/handling-txmt-urls-in-windows

http://www.jetbrains.net/devnet/message/5239980

rails-stacktrace-textmate-linker-greasemonkey-script's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.