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 /editors | |
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 'editors')
0 files changed, 0 insertions, 0 deletions