diff options
author | Ville Penttinen <[email protected]> | 2019-02-07 18:00:58 +0000 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-02-07 18:34:33 +0000 |
commit | 6cbf83c9462b993f2fa5b3c4334dd469c182c8af (patch) | |
tree | ac6bc4ebc0638cbf1b8aa44fddd3bbfd64a75eeb /crates/ra_ide_api/src/snapshots | |
parent | d0fd05142f45fb69a9dc64bfd55d2453b1927b9c (diff) |
Add new assist to remove dbg!() calls
This fixes #758.
Currently we try to maintain the cursor position relative to the statement under
cursor, if the cursor is inside the dbg! macro call.
Meaning:
let foo = dbg!(some.complex<|>().expression());
Should turn into:
let foo = some.complex<|>().expression();
With the cursor staying in place.
Diffstat (limited to 'crates/ra_ide_api/src/snapshots')
0 files changed, 0 insertions, 0 deletions