Ruby method checker using RBS - VSCode extension for Method-Ray.
- Method checking for Ruby files using RBS
- Real-time error detection
- Integration with Method-Ray LSP server
cd /path/to/methodray
cargo build --release --features lspOpen settings and set the path to the LSP server:
{
"methodray.lspPath": "/path/to/methodray/target/release/methodray-lsp"
}Or place the binary at <workspace>/target/release/methodray-lsp for automatic detection.
- Open a Ruby file (.rb)
- Method-Ray will automatically start method checking
- Errors will be highlighted with diagnostics
Make sure the LSP server is built:
cargo build --release --features lspGenerate the RBS cache:
bundle exec methodray check example.rb