beforeRunningCommand nop bundleUUID 467B298F-6227-11D9-BFB1-000D93589AF6 command #!/usr/bin/env ruby print case str = STDIN.read # Handle standard quotes when /\A["'](\w+)["']\z/ then ":" + $1 when /\A:(\w+)\z/ then '"' + $1 + '"' # Default case else str end fallbackInput scope input selection keyEquivalent ^: name Toggle String / Symbol output replaceSelectedText scope source.ruby string.quoted, source.ruby constant.other.symbol.ruby uuid B297E4B8-A8FF-49CE-B9C4-6D4911724D43