Extends Visual Studio Code's Ruby Language Grammars with the Rails Library.
Support methods are identified such as:
belongs_to
has_many
has_rich_text
validates
scope
before_action
link_to
This extension is certainly not inclusive of every method Rails and Turbo Rails offers. Rails is a massive library! Added methods from various classes/modules listed below.
Pull Requests are more than welcome!
- Run:
code --install-extension SarahRidge.vscode-rails-syntax
- Alternatively, extension can be installed via VScode marketplace.
- Reload VSCode.
AbstractController::Callbacks
ActionController::Flash::ClassMethods
ActionController::Redirecting
ActionController::RequestForgeryProtection::ClassMethods
Routing::Mapper::Base
Routing::Mapper::Concerns
Routing::Mapper::CustomUrls
Routing::Mapper::HttpHelpers
Routing::Mapper::Resources
Routing::Mapper::Scoping
ActionView::Helpers::CacheHelper
ActionView::Helpers::FormTagHelper
ActionView::Helpers::TagHelper
ActionView::Helpers::TextHelper
ActionView::Helpers::TranslationHelper
ActionView::Helpers::UrlHelper
ActionText::Attribute
ActiveModel::Validations::ClassMethods
ActiveRecord::Associations::ClassMethods
ActiveRecord::Callbacks
ActiveRecord::Enum
ActiveRecord::Migration < Object
ActiveRecord::NestedAttributes::ClassMethods
ActiveRecord::QueryMethods
ActiveRecord::Relation < Object
ActiveRecord::Scoping::Named::ClassMethods
ActiveStorage::Attached::Model
ActiveSupport::Rescuable::ClassMethods
Module < Object
Turbo::FramesHelper
Turbo::Streams::ActionHelper
Turbo::Streams::TagBuilder
Turbo::StreamsHelper
Logo © David Heinemeier Hansson: https://rubyonrails.org/trademarks/