code-beautifier.tmbundle

An abandoned Textmate bundle for indenting code

  • 所有者: mocoso/code-beautifier.tmbundle
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Code Beautifier Textmate Bundle

Warning: I no longer use Textmate and so this is effectively abandonware

Textmate's indent functionality does a reasonable job of formatting your code BUT there is a great deal of room for improvement.

Code Beautifier only supports Ruby at present but does improve upon Textmate's indent functionality, in particular it is better at indenting multiline statements and cleans up white space.

Installation

If you have git installed your machine then run this:

cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/mocoso/code-beautifier.tmbundle.git Code\ Beautifier.tmbundle

Otherwise download the zip or tarball and unpack it in ~/Library/Application\ Support/TextMate/Bundles.

Then select 'Bundles > Bundle Editor > Reload Bundles' from Textmate's menus

KNOWN ISSUES

  • Does recognize strings with custom delimiters
  • Does not handle multiline blocks within implied brackets
  • Does not indent continuing line statements within brackets correctly

Credits

This was based on the ruby beautifier script by Paul Lutus and Beautiful Ruby in Textmate by Tim Burks

主要指標

概覽
名稱與所有者mocoso/code-beautifier.tmbundle
主編程語言Ruby
編程語言Ruby (語言數: 1)
平台
許可證
所有者活动
創建於2008-09-25 07:00:53
推送於2012-08-08 06:08:24
最后一次提交2012-08-08 07:08:15
發布數0
用户参与
星數165
關注者數2
派生數6
提交數69
已啟用問題?
問題數10
打開的問題數4
拉請求數1
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?