name Completion: require strings scope meta.require.ruby string.quoted settings completionCommand #!/usr/bin/env ruby ptrn = /^#{Regexp.escape ENV["TM_CURRENT_WORD"].to_s}[^.]+\..+/ puts( $LOAD_PATH.inject([]) do |res, path| res << Dir.new(path).grep(ptrn) { |file| file[/^[^.]+/] } if File.exists?(path) res end.sort.uniq ) uuid AEDD6A5F-417F-4177-8589-B07518ACA9DE