I am playing with Atom and I really like how I can select an expression and press Shift+9
to insert (
and )
outside it. This is convenient for Haskell and I would like the same for F#. Is there a shortcut for this?
Go To Line dialog box To access this dialog box, open a document for editing, and then select Edit > Go To > Go To Line or press Ctrl+G.
This is an in-built option in Visual Studio 2017. Go to Tools
-> Options
-> C / C++
-> Advanced
, then navigate within the options dialog as shown on the screenshot below.
Set the Enable Surround with Parentheses
option to True
.
This works for C++, but the process ought to be similar for other languages.
Once you click OK
, you should be able to automatically insert parentheses around any selected text by typing only the first (
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With