Ruby Lsp Rails

screenshot of Ruby Lsp Rails

A Ruby LSP add-on for Rails

Overview:

Ruby LSP Rails is a Ruby LSP addon that enhances Rails editor features. It offers functionalities like revealing schema by hovering over ActiveRecord models, running/debugging tests with code lenses, and more. With Ruby LSP Rails, users can navigate various elements of their Rails app efficiently within their editor.

Features:

  • Schema Revealing: Hover over an ActiveRecord model to display its schema.
  • Test Execution: Run or debug tests by clicking on the code lens above the test class or individual test.
  • Navigation Enhancements: Navigate to associations, validations, callbacks, and test cases using the "Go to Symbol" feature or outline view.
  • Definition Jumping: Jump to the definition of callbacks and the declaration of a route.
  • Migrations Control: Fast-forward or rewind migrations with the Code Lens feature.
  • Route Correspondence: See the path that a route action corresponds to with Code Lens.

Summary:

Ruby LSP Rails is a valuable addon for Rails developers, providing enhanced editor features to streamline development workflows. With functionalities like schema revealing, test execution, navigation enhancements, and more, Ruby LSP Rails is a useful tool for working efficiently within the Rails environment.