Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

CSS --var() variables not being recognized #196

Open
tsawitzki opened this issue May 13, 2022 · 0 comments
Open

CSS --var() variables not being recognized #196

tsawitzki opened this issue May 13, 2022 · 0 comments

Comments

@tsawitzki
Copy link

tsawitzki commented May 13, 2022

Running the latest version of Atom I do not get any hints or auto-complete options on CSS variables, even with all the necassary CSS files open in individual tabs.

Steps to Reproduce

  1. Write a simple CSS declaration e.g. font-face: (which is auto-completed as expected by the CSS package)
  2. Refer to a global CSS variable in your setup, declared in :root{} in index.csse.g. --var(font-sans);

Expected behavior:

With the default CSS packages coming with Atom I’d expect an automcomplete once I start typing "var..." and then when I hit Tab I’d expect to be in that --var(…) declaration with another auto-complete pop-up listing all my CSS variables, full project scope

Actual behavior:

Nothing happens

Reproduces how often:

Everytime

Versions

Latest

Additional Information

In case Atom does not understand CSS variables, I’d be happy to hear about any workarounds. Strange thing is that I saw pics on the net while googling the issue which show the expected behaviour …?

@darangi darangi transferred this issue from atom/atom May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant