Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-101338: Single-keystroke "surround with braces"

$
0
0
Reporter Joe White (joewhite) Joe White (joewhite)
Created Mar 31, 2009 12:52:36 AM
Updated Apr 13, 2018 3:26:19 PM
Resolved Nov 17, 2017 5:52:26 PM
Subsystem Typing Assistance
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Fixed
Type Feature
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper 2017.3 EAP 6
VsVersion All Versions
Surrounding a block of code with curly braces is a very common operation in C#. It deserves a single keystroke. (Ctrl+Alt+J 7 is pretty cumbersome, and isn't necessarily consistent across computers.)

I propose adding a ReSharper feature where, when there's a selection and I type an open curly brace, ReSharper surrounds the selected code with braces (instead of deleting the selection and replacing it with an open-curly character).

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>