DEV Community

Rajasekar Thangavel
Rajasekar Thangavel

Posted on

3 1

Create color console in vscode snippets

Step 1: ctrl + p -> configure user snippets and select Javascript.json & Javascriptreact.json

{
    "color console" : {
        "prefix": "colorconsole",
        "body": [
            "console.log('%c Oh my heavens! ', 'background: #222; color: #bada55', );"
        ],
        "description": "color console"
    }
}
Enter fullscreen mode Exit fullscreen mode

Step 2: Then in vscode setting

Image description

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay