Sha256: eeb2dda957f390a8bf66d91f3131163436759da4143cbee298fe1c7e638929af

Contents?: true

Size: 1.09 KB

Versions: 52

Compression:

Stored size: 1.09 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>name</key>
	<string>Completion: includes</string>
	<key>scope</key>
	<string>meta.include.php string.quoted</string>
	<key>settings</key>
	<dict>
		<key>completionCommand</key>
		<string>ruby &lt;&lt;-'RUBY'
path = ENV["TM_CURRENT_LINE"].to_s[0..ENV["TM_COLUMN_NUMBER"].to_i-1].to_s[/['"]([^'"]+)['"]/,1].to_s + "*"
Dir::chdir(File.dirname(ENV["TM_FILEPATH"])) if ENV["TM_FILEPATH"]
include_paths = ENV["PHP_INCLUDE_PATH"] ? ENV["PHP_INCLUDE_PATH"].split(":") : ["."]
matches = include_paths.inject([]) do |res, include_path|
  include_path &lt;&lt; "/" unless include_path[-1] == ?/
  res + Dir.glob(include_path + path).map {|file| 
  file[include_path.size..-1][/[^\/]+$/] + (File.directory?(file) ? "/" : "")
  }
end
puts matches.sort.uniq.join("\n")
RUBY</string>
		<key>disableDefaultCompletion</key>
		<integer>1</integer>
	</dict>
	<key>uuid</key>
	<string>CBE2288F-76FC-4813-B69B-B90FFAE3391C</string>
</dict>
</plist>

Version data entries

52 entries across 44 versions & 3 rubygems

Version Path
redcar-bundles-0.3 Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-bundles-0.2-java Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-bundles-0.1-java Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-dev-0.12.1dev-java plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-dev-0.12.0dev-java plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.11 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.11.0dev plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.10 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.9.2 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.9.1 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.9.0 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.8.1 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.8 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.7 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.6.1 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.6 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.6.1dev plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.5.1 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.5 plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences
redcar-0.5.6dev plugins/textmate/vendor/redcar-bundles/Bundles/PHP.tmbundle/Preferences/Completion___includes.tmPreferences