DEV Community

Rajasekar Thangavel
Rajasekar Thangavel

Posted on

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)