Comments (4)
Our default is to use Sorbet in all projects unless there's a good reason not to. It provides better safety with a super short feedback loop, better editor support among other things.
Initially, I was pushing back on adding it because I had two concerns:
- It felt a bit odd to me to have the
sorbet-runtime
as a dependency of this gem - I thought it'd be beneficial to have people experience the Ruby LSP on its own when working on it, without the Sorbet LSP, to find gaps in the experience more easily. Adding Sorbet means that some LSP functionality will start working, despite it not being implemented in the Ruby LSP (which we may want to do)
However, I believe the advantages are greater than these two. Because the Ruby LSP is used as a standalone executable, the addition of sorbet-runtime
as a dependency is not really a problem. Also, using the Ruby LSP + the Sorbet LSP together is the experience we recommend, so it actually makes sense for us to test both together.
from ruby-lsp.
@vinistock How did we decide to add Sorbet? (To be clear, I'm all for it, just curious what factors went into the decision.)
from ruby-lsp.
Awesome, thank you!
from ruby-lsp.
Let's close this since we already decided to add it: #119.
from ruby-lsp.
Related Issues (20)
- ruby-lsp vscode extension + asdf breaks PATH, breaking other vscode extensions HOT 1
- Failed to activate asdf environment HOT 15
- Fails to install gem via VSCode extension after gem uninstalled HOT 2
- `Failed to activate Ruby environment: Discovered Ruby path but VS Code does not have permissions to execute it`
- LSP server failed to start: [info] (icn) Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- No RuboCop doc links for extensions HOT 1
- vs code: asdf environment variables ignored
- `--yjit` added to ruby command when not supported (with asdf usage)
- VSCode: "Pull diagnostics on save" setting is not working HOT 2
- Re-think the way we locate nodes as targets and how addons declare the ones they are interested in.
- ASDF fails to start when using legacy_version_file
- Run Rspec Test on CodeLens is quite slow HOT 1
- Unable to autocomplete constant inside namespace due to Prism error
- Duplicate test actions HOT 4
- Include comments when dispatching listener events
- Handle manually invoked completion HOT 3
- Add some diagnostic logging for ruby-lsp HOT 1
- Slow vscode HOT 2
- Move 'Using a Custom Gemfile' to main README
- Change approach for Prism fixtures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-lsp.