Closed jscheid closed 3 years ago
The Ruby plugin's support for formatWithCursor is buggy but even if it wasn't crashing, it's apparently implemented as a no-op. We're better off just relying on the character-level diff to keep the cursor in place.
formatWithCursor
Going to solve this with a different angle, as I've recently discovered that formatWithCursor is broken with built-in parsers: https://github.com/prettier/prettier/issues/4801
The Ruby plugin's support for
formatWithCursor
is buggy but even if it wasn't crashing, it's apparently implemented as a no-op. We're better off just relying on the character-level diff to keep the cursor in place.