Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working well in VSCode January 2022 (version 1.64) #252

Closed
bernoussama opened this issue Feb 3, 2022 · 20 comments
Closed

Not working well in VSCode January 2022 (version 1.64) #252

bernoussama opened this issue Feb 3, 2022 · 20 comments

Comments

@bernoussama
Copy link

need to be reapplied for the glow to function, even after activating it manually with ctrl+shift+p

@isosphere
Copy link

isosphere commented Feb 3, 2022

Following an update to 1.64 on Windows, the extension has no effect for me until I swap to a different colour scheme and back.

Nothing particularly interesting shows up in the developer console, except that when I switch back to Synthwave '84 I get a console message "NEON DREAMS initalised!".

If I reload the editor it has to be done again. The usual run as Administrator, enable Neon Dreams, restart process does not do the permanent job it once did.

It looks like whatever change the extension makes is no longer persistent due to VS Code changes.

Here's the release notes for the update: https://code.visualstudio.com/updates/v1_64

None of the changes look relevant to me, though I haven't dug into the code of this extension to know how it works besides that it changes some core CSS files.

Rolling back to 1.63.2 resolves the issue, the extension certainly works as intended on that version.

@juamperuiz
Copy link

I have the same issue, today my VSCode updated to 1.64 and Neon Glow disabled permanently even restarting, changing theme, or executing as Administrator the Vscode.exe

imagen

Others theme as Fluoromachine are working the Neon glow, so I don't know if there is only a problem with the vscode update or something else..

@cheestudio
Copy link

Chiming in here, I get the same behavior as @isosphere

@novym
Copy link

novym commented Feb 4, 2022

It looks like whatever this extension does to load the custom CSS isn't working correctly.
For a temporary fix on VSCode Version: 1.64.0 (Tested on Mac)

  1. Install Custom CSS and JS Loader and Fix VSCode Checksums
  2. Add this to your settings.json and save

Mac

