willofindie / vscode-cssvar

VSCode extension to support CSS Variables Intellisense
https://marketplace.visualstudio.com/items?itemName=phoenisx.cssvar
MIT License
252 stars 4 forks source link

[Bug] The extension creates a lot of notifications, even with notifications disabled #118

Open ezzatron opened 6 months ago

ezzatron commented 6 months ago

Describe the bug Even with notifications disabled for the CSS Var Complete extension, somehow I still get spammed with notifications.

To Reproduce Steps to reproduce the behavior:

  1. Install the extension
  2. Use it
  3. Notifications accumulate over time during normal usage
  4. Disable notifications
  5. Notifications still keep accumulating

Expected behavior

  1. Disabling notifications should disable notifications.
  2. Internal errors that don't affect usage could produce less notifications.

Screenshots

Typical notifications after using the extension for a while:

Screenshot 2024-04-17 at 14 46 18

Extension notifications are already disabled:

Screenshot 2024-04-17 at 14 46 28

Details (please complete the following information):

Additional context Project is using Next.js with CSS modules, along with Open Props as an NPM dependency. Config for the extension:

  "cssvar.ignore": [
    "**/node_modules/!(open-props)/**",
    "**/node_modules/open-props/!((open-props|normalize).min.css)/**",
  ]
klizter commented 2 months ago

Same her, the Range Error pops up when I save files.

Using CSS Modules

phoenisx commented 1 month ago

Thanks for raising this issue. In an upcoming release, I will be replacing notifications with console logger.

Can u help me with a repro for Range Error pops up? This seems like a logical issue and I would like to understand the issue better. 🙇🏽