Skip to main content
100%

https://github.com/josevalim/rails-footnotes linux Sublime Text integration

✓ Published0🌍 Public
Aali-bugdayci
Last edited Jul 17, 2013
Created on Jul 16, 2013

This example demonstrates how to open file references from Rails Footnotes directly in Sublime Text on Linux. It configures Rails Footnotes to emit custom `subl://` URIs and installs a desktop entry and shell handler that translate those URIs into Sublime Text commands. The `rails_footnotes.rb` initializer sets `Footnotes::Filter.prefix` to `subl://%s:%d`, while the `sublHandler` bash script parses the URI—replacing encoded slashes and extracting line/column parameters—before launching `/opt/sublime_text/sublime_text`. The setup uses `desktop-file-utils` to register the custom MIME type handler.

AI-generated description

Similar vizzes