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
We should allow users to set both \n and \t as a value for any whitespace options. However, there are currently two problems:
\n is inserted as is, without the proper indent. It should be inserted always at the same level as the original line had.
\t is inserted as an actual tab indent, however it would make more sense to insert it as the current indent size set. This way we could use it to place code more intelligently, so to change the overall indents we could change only one option instead of every.
Those things are already done in most text editors, so users would wait them to work in this matter, however we could introduce an option disabling this behaviour, but it should be default for the reasons I provided above.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1519079-proper-n-and-t-in-whitespace-options?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
We should allow users to set both
\n
and\t
as a value for any whitespace options. However, there are currently two problems:\n
is inserted as is, without the proper indent. It should be inserted always at the same level as the original line had.\t
is inserted as an actual tab indent, however it would make more sense to insert it as the current indent size set. This way we could use it to place code more intelligently, so to change the overall indents we could change only one option instead of every.Those things are already done in most text editors, so users would wait them to work in this matter, however we could introduce an option disabling this behaviour, but it should be default for the reasons I provided above.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1519079-proper-n-and-t-in-whitespace-options?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: