//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
Well, I couldn't let it go, so I found a way 馃槂 github.com/Shopify/ruby...
8d
Motivation Zed doesn't support snippet syntax ($0) in document/onTypeFormatting responses, nor is it possible for its Ruby extension to implement it. Because the cursor position isn't right...
github.com
Support "on type formatting" in Zed by janko 路 Pull Request #4133 路 Shopify/ruby-lsp
Janko Marohni膰
It's disappointing that auto-insertion of "end" after typing "def foo<enter>" isn't implementable via LSP "on type formatting". Ruby LSP makes it work with VSCode, but it relies on snippet syntax to bring the cursor back inside the method body, which isn't in the spec. So, it doesn't work in Zed.