Git Product home page Git Product logo

sublime-url-protocol-mac's Introduction

sublime url protocol for mac os x

Installation

  • Download the latest release and unzip
  • Drag "Sublime Protocol.app" to your /Applications directory
  • Double-click the app once to register it as the protocol handler

Note: It won't appear to open because the dock icon is hidden to make using it as transparent as possible.

Supports opening subl:// urls from "better errors" on rails and "whoops!" on php

http://i.imgur.com/vtzf2FZ.png subl://open?url=file:///Users/Joel/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb&line=69

http://i.imgur.com/C8QKIOo.png subl://open?url=file:///Users/Joel/Sites/skeleton/httpdocs/doc/index.php&line=41


This only works for Sublime Text 3, to make this work with Sublime Text 2 - alter the /Sublime\ Protocol.app/Contents/Resources/Scripts/main.scpt file

sublime-url-protocol-mac's People

Contributors

saetia avatar tjmcewan avatar

Stargazers

Peter Thomson avatar Jason P. Scharf avatar Roy Duineveld avatar Clément Joubert avatar parth gohil avatar jay avatar Kirk Beard avatar Jacob Baker-Kretzmar avatar Mohammad Altaweel avatar Alexander Sabanov avatar Vova Yatsyuk avatar Dharma Ferrari avatar Muah avatar Patrick O'Grady avatar Adam Josefus avatar  avatar Christopher Vundi avatar Daniel Chodusov avatar Jules Janssen avatar Paul Martinez avatar Ondřej Ždych avatar Adrian Jones avatar Flavio Copes avatar Marek Hrabe avatar Tomas Ruzicka avatar Cody avatar  avatar Tim Robertson avatar John-Henry Liberty avatar Jonas Friedmann avatar Alan Wynn avatar  avatar Tim Riley avatar Dan Wall avatar Brandon Zylstra avatar Kevin Jung avatar Jordan Morano avatar Timothée Barray avatar Xavier Lacot avatar Richard avatar Fritz avatar Rafal Dyrda avatar Tim Osborn avatar George Bragin avatar Francisco Adasme avatar

Watchers

James Cloos avatar  avatar Adrian Jones avatar

sublime-url-protocol-mac's Issues

Mavericks Installation

In Mavericks when you try to run the Sublime Protocol.app in Applications and error message comes up:

"Sublime Protocol.app" can’t be opened because it is from an unidentified developer.

The workaround is to right-click (or ctrl-click) the Sublime Protocol.app and select "Open" then when prompted, click "Open" again.

I just thought this should be added to the README.md

Otherwise, thanks for the awesome project!

Opens in last active sublime window vs window where already open

don't know if this is a limitation of something, but If I open a file from finder or via terminal (open somefile.txt) If the file is already open in one of my sublime windows, I'll be taken to the existing instance of that file..

When opening via this protocol handler, the file always opens in the last active window

¯\_(ツ)_/¯

Do not show Sublime Protocol in dock when launched

Clicking on an "subl:" link causes Sublime Protocol to show in the dock and then quickly disappear, offsetting all of the other icons in the dock. I have seen many apps (such as menubar additions) that have an option to hide the dock icon when running. Please set the same option to Sublime Protocol so that the dock will not be affected when it runs.

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.