用户
 找回密码
 入住 CI 中国社区
搜索
查看: 12487|回复: 7
收起左侧

[跨平台] Golden编辑器:Sublime text2 CI snippets推荐

[复制链接]
发表于 2012-9-12 21:17:45 | 显示全部楼层 |阅读模式
不知道大家都用什么编辑器,我原来在Mac下用TextMate和Coda,但是现在Sublime一出,彻底把前面两个 放弃了。

原来在TextMate下有特别好的自定义脚本功能,现在用Sublime了,CI的snippets也要搞起了,google了一下,这个项目做的还是比较全的,省去自己写的痛苦了。

github地址:
https://github.com/mpmont/ci-snippets

安装方法与说明

This is a Sublime Text package which includes a bunch of handy snippets for doing Codeigniter framework development.

InstallationWith Package Control

If you have the Package Control package installed, you can install Codeigniter framework Snippets from inside Sublime Text itself. Open the Command Palette and select "Package Control: Install Package", then search for Codeigniter framework Snippets.

Without Package Control

If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:

git clone https://github.com/mpmont/ci-snippets.git ci-snippets

If you find error or wathever just fork it and send me a pull request.

List of avaiable shortcutsClass
  • _cookie
  • _get
  • _get_post
  • _post
  • _server
  • set_cookie
  • get_request_header
  • request_headers
  • ip_address
  • valid_ip
  • user_agent
  • is_ajax
  • is_cli
  • fetch_method
  • fetch_class
  • fetch_module
  • output_json
  • set_json
Helper
  • anchor
  • form_checkbox
  • form_dropdown
  • form_hidden
  • form_input
  • form_open
  • form_password
  • form_submit
  • form_textarea
  • form_upload
  • form_validation
  • uri_segment
Library
  • calendar
  • cart_add
  • cart_update
  • display_cart
  • email
  • flashdata
  • set_flashdata
  • generate_table
  • pagination
  • upload
Active Record
  • db_delete
  • db_get
  • db_insert
  • db_select
  • db_update
  • db_where *
Misc
  • ci_start
  • construct
  • controller
  • model
  • crud
  • load_helper
  • load_library
  • load_model
  • load_view
  • log
  • ciline
  • eof
List of Contributors
  • Marco Monteiro
  • Jesse Robertson
  • Amitava Das Gupta
  • rmclain
  • Tutkun
  • Frank Parent
  • Nicolas Widart
  • Ulises Vázquez Espinoza
  • pauloamc
  • shishir06
  • Deden Fathurahman
  • Shawn Crigger
  • Qcol

发表于 2012-9-12 23:20:04 | 显示全部楼层
不错
发表于 2012-10-27 16:06:27 | 显示全部楼层
顶楼猪.我在用额.MARK一下
发表于 2013-4-2 08:55:51 | 显示全部楼层
Sublime  超好用。
发表于 2013-4-11 15:34:57 | 显示全部楼层
强大的编辑器啊,要换编辑器,关注
发表于 2013-6-27 15:06:40 | 显示全部楼层
mark一下  试试看怎么样
发表于 2013-8-31 10:52:57 | 显示全部楼层
nice! 感觉灰常好!
发表于 2014-11-17 18:23:47 | 显示全部楼层
看了半天我都看不懂是怎么配置的

本版积分规则