Selecting Columns in VS Code
Does VS Code support selecting columns of text? I have not yet found this feature so I am wondering if it is hidden somewhere. I am familiar with holding down Alt while selecting text but VS Code does not behave this way.
visual-studio-code
|
show 2 more comments
Does VS Code support selecting columns of text? I have not yet found this feature so I am wondering if it is hidden somewhere. I am familiar with holding down Alt while selecting text but VS Code does not behave this way.
visual-studio-code
8
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
4
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
3
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20
|
show 2 more comments
Does VS Code support selecting columns of text? I have not yet found this feature so I am wondering if it is hidden somewhere. I am familiar with holding down Alt while selecting text but VS Code does not behave this way.
visual-studio-code
Does VS Code support selecting columns of text? I have not yet found this feature so I am wondering if it is hidden somewhere. I am familiar with holding down Alt while selecting text but VS Code does not behave this way.
visual-studio-code
visual-studio-code
asked Mar 14 '16 at 17:58
ChiliYago
94031119
94031119
8
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
4
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
3
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20
|
show 2 more comments
8
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
4
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
3
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20
8
8
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
4
4
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
3
3
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20
|
show 2 more comments
5 Answers
5
active
oldest
votes
In Visual Studio Code version 1.0, you can now select columns by holding down Shift+Alt, then click and drag with the mouse. This can also be done using just the keyboard by holding down Ctrl+Shift+Alt and then using the arrow keys.
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
@SteveFile > Preferences > Keyboard Shortcuts
. Then search forcursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note,columnSelect
is what you would need to change forShift
+Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.
– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use RightShift
,Alt
,Ctrl
as Left did not work.
– ThatsAMorais
May 11 '18 at 20:11
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
|
show 4 more comments
On macOS:
Shift+Option and mouse, or
Shift+Option+Cmd and arrow keys
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
add a comment |
I just published an extension for Visual Studio Code that converts a multi-line selection into a column selection. It mimics TextMate's Toggle Column Selection
command and serves as an alternate approach to VSCode's commandoptionshift + arrow keys that I find more natural to work with.
add a comment |
As of VSCode 1.2 they have full column selection, see https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
add a comment |
On a Mac, to use only the keyboard, I just had to use Cmd+Shift+Opt and then arrow keys.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1052795%2fselecting-columns-in-vs-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
In Visual Studio Code version 1.0, you can now select columns by holding down Shift+Alt, then click and drag with the mouse. This can also be done using just the keyboard by holding down Ctrl+Shift+Alt and then using the arrow keys.
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
@SteveFile > Preferences > Keyboard Shortcuts
. Then search forcursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note,columnSelect
is what you would need to change forShift
+Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.
– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use RightShift
,Alt
,Ctrl
as Left did not work.
– ThatsAMorais
May 11 '18 at 20:11
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
|
show 4 more comments
In Visual Studio Code version 1.0, you can now select columns by holding down Shift+Alt, then click and drag with the mouse. This can also be done using just the keyboard by holding down Ctrl+Shift+Alt and then using the arrow keys.
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
@SteveFile > Preferences > Keyboard Shortcuts
. Then search forcursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note,columnSelect
is what you would need to change forShift
+Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.
– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use RightShift
,Alt
,Ctrl
as Left did not work.
– ThatsAMorais
May 11 '18 at 20:11
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
|
show 4 more comments
In Visual Studio Code version 1.0, you can now select columns by holding down Shift+Alt, then click and drag with the mouse. This can also be done using just the keyboard by holding down Ctrl+Shift+Alt and then using the arrow keys.
In Visual Studio Code version 1.0, you can now select columns by holding down Shift+Alt, then click and drag with the mouse. This can also be done using just the keyboard by holding down Ctrl+Shift+Alt and then using the arrow keys.
edited Jan 26 '17 at 19:09
SliverNinja - MSFT
1588
1588
answered Jun 10 '16 at 15:48
tayopi
2,07311012
2,07311012
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
@SteveFile > Preferences > Keyboard Shortcuts
. Then search forcursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note,columnSelect
is what you would need to change forShift
+Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.
– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use RightShift
,Alt
,Ctrl
as Left did not work.
– ThatsAMorais
May 11 '18 at 20:11
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
|
show 4 more comments
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
@SteveFile > Preferences > Keyboard Shortcuts
. Then search forcursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note,columnSelect
is what you would need to change forShift
+Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.
– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use RightShift
,Alt
,Ctrl
as Left did not work.
– ThatsAMorais
May 11 '18 at 20:11
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
20
20
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
It's really "click, shift+alt+drag". Much less convenient than VS classic's "alt+drag". Is there any way to make VS Code work exactly like VS?
– Steve
Feb 1 '18 at 19:59
8
8
@Steve
File > Preferences > Keyboard Shortcuts
. Then search for cursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note, columnSelect
is what you would need to change for Shift
+ Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.– tom_mai78101
Apr 29 '18 at 23:58
@Steve
File > Preferences > Keyboard Shortcuts
. Then search for cursorColumnSelect
, then you can modify the keyboard shortcuts. This is done on VS Code, version 1.22. Of note, columnSelect
is what you would need to change for Shift
+ Alt
+ Drag, but right now, there's no way to register a mouse button down event in Electron.– tom_mai78101
Apr 29 '18 at 23:58
On OS X I had to use Right
Shift
, Alt
, Ctrl
as Left did not work.– ThatsAMorais
May 11 '18 at 20:11
On OS X I had to use Right
Shift
, Alt
, Ctrl
as Left did not work.– ThatsAMorais
May 11 '18 at 20:11
1
1
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
This not a column select by the definition of any editor that's ever had column select. VSCode doesn't put columns through virtual space making it useless since it's not actually a column. Compare actual column select to VSCode's strange not really column select
– gman
Aug 15 '18 at 2:08
1
1
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
@FranklinYu, visual studio (not vscode), emacs, intelli-j, notepad++, slickedit, and lots more... Been using real column editing since at least brief in the late 80s. Not saying that's the first, just that's when I started using and needed the feature and find that editors that are missing it hinder me.
– gman
Sep 18 '18 at 5:45
|
show 4 more comments
On macOS:
Shift+Option and mouse, or
Shift+Option+Cmd and arrow keys
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
add a comment |
On macOS:
Shift+Option and mouse, or
Shift+Option+Cmd and arrow keys
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
add a comment |
On macOS:
Shift+Option and mouse, or
Shift+Option+Cmd and arrow keys
On macOS:
Shift+Option and mouse, or
Shift+Option+Cmd and arrow keys
edited Mar 21 '18 at 15:19
Run5k
10.8k72850
10.8k72850
answered Jan 16 '17 at 18:28
DrStrangepork
638510
638510
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
add a comment |
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
1
1
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
For me it is Shift+Cmd and mouse. Maybe it has changed?
– Lars Nyström
Feb 13 '18 at 9:01
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
It does appear to be Shift+Cmd on my 1.18.1 version as well. Updated my answer.
– DrStrangepork
Feb 20 '18 at 17:58
1
1
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
Please update the answer as it is now Shift+Cmd on OSX.
– Kevin Farrugia
Sep 26 '18 at 7:56
1
1
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
It has not changed. Yours is Shift+Cmd because you chose "Selection > Switch to Cmd+Click for Multi-Cursor"
– Eric
Oct 30 '18 at 22:13
add a comment |
I just published an extension for Visual Studio Code that converts a multi-line selection into a column selection. It mimics TextMate's Toggle Column Selection
command and serves as an alternate approach to VSCode's commandoptionshift + arrow keys that I find more natural to work with.
add a comment |
I just published an extension for Visual Studio Code that converts a multi-line selection into a column selection. It mimics TextMate's Toggle Column Selection
command and serves as an alternate approach to VSCode's commandoptionshift + arrow keys that I find more natural to work with.
add a comment |
I just published an extension for Visual Studio Code that converts a multi-line selection into a column selection. It mimics TextMate's Toggle Column Selection
command and serves as an alternate approach to VSCode's commandoptionshift + arrow keys that I find more natural to work with.
I just published an extension for Visual Studio Code that converts a multi-line selection into a column selection. It mimics TextMate's Toggle Column Selection
command and serves as an alternate approach to VSCode's commandoptionshift + arrow keys that I find more natural to work with.
answered Oct 29 '17 at 2:25
Erik P. Hansen
8111
8111
add a comment |
add a comment |
As of VSCode 1.2 they have full column selection, see https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
add a comment |
As of VSCode 1.2 they have full column selection, see https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
add a comment |
As of VSCode 1.2 they have full column selection, see https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
As of VSCode 1.2 they have full column selection, see https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
answered Dec 5 '18 at 20:22
Steve
224149
224149
add a comment |
add a comment |
On a Mac, to use only the keyboard, I just had to use Cmd+Shift+Opt and then arrow keys.
add a comment |
On a Mac, to use only the keyboard, I just had to use Cmd+Shift+Opt and then arrow keys.
add a comment |
On a Mac, to use only the keyboard, I just had to use Cmd+Shift+Opt and then arrow keys.
On a Mac, to use only the keyboard, I just had to use Cmd+Shift+Opt and then arrow keys.
answered Dec 8 '18 at 19:20
kidbrax
1012
1012
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1052795%2fselecting-columns-in-vs-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
8
It sure is. Hold down the Alt key and select a column of text. It has been there for as long as I can remember.
– ChiliYago
Mar 14 '16 at 18:20
4
15 years of daily use of Visual Studio, and I never once used that keyboard shortcut, go figure. Anyways....Visual Studio Code is based on a different editor (Atom), so if there are no options to enable this feature, then the shortcut does not exist.
– Ramhound
Mar 14 '16 at 18:25
0.10.11 doesn't select a column of text for me. Was looking for the feature also.
– slestak
Mar 16 '16 at 19:56
Looks like there is some work on it though. github.com/Microsoft/vscode/issues/4092
– slestak
Mar 16 '16 at 20:02
3
From April 2018 (version 1.23), we can use middle mouse button to select multiple columns. code.visualstudio.com/updates/…
– blueray
May 28 '18 at 3:20