Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JupytagNew to Visual Studio Code? Get it now.
Jupytag

Jupytag

Ole Bialas

|
2 installs
| (1) | Free
Create keybindings for adding custom tags to cells
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jupytag

Quickly add custom tags to Jupyter notebook cells using keyboard shortcuts.

Features

  • Add custom tags to notebook cells with keyboard shortcuts
  • Configure your own tags via VSCode settings
  • Tags are saved to the .ipynb file metadata

Usage

Configure Custom Tags

  1. Open VSCode Settings (Ctrl+, or Cmd+,)
  2. Search for "jupytag"
  3. Edit the jupytag.tags setting
  4. Add your custom tags as an array of strings:
"jupytag.tags": [
    "solution",
    "quiet",
    "skip",
    "important",
    "todo"
]

Set Up Keyboard Shortcuts

This extension does not provide default keybindings to avoid conflicts. Set up your own:

  1. Open Keyboard Shortcuts (Ctrl+K Ctrl+S)
  2. Click the file icon in the top right to edit keybindings.json
  3. Add keybindings for your tags:

Example:

[
  {
    "key": "ctrl+shift+1",
    "command": "jupytag.add.solution",
    "when": "notebookEditorFocused"
  },
  {
    "key": "ctrl+shift+2",
    "command": "jupytag.add.quiet",
    "when": "notebookEditorFocused"
  },
  {
    "key": "ctrl+shift+3",
    "command": "jupytag.add.skip",
    "when": "notebookEditorFocused"
  }
]

Command format: jupytag.add.<normalized-tag-name>

The tag name is normalized by converting to lowercase and replacing special characters with hyphens:

  • "solution" → jupytag.add.solution
  • "my tag" → jupytag.add.my-tag
  • "TODO_Item" → jupytag.add.todo-item

Tip: You can also use the Command Palette (Ctrl+Shift+P) and search for "Jupytag" to run commands without keybindings.

Using with nbconvert

Tags can be used with Jupyter's nbconvert to control cell execution and output:

  • skip - Skip execution of this cell
  • remove_cell - Remove the entire cell from output
  • remove_input - Remove only the input from output
  • remove_output - Remove only the output from output

Extension Settings

This extension contributes the following settings:

  • jupytag.tags: Array of tag names to register commands for. Can be simple strings or objects with id, tag, and label properties.

Release Notes

0.0.1

Initial release:

  • Add custom tags to notebook cells
  • Configure custom tags via settings
  • Keyboard shortcut support
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft