vscode-todo-plus icon indicating copy to clipboard operation
vscode-todo-plus copied to clipboard

When move a task it loses indentation -> Projects won't be recognized as a project

Open alexwall opened this issue 6 years ago • 3 comments

Project: (2)
    ☐ task one
    ☐ task two

Set cursor on task two press Alt-up results in

Project:
☐ task two
    ☐ task one

The project is not recognized as a project. Also try to toggle Alt+up and Alt+down when cursor is on a task.

alexwall avatar Aug 25 '18 07:08 alexwall

This has been a problem since day one, I think this is mainly VSCode's fault, I've opened an issue about that https://github.com/Microsoft/vscode/issues/57197.

fabiospampinato avatar Aug 25 '18 13:08 fabiospampinato

The problem is gone by setting Editor: Auto indent to Advanced instead of Full

nicola-zanardi avatar Aug 11 '20 06:08 nicola-zanardi

I think more could be done here to handle this though. Like when I move a line down, perhaps it could identify if the lines below it were more indented (nested), and then move them along with it. This is the sort of behavior I love in workflowy.com, but I'd prefer to stay in VS Code.

bobspryn avatar Oct 23 '23 17:10 bobspryn