Tag: textmatebundles

Textmate中的自动完成function

有时我会观看有人使用文本配对的屏幕转换。 我是一个rails开发者,所以这些是rails screen casts。 他们会输入类似的东西: 高清 例如 并且“结束”将自动出现在下面。 我确实启用了Rails的捆绑包 – 为什么这不会发生在我身上? 谢谢!

在TextMate中,我无法使用Rails tmbundle创建局部视图

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in `to_plist’: An object in the argument tree could not be converted (ArgumentError) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in `request_string_core’ from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:193:in `request_string’ from /Users/pma/Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:23:in `’ 我安装了RoR软件包: https : //github.com/drnic/ruby-on-rails-tmbundle.git 使用rvm。

TextMate中的^ H用’Tidy’HTML导致NoMethodError

昨天我第一次尝试在HTML文档中使用’Tidy’,并得到了…… /tmp/temp_textmate.Z2P0KX:30:in `’: undefined method `empty?’ for nil:NilClass (NoMethodError) 我没有对包中的代码做任何事情…… #!/usr/bin/env ruby -wKU require ENV[‘TM_SUPPORT_PATH’] + ‘/lib/ui.rb’ require ENV[‘TM_SUPPORT_PATH’] + ‘/lib/exit_codes.rb’ result = `”${TM_TIDY:-tidy}” -f /tmp/tm_tidy_errors -iq -utf8 \ -wrap 0 –tab-size $TM_TAB_SIZE –indent-spaces $TM_TAB_SIZE \ –indent yes \ ${TM_XHTML:+-asxhtml –output-xhtml yes} \ ${TM_SELECTED_TEXT:+–show-body-only yes} \ –enclose-text yes \ –doctype strict \ –wrap-php no \ […]