Create color console in vscode snippets

ktrajasekar

Rajasekar Thangavel

Posted on March 25, 2022

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

💖 💪 🙅 🚩
ktrajasekar
Rajasekar Thangavel

Posted on March 25, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related