aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_text_edit
diff options
context:
space:
mode:
authorVille Penttinen <[email protected]>2019-02-07 18:00:58 +0000
committerVille Penttinen <[email protected]>2019-02-07 18:34:33 +0000
commit6cbf83c9462b993f2fa5b3c4334dd469c182c8af (patch)
treeac6bc4ebc0638cbf1b8aa44fddd3bbfd64a75eeb /crates/ra_text_edit
parentd0fd05142f45fb69a9dc64bfd55d2453b1927b9c (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_text_edit')
0 files changed, 0 insertions, 0 deletions