adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.24k stars 7.62k forks source link

[cmv4] Indent/outdent within marquee selection #6877

Open redmunds opened 10 years ago

redmunds commented 10 years ago

In Visual Studio, you can marquee select some text and use Tab/Shift-Tab to indent/outdent within the selection.

But, I'm not sure if it makes sense with multiple-selection, so we should see how other editors handle this. The marquee selection case can be handled by using multiple-cursors, so this is not critical.

pthiess commented 10 years ago

@redmunds We might consider a preference for this since not everyone may want this. Low priority.

njx commented 10 years ago

Closing per discussion with @redmunds - it's not obvious that our current behavior is wrong and there are other ways to accomplish the same thing (drag-select a cursor instead of a rectangle, hit left arrow first to collapse the selection before hitting tab, etc.). Could revisit in future if other users feel the same way.

JeffryBooher commented 10 years ago

reopening due but not required for sprint 38

redmunds commented 10 years ago

I think this is related to #7416, so maybe a single preference to control both.

UPDATE: maybe not :) See this comment.