VSCode TodoistTrack and sync your development todos with Todoist, right in VSCode! Features & UsageEach command has a global user, workspace, and parameterized version. Both the global user and workspace commands will use the Todoist project set in your This VSCode extension adds several commands to the command palette: Todoist Capture [Workspace]Default Keybinding alt+t c. Pop open an input box to capture a todo for your current project. If you have a text selection made when this is invoked, it will pre-populate the input field with a link to your current file and line number, for easy deep linking from the Todoist desktop app. Todoist Todos [Workspace]Default Keybinding alt+t t. Shows all the incomplete todos in your current Todoist project. Selecting an item will toggle its completeness. Press Esc to dismiss the list. Todoist Open [Workspace]Default Keybinding alt+t o. If you have the Todoist desktop app installed, this will open or switch to the Todoist app and select your current project. Todoist Capture [Global]Default Keybinding alt+t C. Pop open an input box to capture a todo for your global user project. If you have a text selection made when this is invoked, it will pre-populate the input field with a link to your current file and line number, for easy deep linking from the Todoist desktop app. Todoist Todos [Global]Default Keybinding alt+t T. Shows all the incomplete todos in for your global user project. Selecting an item will toggle its completeness. Press Esc to dismiss the list. Todoist Open [Global]Default Keybinding alt+t O. If you have the Todoist desktop app installed, this will open or switch to the Todoist app and select your global user project. Todoist Capture [Id]No default keybinding. Pop open an input box to capture a todo for the chosen Todoist project. If you have a text selection made when this is invoked, it will pre-populate the input field with a link to your current file and line number, for easy deep linking from the Todoist desktop app. Todoist Todos [Id]No default keybinding. Shows all the incomplete todos in the chosen Todoist project. Selecting an item will toggle its completeness. Press Esc to dismiss the list. Todoist Open [Id]No default keybinding. If you have the Todoist desktop app installed, this will open or switch to the Todoist app and select your chosen project. Configuring Custom Project ShortcutsYou can configure multiple shortcuts to help you open, list, and capture todos for your Todoist projects. To do this, you will need to add a keybinding for each shortcut you want to use. For example, to add a shortcut for a project with the id
The commands you can use are:
For more information on how to configure keybindings, see the VSCode documentation. Requirements & InstallationObviously this requires a Todoist account. To use "Todoist Open" and take advantage of the deep linking feature, you will also need the Todoist desktop app. To install this extension, you can get it from VSCode store or open the command palette and enter:
Finally, run any extension command from the command palette and you will be prompted to enter your Todoist API token, which can be found here. You may set Project Goals & Motivation
Known IssuesI have not yet tested on any platforms other than macOS. Ideas for improvement and patches are welcome! |