Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
txmt://open?url= links in Windows
Ruby
branch: master

This branch is 1 commit behind dolzenko:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
protocol_handler.rb
register_protocol_handler.rb
register_protocol_handler.reg.erb

README.md

Windows Protocol Handlers

All the crazy plumbing code you need to get txmt://open?url=file:////dir/file.rb links working on Windows. Can run GVim, Notepad++, Notepad2, Notepad.

Such links are generated by different debugging related plugins like Rails Footnotes and others.

Example

Register the ruby executable to open protocol_handler.rb to handle protocol txmt, automating procedure described in http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

> ruby register_protocol_handler.rb txmt RUBY protocol_handler.rb

THe registered protocol uses the same Ruby version used to execute the script above. You may hack protocol_handler.rb to change editor, customize paths, or add logic for other protocols.

Something went wrong with that request. Please try again.