LifestyleStripe is open-sourcing the Sorbet (Ruby) VS Code Extension

Stripe is open-sourcing the Sorbet (Ruby) VS Code Extension

-

- Advertisment -

We’re excited to announce that Stripe’s VS Code extension for Sorbet is now
open source.
We’ve designed Sorbet to be used in editors from Day 1—For the past two years,
Sorbet has exposed a flag (--lsp) that starts Sorbet in
Language Server Protocol
(LSP) mode. In this mode, Sorbet can respond to many LSP requests, like Go To
Definition, Find All References, Autocomplete, and more.

With this release, we’re making it even easier to take advantage of these LSP
features when working with Sorbet in VS Code. We hope that this extension takes
some of the guess work out of how to configure and use Sorbet’s LSP mode.

Today’s release includes:

Showcase

- Advertisement -

The best way to experience the Sorbet extension for VS Code is to try it out
yourself. To entice you to try it out for yourself, here are some screen
recordings.

When there are errors in a file, Sorbet will underline them in red. It also
shows a list of all errors in VS Code’s “Problems” window.

Sorbet errors are shown with red squiggles in the editor. Hover to see the full message.

Sorbet responds with autocompletion results while typing, including a list of
possible methods and the documentation for that item, including its signature.

Autocompletion works for constants, methods, and variables

- Advertisement -

Sorbet can find all references of a constant, method, or variable throughout an
entire codebase:

… and having found all those references, it can even rename them automatically:

Acknowledgements

Finally, this release represents the work of many people over the last few
years, all of whom we’ve grateful for, including but not limited to:

  • Ainsley Escorce-Jones
  • Akshay Joshi
  • Andrew O’Neil
  • Anthony Pratti
  • Ariel Davis
  • Caleb Barde
  • Christopher Brown
  • Daniel Molina
  • Dmitry Petrashko
  • G. D. Ritter
  • Ilya Zheleznikov
  • Jacob Zimmerman
  • Joey Pereira
  • John Vilk
  • Jonathan Fung
  • Jérémie Laval
  • Kevin Miller
  • Lance Lafontaine
  • Manjiri Tapaswi
  • Mick Killianey
  • Nathaniel Roman
  • Nelson Elhage
  • Patrick Vilhena
  • Paul Tarjan
  • Penelope Phippen
  • Robb Shecter
  • Soam Vasani
  • Susan Tu
  • Sushain Cherivirala
  • Trevor Elliott
  • Ufuk Kayserilioglu
  • Vignesh Shankar

In particular, John Vilk has been instrumental in leading the development of the
Sorbet LSP server for the past several years. Thanks to him and all who have
contributed in the past!

- Advertisement -

As always, if you encounter issues or want to suggest features, file an issue
against
the Sorbet issue tracker
on GitHub, and if you want to come chat with us about Sorbet or the Sorbet VS
Code extension, join us on the Sorbet Slack.

Thanks!


— The Sorbet team

Join the pack! Join 8000+ others registered users, and get chat, make groups, post updates and make friends around the world!
www.knowasiak.com/register/
Read More

- Advertisement -

2 Comments

You might also likeRELATED
Recommended to you

Tecsun PL-368 AM/FM/LW/SW/SSB radio: An Everyman Review

By Robert Gulley I entitled this review an “Everyman” review because, while I am far from “normal” (just ask any...

Can 5G be used as surveillance radar? U.S. military funds Binghamton research

5G – the fifth-generation technology standard for broadband cellular networks — has been connecting millions of wireless devices since 2019, offering more pervasive connections, greater bandwidth and higher download speeds than its four predecessors. Two researchers from Binghamton University are researching another use for those ubiquitous signals in addition to watching cat videos and posting…

The QOI File Format Specification

— Monday, December 20th 2021 Last month I announced a toy project called QOI — the Quite OK Image Format. It losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression. With the help of countless passionate people on Github, we…

United Nuclear Spinthariscopes

Spinthariscopes- The World's Only Nuclear Powered Educational Toy - A fascinating learning tool.A Little History... Way back in 1903, Sir William...
- Advertisement -

Thich Nhat Hanh, Vietnamese Zen Master, Dies at 95

Thich Nhat Hanh at the Plum Village monastery in southern France | Courtesy Plum Village Community of Engaged Buddhism Vietnamese Zen Master Thich Nhat Hanh—a world-renowned spiritual leader, author, poet, and peace activist—died on January 22, 2022 at midnight (ICT) at his root temple, Tu Hien Temple, in Hue, Vietnam. He was 95. “Our beloved…

Before wave of train thefts, Union Pacific laid off some of its police force

News organizations both locally and nationally have been covering the rise of cargo theft in L.A.’s northeast train tracks in the past few days. Anchors on morning news have been quick to point out that there have been over 100 arrests, and even Forbes have been quick to point out the staggering $5 million worth…

Must read

Playing Opus Magnum by different rules

I’m far from the first person to write about Opus Magnum. It’s a genius game from 2017, made by the studio Zachtronics, in which you program machines to perform alchemy. However, I can just about guarantee that I am the first person to have played it in the following way. So it’s time to talk…

All Belarusian Banks Are Prepared for Disconnection from Swift

299.12.2021, 23:16 81,724They have been switched to the...
- Advertisement -