Changelog
0.30.0
b247e88: Adds multi-cursor support.
The keyboard shortcuts added in the previous version (swap/duplicate line up/down) now support multiple cursors being on screen. "Select next occurrence" and "add cursor up/down" have also been implemented.
| Keybinding | Action | | -------------------------------------------------------------- | ----------------------- | | <kbd><kbd>Alt</kbd> + <kbd>Up</kbd></kbd> | Swap line up | | <kbd><kbd>Alt</kbd> + <kbd>Down</kbd></kbd> | Swap line down | | <kbd><kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>Up</kbd></kbd> | Duplicate line up | | <kbd><kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>Down</kbd></kbd> | Duplicate line down | | <kbd><kbd>Cmd</kbd> + <kbd>Alt</kbd> + <kbd>Up</kbd></kbd> | Add cursor to prev line | | <kbd><kbd>Cmd</kbd> + <kbd>Alt</kbd> + <kbd>Down</kbd></kbd> | Add cursor to next line | | <kbd><kbd>Cmd</kbd> + <kbd>D</kbd></kbd> | Select next occurrence |
Changelog
0.28.2
8030325: Update all dependencies
8030325: Fix error message on gutter marker tooltip
Playroom wraps the code in a Fragment to compile it and then removes it from the error message displayed as a tooltip on the gutter marker if it fails to compile.
The logic has been improved to remove the first occurence of an opening <React.Fragment>
and the last occurence of </React.Fragment>
.
Errors should no longer incorrectly have a stray closing fragment:
"unknown: Expected corresponding JSX closing tag for <Boxerror>. (3:0)
1 | <Boxerror>
2 | ...
-> 3 | </Box></React.Fragment>
+> 3 | </Box>
| ^"
cbcf1cf: Update dependencies (and move to pnpm internally)