Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Re-open a cancelled task by pressing Alt+c #26

Open
hauntedhost opened this issue May 5, 2017 · 1 comment
Open

[Feat] Re-open a cancelled task by pressing Alt+c #26

hauntedhost opened this issue May 5, 2017 · 1 comment

Comments

@hauntedhost
Copy link

Would be nice to re-open a cancelled task by pressing same cancel hotkey, to mirror existing complete/re-open functionality.

@carpet92
Copy link

carpet92 commented Aug 17, 2017

Thanks to @rocketBANG :

@somlor since PR not merged for now to make it work you can open .vscode/extensions/sandy081.todotasks-0.5.0/out/src/TodoDocumentEditor.js and replace:

if (task.isCancelled()) {
    return;
}

with:

if (task.isCancelled()) {
    this.updateTask(task.taskLine, task.getDescription(), TodoDocument_1.TodoDocument.SYMBOL_NEW_TASK);
    return;
}

Then restart VSCode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants