Nova

Extensions


Readme

standardrb integrates with the Standard LSP including issues and format on save.

A window containing ruby code shows the instantiation of a new User object and a poorly formatted params hash. The developer then types "user.update(params)" showing completions along the way. and saves the document, automatically formatting the code.

Requirements

standardrb requires that the standard gem be installed and available on your PATH. See Standard's readme for installation instructions.

Usage

To use standardrb:

  • Set up the extension to point to the path of the executable. Run which standardrb in your shell to find that path.
  • Put that path in stanardrb's settings.

Next time you open a ruby file, you should expect to see standard's suggestions in your code.

Configuration

To configure global preferences, open Extensions → Extension Library... then select standardrb's Preferences tab.

You can also configure preferences on a per-project basis in Project → Project Settings...

Configurations include:

  • Language Server Protocol (LSP) on or off
  • Format on save (requirers LSP enabled)

Changelog

Version 0.1

Release notes here