aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-27 14:22:09 +0100
committerGitHub <[email protected]>2021-04-27 14:22:09 +0100
commite2b87735cc4b54ca530e7a99070da585d480b1c3 (patch)
tree8e58c3165a70279e545f5131de164eda059b179d /editors
parent86b50849179f710dad5b0c48535d064425863247 (diff)
parentc38e3e9ee991078163abf88f19a1d1438ba91ee3 (diff)
parent1c927650f76ef3207635922a73016685f9aa8186 (diff)
Merge #8629 #8657
8629: Allow pressing | to surround closure arguments in VSCode r=matklad a=Smittyvb This makes pressing <kbd>|</kbd> while some text is selected surround that text with pipes. This is useful when writing closures. In this demo, I press <kbd>|</kbd> to easily surround some text (`predicate`) with pipe characters to create a closure. Before, this would have replaced `predicate` with just `|`. ![](https://user-images.githubusercontent.com/10530973/115778847-3c257e00-a385-11eb-8c80-e0db970747db.gif) (I am getting failures when I do `cargo test` even on `master` locally (due to #8585 I think), but GH Actions is fine with this) 8657: npm update r=matklad a=kjeremy Co-authored-by: Smittyvb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>