be5invis / vscode-custom-css

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

Custom CSS and JS Loader not working in vscode v1.92 #216

Closed yashkhatri-minddeft closed 3 months ago

yashkhatri-minddeft commented 3 months ago

The plugin was working fine until I updated my vscode to version 1.92. Now any of my custom CSS or JS are not being applied.

yashkhatri-minddeft commented 3 months ago

I have done everything, re-enable plugin, re-installed plugin. But still it's not working. Seeking for help.

be5invis commented 3 months ago

Are there error messages shown in the console (Help → Toggle Developer Tools)?

be5invis commented 3 months ago

When I was testing locally it works completely fine. You need administrator / root permission when enabling custom CSS and JS, because this plugin need to MODIFY VSCODE ITSELF. Also if Code is installed in a read-only volume, it will also fail.

yashkhatri-minddeft commented 3 months ago

Are there error messages shown in the console (Help → Toggle Developer Tools)?

There is only one error in console which is "View has not been initialized after retrying for 5 seconds.".

yashkhatri-minddeft commented 3 months ago

When I was testing locally it works completely fine. You need administrator / root permission when enabling custom CSS and JS, because this plugin need to MODIFY VSCODE ITSELF. Also if Code is installed in a read-only volume, it will also fail.

I have given the permissions of root to vscode already. Do I have to give that again?

be5invis commented 3 months ago

You need to run VSCode in admin/elevated/root permission and run "enable custom CSS/JS", so it get the ability to modify itself.

yashkhatri-minddeft commented 3 months ago

I changed permission of code directory which is located in /use/share/code, to Create and delete files in root group, and it worked fine. Thanks for the help @be5invis. I am closing this issue as completed.

dongkyun-dev commented 2 months ago

@be5invis @yashkhatri-minddeft How it works???? Custom CSS and JS Loader not works in vscode@1.92. The plugin was working fine until update to 1.92. I don't have /usr/share/code

dongkyun-dev commented 2 months ago

CleanShot 2024-08-19 at 11 44 18@2x

log is here