Skip to content

Release Note 1.4

Soutaro Matsumoto edited this page Apr 25, 2023 · 4 revisions

Some of the highlights in Steep 1.4 are:

  • Support RBS 3.0 (#716)
  • Better completion for RBS
  • Signature help in Ruby code

You can install it with $ gem install steep or using Bundler.

gem 'steep', require: false

See the CHANGELOG for the details.

Support RBS 3.0

Steep 1.4 works with RBS 3.0, which ships with two new language constructs.

# `use` directive gives shorter names to a type name that is defined inside deep module nesting
use RBS::TypeName

# Class/module alias declaration allows defining a class/module that is an alias of another class/module
class LSP = LanguageServer::Protocol

See the release note for the details.

Better completion for RBS

Steep 1.4 provides better completion for RBS types.

rbs-completion

It shows a list with the given name and inserts a relative type name based on current module-class nesting context.

Signature help in Ruby code

Signature help pops up on typing ( on method calls.

signature-help

It shows the list of arguments and keywords to help typing actual arguments.

Clone this wiki locally