5

Does Visual Studio have a way of joining lines?

I want the same functionality that Ctrl+J provides in Sublime Text

3

2 Answers 2

1

No, it does not -- I'd love to know why.

This extension adds such support.

1

Tools -> Options -> Environment -> Keyboad -> Edit.JoinLines

Assign your new shortcut if none set (can choose the "Use new shortcut in:" to be set to "Text Editor") to configure context where we want to use the shortcut

JoinLines keyboard shortcut snapshot

P.S.: Remember to ensure any extension is not overriding the mapping (e.g. Resharper)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.