prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.54k stars 786 forks source link

[Bug]: Code Color Theme Not Syncing #1370

Open Liu-WeiHu opened 4 months ago

Liu-WeiHu commented 4 months ago

Bug Report

Switching themes code Color theme does not respond

Description

Manually installed the [Code_Wallbash.vsix](https://github.com/prasanthrangan/hyprdots/blob/main/Source/arcs/Code_Wallbash.vsix) extension and installed the latest hyprdots library. When switching themes or switching wallbash I see that the configuration file under /home/liu/.vscode-oss/extensions/undefined_publisher.wallbash-0.0.1/themes/wallbash-color-theme.json has changed. But Code does not refresh the theme. Manually close Code and reopen Code to get the appropriate theme. It seems that the script is missing the step of restarting Code.

Steps to Reproduce

  1. ./install.sh
  2. Manually installing the Code_Wallbash.vsix extension for Code
  3. Switch topics or wallbash
  4. Code has not changed.

Expected Behavior

When switching themes or wallbash, the Code theme will change.

Actual Behavior

Code theme has not changed

Screenshots

Environment

Additional Information

kRHYME7 commented 4 months ago

For now, needs a manual reload of the window or run code with this flag --extensionDevelopmentPath=$HOME/.vscode-oss/extensions/undefined_publisher.wallbash-0.0.1

You can set a key bind to reload the window

image

Liu-WeiHu commented 4 months ago

--extensionDevelopmentPath=$HOME/.vscode-oss/extensions/undefined_publisher.wallbash-0.0.1

Thank you. He works.