Monokai / monokai-pro-vscode

Issue tracking for Monokai Pro for Visual Studio Code
321 stars 8 forks source link

Enabling Monokai Pro in Restricted Mode #264

Closed BasixKOR closed 2 years ago

BasixKOR commented 2 years ago

VS Code introduced restricted mode to disable certain features while working on untrusted codebase. However Monokai Pro is disabled even though it is merely a theme.

soimon commented 2 years ago

In the meantime you can add this snippet to your settings.json to force the extension to function in restricted mode.

"extensions.supportUntrustedWorkspaces": {
    "monokai.theme-monokai-pro-vscode": {
        "supported": true
    }
}

Could be a tricky move, but I'm also assuming the extension is merely a theme and does not execute any workspace code.

Monokai commented 2 years ago

I've added this per the instructions of VSCode to package.json in 1.1.20. Should be fixed now.