Skip to content

Commit adf28bd

Browse files
authored
Add Sorbet troubleshooting note (#2871)
1 parent 592495e commit adf28bd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jekyll/troubleshooting.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ that prevents it from responding to new requests coming from the editor. If you
119119
report [here](https://github.com/Shopify/ruby-lsp/issues/new?labels=bug&template=bug_template.yml) including the
120120
steps that led to the server getting stuck.
121121

122+
### Missing Features
123+
124+
If you find that some features are working (such as formatting), but others aren't (such as go to definition),
125+
and are working on a codebase that uses Sorbet, then this may indicate the
126+
[Sorbet LSP isn't running](https://sorbet.org/docs/lsp#instructions-for-specific-language-clients).
127+
To avoid duplicate/conflicting behavior, Ruby LSP disables some features when a Sorbet codebase is detected, with the
128+
intention that Sorbet can provide better accuracy.
129+
122130
### Gem installation locations and permissions
123131

124132
To launch the Ruby LSP server, the `ruby-lsp` gem must be installed. And in order to automatically index your project's

0 commit comments

Comments
 (0)