vscode-todotasks
vscode-todotasks copied to clipboard
Restrict hotkeys to files using tasks syntax
After installing this plugin, I was unable to use the ctrl+enter
hotkey to insert a new line in any editor view. I think this plugin's hotkeys should be limited to files using the tasks syntax if possible.
This would also fix the issue in #10
@samuelmaddock Seems to me this is a full duplicate of #10, but in any case, I can't replicate the issue on VSCode 1.6.1, the command(insertLineAfter) is working properly after rebinding it in the keybinding.json
file.
vscode-todotasks version:
Version
0.4.0
Last updated
9/30/2016, 1:33:11 PM
This is both with and without having the alt+i
command rebound to task.new
.
Had the same issue.
This:
{
"command": "task.new",
"key": "Ctrl+Enter",
"mac": "Cmd+Enter",
"when": "editorTextFocus"
}
essentially the base "Cmd+Enter" shortcut on VSCode as the "when" condition is exactly the same. Please add the language filter to the extensions shortcut.
When I did #21, it fixed the keybindings to restrict them to only work if the language was set to todo (Tasks in the status bar). I noticed this fix wasn't working anymore - I applied it locally since 21 isn't approved. Removing the language restriction allowed the bindings to work again, and not interfering with other languages. Can anybody confirm? @Sandy081 can you comment if something changed on the backend?
Yep, it broke for me too... i had to disable this extension for now.
So after I posted, something changed because it broke again! I restarted VSC two times before posing
Broken for me too. VSC 1.17.1 here