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

twlight

孤狼

|
67 installs
| (0) | Free
Dim code outside the current block
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

twlight for vscode

VSCode extension to dim code outside the current block.

Usage:

  • invoke from command panel. eg. Toggle ZenMode with twlight

  • use keybind, eg.

      {
        "key": "ctrl+z",
        "command": "twlight.toggleZenMode",
      }
    

Feature (available command):

  • use in normal way

    command: Toggle Twlight

    commandId: twlight.toggle

    image-20210723194630535

  • use with zen mode

    command: Toggle ZenMode with twlight

    commandId: twlight.toggleZenMode

    Recommend use this command to replace build in zen mode.

    image-20210723195100950

Configuration:

  • twlight.opacity:

    The opcaity used to dim the code outside the current block, range from 0 to 1.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft