Blob of Commands/Debug - Inspect with pretty print.tmCommand (raw blob data)

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5 <key>beforeRunningCommand</key>
6 <string>nop</string>
7 <key>command</key>
8 <string>#!/usr/bin/env ruby
9
10 require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/ruby_amp.rb"
11 d = RubyAMP::RemoteDebugger.new
12 exit unless d.connected?
13
14 what = RubyAMP::Inspect.get_selection
15
16 puts "#{what} = \n#{d.evaluate(what, :current, :pp)}"
17 </string>
18 <key>fallbackInput</key>
19 <string>word</string>
20 <key>input</key>
21 <string>document</string>
22 <key>keyEquivalent</key>
23 <string>^i</string>
24 <key>name</key>
25 <string>Debug - Inspect with pretty print</string>
26 <key>output</key>
27 <string>showAsTooltip</string>
28 <key>uuid</key>
29 <string>1236EAB2-B06B-4969-ABEC-6121A0873A14</string>
30 </dict>
31 </plist>