"vscode_custom_css.imports": [
    "file:///Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]

Windows

"vscode_custom_css.imports": [
    "file:///C:/Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]

  1. Run command Reload Custom CSS and JS and click Reload button that pops up, or manually Restart VSCode
  2. You will get the message about a corrupt installation: Run command Fix Checksums: Apply and restart VSCode again

Current VSCode running on Mac

Version: 1.64.0
Commit: 5554b12acf27056905806867f251c859323ff7e9
Date: 2022-02-03T04:20:17.224Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

Screen Shot 2022-02-04 at 1 50 33 PM

@isosphere
Copy link

isosphere commented Feb 4, 2022

It looks like whatever this extension does to load the custom CSS isn't working correctly. For a temporary fix on VSCode Version: 1.64.0 (Tested on Mac)

1. Install `Custom CSS and JS Loader` and `Fix VSCode Checksums`

2. Add this to your `settings.json` and save

Mac

"vscode_custom_css.imports": [
    "file:///Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]

Windows

"vscode_custom_css.imports": [
    "file:///C:/Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]
3. Run command `Reload Custom CSS and JS` and click Reload button that pops up, or manually Restart VSCode

4. You will get the message about a corrupt installation: Run command `Fix Checksums: Apply` and restart VSCode again

Current VSCode running on Mac

Version: 1.64.0
Commit: 5554b12acf27056905806867f251c859323ff7e9
Date: 2022-02-03T04:20:17.224Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

I can confirm that this solution works for me on Windows, with the caveat that the "Reload Custom CSS and JS" step must be run as Administrator.

Additional caveat: I adjusted my glow value using "synthwave84.brightness": 1, but that setting is no longer in effect and now it looks kind of dull.

image

@novym
Copy link

novym commented Feb 5, 2022

I can confirm that this solution works for me on Windows, with the caveat that the "Reload Custom CSS and JS" step must be run as Administrator.

Additional caveat: I adjusted my glow value using "synthwave84.brightness": 1, but that setting is no longer in effect and now it looks kind of dull.

image

I tried changing that setting, and it doesn't do anything for me either.
I am not able to find synthwave84.brightness anywhere in the source code for this extension.

In the css file for the extension, I believe its the last 2 HEX color digits in the text-shadow property that changes the brightness of the glow effect. You could try modifying those.
For example change:

text-shadow: 0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975;

To:

text-shadow: 0 0 2px #001716, 0 0 3px #03edf999, 0 0 5px #03edf999, 0 0 8px #03edf999;

You may have to re run the custom css loader command afterwards.

@RCristiano
Copy link

It looks like whatever this extension does to load the custom CSS isn't working correctly. For a temporary fix on VSCode Version: 1.64.0 (Tested on Mac)

1. Install `Custom CSS and JS Loader` and `Fix VSCode Checksums`

2. Add this to your `settings.json` and save

Mac

"vscode_custom_css.imports": [
    "file:///Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]

Windows

"vscode_custom_css.imports": [
    "file:///C:/Users/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]
3. Run command `Reload Custom CSS and JS` and click Reload button that pops up, or manually Restart VSCode

4. You will get the message about a corrupt installation: Run command `Fix Checksums: Apply` and restart VSCode again

Current VSCode running on Mac

Version: 1.64.0
Commit: 5554b12acf27056905806867f251c859323ff7e9
Date: 2022-02-03T04:20:17.224Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

Screen Shot 2022-02-04 at 1 50 33 PM

It worked for me on linux Fedora 35

I need to run this before:

sudo chown -R (whoami) /usr/share/code

and change:

"vscode_custom_css.imports": [
    "file:///home/{YOUR_USER_NAME}/.vscode/extensions/robbowen.synthwave-vscode-0.1.10/synthwave84.css"
]

@ireznik
Copy link
Contributor

ireznik commented Feb 5, 2022

Additional caveat: I adjusted my glow value using "synthwave84.brightness": 1, but that setting is no longer in effect and now it looks kind of dull.

image

It is the same for me with and without WSL usage on Windows 11 😢

@juamperuiz
Copy link

juamperuiz commented Feb 7, 2022

Thanks for your support, with your comments it's seems working again !!

imagen

@robb0wen
Copy link
Owner

robb0wen commented Feb 7, 2022

It does seem like the code for enabling the glow has stopped working as of the latest version of VS code, so I will look to get it fixed as soon as possible.

Just an FYI - this extension hasn't used the Custom CSS and JS plugin for a long time now, so enabling it as a workaround might cause compatibility issues once I have been able to fix the core theme.

@cheestudio
Copy link

Thanks for looking into this @robb0wen! I think people's desire to find a workaround is a testament to how much we love this theme! I know personally had been hunting for the perfect theme for years. Once I found this one, I was able to stop searching! 🤩 Thanks again for creating/supporting this amazing extension!

@RCristiano
Copy link

It does seem like the code for enabling the glow has stopped working as of the latest version of VS code, so I will look to get it fixed as soon as possible.

Just an FYI - this extension hasn't used the Custom CSS and JS plugin for a long time now, so enabling it as a workaround might cause compatibility issues once I have been able to fix the core theme.

I enabled the "Custom CSS and JS" extension, followed @novym's recommendations, and then disabled it. It fixed it for me and I no longer had to reactivate the glow at every start.

@robb0wen
Copy link
Owner

robb0wen commented Feb 7, 2022

I've just published a new version of the extension (v0.1.11) to the VS code marketplace. This should fix the issue so that the glow loads on bootup.

If you have used the Custom CSS and JS workaround, disable that in case this causes further issues.

  1. Disable Neon Dreams and restart.
  2. Update to the new version of the extension
  3. Enable Neon Dreams and restart.
  4. Optionally run the fix checksums plugin (if you have it installed) to get rid of the "unsupported" message

Big thanks to @isosphere for suggesting swapping to another theme caused the glow to appear. That was a big help in identifying the cause of the failure. Cheers!

@ireznik
Copy link
Contributor

ireznik commented Feb 7, 2022

I've just published a new version of the extension (v0.1.11) to the VS code marketplace. This should fix the issue so that the glow loads on bootup.

If you have used the Custom CSS and JS workaround, disable that in case this causes further issues.

  1. Disable Neon Dreams and restart.

  2. Update to the new version of the extension

  3. Enable Neon Dreams and restart.

  4. Optionally run the fix checksums plugin (if you have it installed) to get rid of the "unsupported" message

Big thanks to @isosphere for suggesting swapping to another theme caused the glow to appear. That was a big help in identifying the cause of the failure. Cheers!

You are awesome. Thank you for your fast response 🥳

@isosphere
Copy link

I've just published a new version of the extension (v0.1.11) to the VS code marketplace. This should fix the issue so that the glow loads on bootup.
...
Big thanks to @isosphere for suggesting swapping to another theme caused the glow to appear. That was a big help in identifying the cause of the failure. Cheers!

Update is working for me! I am delighted that I could save you some time, thank you for your swift response.

@ameasere
Copy link

ameasere commented Feb 8, 2022

Still having trouble getting the glow to appear on Arch (Garuda) Linux. Weirdly enough, the Custom CSS and JS loader extension doesn't appear on the marketplace, and installing it via the command line doesn't seem to work either. Hmm.

@juamperuiz
Copy link

Hello! Just for confirm that with the update v.0.1.11 everything is working fine as expected and we have the best theme runing again! <3 Thanks so much @robb0wen !!!

@cheestudio
Copy link

cheestudio commented Feb 8, 2022

I second @jruizsulime, it's working perfect again!

That was a terrifying 72 hours... 😅

@robb0wen
Copy link
Owner

robb0wen commented Feb 9, 2022

Glad to see this is working again.

@projectintel-anon the latest version of the theme doesn't need the Custom CSS and JS loader plugin to enable the glow. Have you got v0.1.11 of Synthwave '84 installed? did the glow work for you previously?

@ameasere
Copy link

ameasere commented Feb 9, 2022

@robb0wen So after digging a little deeper, I found out that I could not get the glow to work on VS Code that was installed via Snap or "Code OSS" (default on pacman). The glow only works for me on the chaotic-aur version or if I build it directly from git.

Nonetheless I got it working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants