Extends Visual Studio Code's Ruby Language Grammars with the Rails Library.
Support methods are identified such as:
belongs_tohas_manyhas_rich_textvalidatesscopebefore_actionlink_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!
This extension is available at the following extension marketplaces:
Run one of the following commands depending on the editor you are using:
- For
vscode:code --install-extension SarahRidge.vscode-rails-syntax - For
cursor:cursor --install-extension SarahRidge.vscode-rails-syntax
Reload your editor
AbstractController::Callbacks
ActionController::Flash::ClassMethodsActionController::RedirectingActionController::RequestForgeryProtection::ClassMethods
Routing::Mapper::BaseRouting::Mapper::ConcernsRouting::Mapper::CustomUrlsRouting::Mapper::HttpHelpersRouting::Mapper::ResourcesRouting::Mapper::Scoping
ActionView::Helpers::CacheHelperActionView::Helpers::FormTagHelperActionView::Helpers::TagHelperActionView::Helpers::TextHelperActionView::Helpers::TranslationHelperActionView::Helpers::UrlHelper
ActionText::Attribute
ActiveModel::Validations::ClassMethods
ActiveRecord::Associations::ClassMethodsActiveRecord::CallbacksActiveRecord::EnumActiveRecord::Migration < ObjectActiveRecord::NestedAttributes::ClassMethodsActiveRecord::QueryMethodsActiveRecord::Relation < ObjectActiveRecord::Scoping::Named::ClassMethods
ActiveStorage::Attached::Model
ActiveSupport::Rescuable::ClassMethods
Module < Object
Turbo::FramesHelperTurbo::Streams::ActionHelperTurbo::Streams::TagBuilderTurbo::StreamsHelper
Note: Publishing a new version of this theme is only meant for maintainers.
npx vsce package- Publish to VSCode Marketplace:
npx vsce publish - Publish to Open VSX Registry:
npx ovsx publish <.vsix file> -p <OpenVSX PAT>
Logo © David Heinemeier Hansson: https://rubyonrails.org/trademarks/