pulsar-ide-ruby
Ruby language support for Pulsar via ruby-lsp
savetheclocktower 0 0 0.1.1 MIT GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

pulsar-ide-ruby package

Ruby language support for Pulsar via the ruby-lsp gem.

Work in progress

Known to work:

Installation

Follow these instructions to install ruby-lsp. It should not be added to your project’s Gemfile for the reasons explained here.

You may also install rubocop and syntax_tree for enhanced support. (I believe, but am not certain, that they need to be installed within your project rather than globally.)

Settings

Formatter

The formatter to use with pulsar-code-format (or atom-ide-code-format). Default is auto, but consider installing the syntax_tree gem and setting this value to syntax_tree, since that’s apparently the only formatter that can format arbitrary ranges.

Linters

The set of linters to use. This maps directly to a ruby-lsp setting. If you’ve got Rubocop set up in your project, add either rubocop (for Rubocop’s built-in ruby-lsp add-on) or rubocop_internal (for ruby-lsp’s own Rubocop adapter). The linter will respect a .rubocop.yml if one is present in the package root.