View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019142||2.1 IDE Bugs||[2.x IDE Bugs] Code Editor||Public||2015-11-02 15:00||2018-05-09 13:17|
|Reporter||Stewart Bishop||Assigned To||Alan Savage|
|Fixed in Version|
|Summary||0019142: Suggestion: Code Editor: Shift + Tab should decrease the indent at the cursor position|
|Description||Shift + Tab has differing behaviour depending on which code editor you are using:|
Visual Studio will decrease the indent from where the cursor currently is.
Notepad++ will decrease the cursor for the indent size but not actually remove any text
Sublime will remove the white space at the start of the line if unindent is not enabled in the options
Our code editor trims the white space at the start of the line even if there is a valid amount of text selected which could be unindented.
I'd like it so we go with how Visual Studio does the behaviour of Shift + Tab or at least provide an option like Sublime does in that you can have it so the behaviour to be either trim the white space or unindent depending on your preference or both depending on if you have text selected and there are no indents on that line.
|Steps To Reproduce||1) Enable white space in the code editor preferences|
2) Create a script
3) Add an indent to the start of a line
4) Type some text, adding tabs in between
5) Press Shift + Tab to see that it will trim the white space
6) Undo the above action and select an intend and press Shift + Tab and see that it will also trim the white space rather than the selected indent
|2.x IDE Found In|
|2.x Runtime Found In|
|2.x IDE Verified In||0.0.|
|2.x Runtime Verified In|