Ruby TypeProf VSCode Integration
NOTE: This extenstion is very preliminary.
This is a VSCode extension to help you write Ruby code by using an code analyzer called Ruby TypeProf as a backend.
Requirements
- Ruby 3.1.0 or later
- TypeProf 0.20.0 or later
How to use this extension
- Install Ruby TypeProf VSCode Integration
- Open your project's directory by VSCode
- Open the terminal
- Install Ruby 3.1.0 or later
- Add gem "typeprof" to
Gemfile
- execute
bundle install
- execute
rbs collection init
- execute
rbs collection install
- open the rbswiki folder by VSCode
- Edit
typeprof.rbs
Troubleshooting
Check out -> TypeProf's document
Limitations
- This extension only uses
typeprof.rbs
see also How to use TypeProf for IDE
How to develop this extension
See development.md.
| |