You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the tab key only does autocompletion, and can't insert actual tabs.
However, a lot of the time, I have a large amount of text, such as code, in a here-string @''@, where I want to put indentation.
Adding indentation is most useful at the start of lines, where autocomplete can't happen anyway, so it would be useful to have tab insert an actual tab at the start of a line.
Alternatively, since here-strings don't allow autocompletion anyway, make tab always insert a tab character while in the middle of a here-string.
The text was updated successfully, but these errors were encountered:
If this is simply an ask to support pasting tabs, then it's a duplicate of #77 and is really part of a bigger issue captured in #579.
If you really want to insert explicit tabs, then we could follow how it's done in Emacs mode where you would type Ctrl+q first - that basically says insert the next character, whatever it might be, instead of invoking what it's bound to.
This function is not yet implemented in PSReadLine, but it would be the natural way to do this in Emacs mode, and I suppose it would be fine in Windows mode too.
Currently, the tab key only does autocompletion, and can't insert actual tabs.
However, a lot of the time, I have a large amount of text, such as code, in a here-string
@''@
, where I want to put indentation.Adding indentation is most useful at the start of lines, where autocomplete can't happen anyway, so it would be useful to have tab insert an actual tab at the start of a line.
Alternatively, since here-strings don't allow autocompletion anyway, make tab always insert a tab character while in the middle of a here-string.
The text was updated successfully, but these errors were encountered: