Volver al ranking

shalldie/vscode-background

TypeScriptmarketplace.visualstudio.com/items

Bring background images to your vscode. vscode background 背景扩展插件。

vscodevscode-backgroundbackgroundvscode-extensionextensiton
Crecimiento de estrellas
Estrellas
1.9k
Forks
162
Crecimiento semanal
Issues
4
5001k1.5k
may 2016sept 2019feb 2023jul 2026
Artefactosnpmnpm install vscode-background
README

English | 中文 | 日本語

logo

vscode-background

Bring background images to your Visual Studio Code

fullscreeneditorsidebarauxiliarybarpanelcarouselcustom images/styles...

GitHub | Visual Studio Marketplace

Version Stars Build Status License

Multiple sections, editorsidebarauxiliarybarpanel

fullscreen

Installation

There are 2 ways to install this extension:

  1. Install from Visual Studio Marketplace.
  2. Search shalldie.background from vscode.

Custom

User defined requirements can be met by changing the configuration(settings.json).

what's settings.json | where?

Config

Global Config

Name Type Default Description
background.enabled Boolean true Whether to enable background extension.

Editor Section Config

Edit background.editor to config editor section.

Name Type Default Description
useFront boolean true Place the image above or below the code.
style object {} Custom style for images. MDN Reference
styles object[] [{},{},{}] Each style of editor section image.
images string[] [] Custom images, supports online and local images, as well as folders.
interval number 0 Seconds of interval for carousel, default 0 to disabled.
random boolean false Whether to randomly display images.

example:

{
  "background.editor": {
    "useFront": true,
    "style": {
      "background-position": "100% 100%",
      "background-size": "auto",
      "opacity": 0.6
    },
    "styles": [{}, {}, {}],
    // `images` supports online and local images, as well as folders.
    "images": [
      // online images, only `https` is allowed.
      "https://hostname/online.jpg",
      // local images
      "file:///local/path/img.jpeg",
      "/home/xie/downloads/img.gif",
      "C:/Users/xie/img.bmp",
      "D:\\downloads\\images\\img.webp",
      // local folders
      "/home/xie/images",
      // data URL
      "data:image/*;base64,<base64-data>"
    ],
    "interval": 0,
    "random": false
  }
}

Fullscreen、Sidebar、Auxiliarybar、Panel Section Config

Edit background.fullscreenbackground.sidebarbackground.auxiliarybarbackground.panel to config these sections.

Name Type Default Description
images string[] [] Custom images, supports online and local images, as well as folders.
opacity number 0.1 Opacity of the images, alias to opacity, 0.1 ~ 0.3 recommended.
size string cover Alias to background-size, cover to self-adaption (recommended).
position string center Alias to background-position, default center.
interval number 0 Seconds of interval for carousel, default 0 to disabled.
random boolean false Whether to randomly display images.

example:

{
  "background.fullscreen": {
    // `images` supports online and local images, as well as folders.
    "images": [
      // online images, only `https` is allowed.
      "https://hostname/online.jpg",
      // local images
      "file:///local/path/img.jpeg",
      "/home/xie/downloads/img.gif",
      "C:/Users/xie/img.bmp",
      "D:\\downloads\\images\\img.webp",
      // local folders
      "/home/xie/images",
      // data URL
      "data:image/*;base64,<base64-data>"
    ],
    "opacity": 0.1,
    "size": "cover",
    "position": "center",
    "interval": 0,
    "random": false
  },
  // `sidebar` and `panel` have the same config as `fullscreen`
  "background.sidebar": {},
  "background.panel": {}
}

Quick Command

Click the 「Background」 button on the right-bottom of statusbar, all commands of background will appear:

Common Issues

This extension works by editting the vscode's html file.

Please refer to the Common Issues if you met some problems.

Uninstall

Please refer to Common Issues#how-to-uninstall.

Contributors 🙏

shalldie suiyun39 frg2089 AzureeDev tumit asurinsaka u3u kuresaru Unthrottled rogeraabbccdd rogeraabbccdd

Contributing Guide

Refer to Contributing Guide.

Change Log

You can checkout all our changes in our CHANGELOG.

Share Your Images

We share background images here.

Migration from v1

The configuration of v1 is outdated and currently maintains a certain level of compatibility. Please refer to migration-from-v1.md for migration.

LICENSE

MIT

Repositorios relacionados
x1xhlol/system-prompts-and-models-of-ai-tools

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Models

GNU General Public License v3.0aicursor
142.2k34.8k
coder/code-server

VS Code in the browser

TypeScriptnpmMIT Licensevscodevscode-remote
coder.com
78.5k6.8k
microsoft/monaco-editor

A browser based code editor

JavaScriptnpmMIT Licensemonaco-editorvscode
microsoft.github.io/monaco-editor/
46.4k4.1k
VSCodium/vscodium

binary releases of VS Code without MS branding/telemetry/licensing

ShellMIT Licensevscodeopen-source-licensing
vscodium.com
32.5k1.8k
viatsko/awesome-vscode

🎨 A curated list of delightful VS Code packages and resources.

JavaScriptnpmCreative Commons Zero v1.0 Universalvisual-studiovscode
viatsko.github.io/awesome-vscode/
28.9k1.4k
voideditor/void

TypeScriptnpmApache License 2.0cursoreditor
voideditor.com
28.9k2.6k
NvChad/NvChad

Blazing fast Neovim framework providing solid defaults and a beautiful UI, enhancing your neovim experience.

LuaGNU General Public License v3.0nvimneovim
nvchad.com
28.4k2.2k
Kilo-Org/kilocode

Kilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular open source coding agent.

TypeScriptnpmMIT Licenseai-codingvscode
kilo.ai
26.4k3k
conwnet/github1s

One second to read GitHub code with VS Code.

TypeScriptnpmMIT Licensehacktoberfestvscode
github1s.com
23.3k908
LunarVim/LunarVim

🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

LuaGNU General Public License v3.0neovimvim
lunarvim.org
19.3k1.5k
datawhalechina/easy-vibe

💻 vibe coding 2026 | Your First Modern Coding course beginners to master step by step.

JavaScriptnpmaicourse
datawhalechina.github.io/easy-vibe/
18.4k1.8k
foambubble/foam

A personal knowledge management and sharing system for VSCode

TypeScriptnpmOthergraph-visualisationmarkdown
foam.md
17.3k772