Back to home

Frequently Asked Questions

Common questions and solutions for CSS Variables Assistant

Why don't my CSS variables show up in autocomplete?

This usually happens when variables are newly added and the index hasn't updated. Go to Settings → Tools → CSS Variables Assistant and click the 'Re-index Variables' button. Wait for the indexing to complete before testing again.

Why aren't imported variables (@import) being suggested?

Check your indexing scope setting. Go to Settings → Tools → CSS Variables Assistant and change the scope to 'PROJECT + IMPORTS' or 'GLOBAL'. Apply the changes, then re-index variables from the same interface.

How can I debug which variables are being indexed?

Right-click any CSS file and select 'Debug CSS Import Resolution' from the context menu. This shows a full analysis report of recursively resolved imports and discovered variables with their file paths.

The plugin isn't working at all. What should I do?

Try this troubleshooting sequence: 1) Restart your IDE, 2) Go to Settings → Tools → CSS Variables Assistant and click 'Re-index Variables', 3) If still not working, try File → Invalidate Caches and Restart, then re-index variables again.

PROJECT + IMPORTS scope doesn't resolve correct values. Why?

This is an experimental feature currently being improved. For now, try changing the indexing scope to 'GLOBAL' in Settings → Tools → CSS Variables Assistant for more reliable variable resolution.

Which JetBrains IDEs are supported?

CSS Variables Assistant works with all JetBrains IDEs including IntelliJ IDEA, WebStorm, PyCharm, PhpStorm, RubyMine, GoLand, and CLion. Requires version 2025.1 or newer.

What file types are supported?

The plugin works in CSS, SCSS, SASS, LESS, JavaScript, TypeScript, JSX, and TSX files. It provides autocomplete inside var(--...) functions and preprocessor variable references.

How do I configure the variable sorting order?

Go to Settings → Tools → CSS Variables Assistant and look for the 'Completion sorting' option. You can choose between ascending or descending value-based sorting for logical variable organization.

Need More Help?

If you can't find the answer you're looking for, check our documentation or report an issue on GitHub.