Rails Completions
Sublime Text 2 & 3, Plugin adding auto completions for Ruby on rails
Details
Installs
- Total 8K
- Win 1K
- Mac 3K
- Linux 3K
Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |
Readme
- Source
- raw.githubusercontent.com
Rails Completions - Sublime Text Plugin
This extension is for Sublime Text 2 & 3. It adds helpful snippets and autocompletions for Ruby on Rails
Use the Snippets
Start typing the name of the helper you want and then hit Tab
to insert the full completion. This plugin allows fuzzy searching, which allows you to be more efficient when searching for autocompletions.
Model Callbacks
before
- before_create
- before_destroy
- before_save
- before_update
- before_validation
- before_validation_on_create
- before_validation_on_update
around
- around_create
- around_save
- around_update
- around_destroy
after
- after_commit
- after_create
- after_create_commit
- after_destroy
- after_destroy_commit
- after_rollback
- after_save
- after_update
- after_update_commit
- after_validation
- after_validation_on_create
- after_validation_on_Update
model associations
- belongs_to
- has_one
- has_many
- has_many_through # has_many :through
- has_one_through # has_one :through
- has_and_belongs_to_many
- inverse_of
- dependent_destroy # dependent: :destroy
- accepts_nested_attributes_for
model validations
- validate
- validates
- validates_acceptance_of
- validates_associated
- validates_confirmation_of
- validates_each
- validates_exclusion_of
- validates_format_of
- validates_inclusion_of
- validates_length_of
- validates_numericality_of
- validates_presence_of
- validates_size_of
- validates_uniqueness_of
controllers callbacks
- before_action
- skip_before_action
- around_action
- http_basic_authenticate_with
- redirect_to
render (.rb)
- render
- render_template
- render_partial
- render_action
- render_action_edit
- render_action_show
- render_action_index
- render_action_update
- render_file
- render_inline
- render_html
- render_json
- render_js
- render_xml
- render_body
- render_layout
- render_status
- render_layout
render (.erb)
- render
- render_template
- render_partial
- render_file
- render_inline
migration
- add_column
- add_foreign_key
- add_index
- add_reference
- add_timestamps
- change_column_default
- change_column_null
- create_join_table
- create_table
- disable_extension
- drop_join_table
- drop_table
- enable_extension
- remove_column
- remove_foreign_key
- remove_index
- remove_reference
- remove_timestamps
- rename_column
- rename_index
- rename_table
file tags (ERB only)
- javascript_include_tag
- stylesheet_link_tag
- image_tag
- javascript_pack_tag
- stylesheet_pack_tag
Notes
All of RailsCompletions is licensed under the MIT license.
Copyright © 2018 Marc Jeffrey mjeffrey18@gmail.com