Skip to content

VSCode project template for Ruby, using VSCode-Ruby, Steep and Ruby Test Explorer

License

Notifications You must be signed in to change notification settings

gtrimarchi/ruby-template

Repository files navigation

Abstract

After listening to Remote Ruby eps. 99 I got inspired by Andrew's words and spent my day-off to prepare a fully working VSCode Ruby setup, avoiding Solargraph and squeezing VSCode-Ruby plugin

Prerequisites for OSX

$ brew install node ruby
$ npm install -g ruby-method-locate

On other platforms should be also so easy: Ruby & ruby-method-locate available on your PATH

Prerequisites for Visual Studio Code

Other than above, install in VSCode VSCode-Ruby, Ruby Test Explorer, Steep plugins

First install

$ cd ruby-template
$ bundle install
$ bundle binstubs --all

Run!

code project.code-workspace

This will fire your VSCode using a premade workspace configuration with sane defaults. On OSX I have to launch VSCode from console to re-use my PATH configuration and avoid clashing with OSX defualt ruby old implementation.

Please note YARD documentation support seems still missing

TBD

Steep and signature files are kind new to me, need to investigate further

About

VSCode project template for Ruby, using VSCode-Ruby, Steep and Ruby Test Explorer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages