Skip to content

Colors in Visual Code #1646

@tyler36

Description

@tyler36

Cmder works fine for me except colors are off in Visual Studio Code.

The prompt shows in color (green path with red git branch).
If I run, say PHP Code Sniffer, it out fine in the terminal window

W......W...........................W.... 40 / 40 (100%)

but displays the control codes(?) in VSCode

?[33mW?[0m......?[33mW?[0m...........................?[33mW?[0m.... 40 / 40 (100%)

My VSCode settings are:

    "terminal.integrated.cursorBlinking": false,
    "terminal.integrated.cursorStyle": "line",
    "terminal.integrated.fontFamily": "Consolas, 'Courier New', monospace",
    "terminal.integrated.fontSize": 12,
    "terminal.integrated.lineHeight": 1.4,
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    "terminal.integrated.shellArgs.windows": [
        "/k",
        "%CMDER_ROOT%\\vendor\\init.bat"
    ],

Any ideas?

OS: Win10
VSCode: 1.19.1 & 1.20.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions