be5invis / vscode-custom-css

Custom CSS Plugin for Visual Studio Code. Based on vscode-icon
MIT License
868 stars 64 forks source link

[Extension Host] Failed to load message bundle for file #177

Closed francesco-plt closed 1 year ago

francesco-plt commented 1 year ago

I cannot get the extension to work. I just installed applied some simple customizations, but each time I run the command to enable custom CSS, vscode reboots itself but my changes are not visible. I'm on vscode 1.74.2, and more specifically I create a file at $HOME/.vscode/custom.css with the following content:

footer#workbench.parts.statusbar {
    height: 26px !important;
}

And I added the following to the settings.json of vscode:

"vscode_custom_css.imports": ["file:///$HOME/.vscode/custom.css"]

I also tried by adding "vscode_custom_css.staging_dir": "file:///Users/francesco/.vscode/custom.css" instead, but I get the same result.

francesco-plt commented 1 year ago

Fixed it. I just needed to take ownership on Visual Studio Code's installation directory, via the following commands:

$ sudo chown -R $(whoami) $(which code)
$ sudo chown -R $(whoami) /opt/homebrew/bin/code