Project

rucoa

0.01
No release in over a year
Language server for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
>= 0
 Project Readme

Rucoa

test

Language server for Ruby.

Usage

Install both rucoa gem and vscode-rucoa extension, then open your Ruby project in VSCode.

To install rucoa gem, if your project is managed by bundler, add to your Gemfile:

# Gemfile
gem 'rucoa'

If bundler is not being used to manage dependencies, simply install the gem:

gem install rucoa

Features

Diagnostics

Displays RuboCop offenses and provides Quick Fix action for autocorrection.

demo

Formatting

Run "Format Document" command or enable "Format On Save" in the settings to autocorrect RuboCop offenses.

demo

Highlight

Highlights corresponding keywords.

demo

Selection

Run "Expand Selection" command to select appropriate ranges.

demo

Symbol

See Outline section in the explorer panel to see document symbols in the current file, or run "Go to Symbol" command to search for symbols.

This extension supports the folowiing types of symbols:

  • class
  • module
  • constant
  • instance method
  • singleton method (a.k.a. class method)
  • attribute (attr_accessor, attr_reader, and attr_writer)

demo

Experimental features

Completion

Provides completion items for constant names and method names.

Definition

Provides "Go to Definition" command to jump to the definition.

Hover

Shows documentation for the symbol under the cursor.

Signature help

Shows method signature help when you start to type method arguments like "100".to_i(.

Coming soon

  • Semantic Tokens