Coder Social home page Coder Social logo

rubymine_heaven's Introduction

RubyMine Heaven

This gem does 2 things:

  • connects stack trace on rails error page to rubymine (when you click on stack trace line in browser, RubyMine will open appropriate file on the line which caused the error
  • in similar manner it connects links from footnotes (if present) to RubyMine (https://github.com/josevalim/rails-footnotes)

Getting started

You need to perform some steps (one time) before first usage:

  • Create command line launcher for RubyMine (Tools / Create Command-line launcher for RubyMine 4 EAP)
  • Create protocol handler in AppleScript Editor
    • start the AppleScript Editor
    • paste this code into the editor:

    on open location this_url

        do shell script ("mine_handler '" & this_url & "'")

    end open location

    * save this file as an Application (for instance to /Applicaions folder)
  • link protocol "x-mine" to application created in previous step (You can use MisFox, MoreInternet or RCDefaultApp for it)
    • in MisFox select Protocol Helpers and add new protocol with name "x-mine" a chose application created in AppleScript editor as it's handler.

Usage

In your Gemfile add:

gem 'rubymine_heaven'

that's all...

Prerequisites

Bugs and Feedback

If you discover any bugs, please send an e-mail to [email protected]. Positive feedback is fine too!

How can you help?

If someone knows how to eliminate the need to create ApplScript handler (or how to create this handler programaticaly), or how to register new protocol programitacly, please let me know.

References

https://rubygems.org/gems/rubymine_heaven

License

MIT License.

rubymine_heaven's People

Contributors

cervinka avatar

Watchers

 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.