Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PhP Block Background colorNew to Visual Studio Code? Get it now.
PhP Block Background color

PhP Block Background color

Emil Hrisca

|
36 installs
| (0) | Free
This extension helps the user to customize the php block of code in html to hightlight with different color
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Space Background Extension 🔹 What does this extension do? ✅ Adds a custom setting: "spaceBackground.backgroundColor". ✅ The default value is "rgba(255, 0, 0, 0.2)" (transparent red), but you can change it in VS Code settings. ✅ Highlights PHP code blocks with the selected background color.

Activate command : CTRL + SHIFP + P ">Activate PHP Background"

🎨 How to customize the background color? Open VS Code settings (JSON): Press Ctrl + Shift + P → Search for "Preferences: Open Settings (JSON)". Add or modify this setting:

"spaceBackground.backgroundColor": "rgba(0, 255, 0, 0.3)"

This will set a transparent green background. 🚀 How to use? The extension automatically applies the background color to PHP code blocks. You can change the color anytime in settings.json. Enjoy coding! 😊

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