Releases: Lokesh-Garg-22/CSS-Modules-IntelliSense
Releases · Lokesh-Garg-22/CSS-Modules-IntelliSense
Release list
CSS Modules IntelliSense 0.1.6
CSS Modules IntelliSense 0.1.6 – 2026-06-14
Added
cssModulesIntellisense.classNameCacheSizesetting to configure the LRU
class name cache size (default: 5).cssModulesIntellisense.diagnostics.classNotDefined.enabledand
cssModulesIntellisense.diagnostics.classNotDefined.severitysettings to
control the "class not defined" diagnostic.cssModulesIntellisense.diagnostics.classNotUsed.enabledand
cssModulesIntellisense.diagnostics.classNotUsed.severitysettings to
show a "class not used" diagnostic on CSS module files (disabled by
default).
Fixed
//comments in CSS module files caused incorrect class name positions due
to extra newlines being inserted during sanitization.- Loading the cache from disk caused phantom entries in
pathMapCachebecause
numeric index keys were being re-inserted as path strings. Deserialized
vscode.Rangeobjects are now also properly reconstructed from plain JSON. - Minor Bugs
CSS Modules IntelliSense 0.1.5
CSS Modules IntelliSense 0.1.5 – 2026-01-27
Added
- Extension Icon
CSS Modules IntelliSense 0.1.4
CSS Modules IntelliSense 0.1.4 – 2025-11-07
Added
- Configuration options to control when file processing is triggered:
- processOnEdit — runs processing when editing files.
- processOnSave — runs processing when saving files.
Fixed
-
Class names defined after comments were not being recognized.
Example:// Working on it .container { width: 100%; }
CSS Modules IntelliSense 0.1.3
CSS Modules IntelliSense 0.1.3 – 2025-07-30
Fixed
- Inefficiencies in
isPositionInCommentandisPositionInStringthat caused
slow parsing in large files.
CSS Modules IntelliSense 0.1.2
CSS Modules IntelliSense 0.1.2 – 2025-07-18
Added
- Support for multiline CSS module import statements.
Changed
- Improved class name detection logic to skip usages inside strings, comments,
and nested property access (e.g.,temp.styles.class) in
JavaScript/TypeScript files. - Refactored regular expressions for improved clarity and support for multiline imports.
Fixed
- Autocompletion no longer triggers for chained or nested properties like
temp.styles.class. - Class name references inside strings or comments
are now correctly ignored during detection. - and some general performance improvements, including faster data loading
and reduced memory usage.
CSS Modules IntelliSense 0.1.1
CSS Modules IntelliSense 0.1.1 – 2025-07-16
Changed
- The
resetCachecommand now processes files in series instead of in parallel,
resolving issues caused by simultaneous parsing.
CSS Modules IntelliSense 0.1.0
CSS Modules IntelliSense 0.1.0 – 2025-07-11
Added
- Definition Provider: Jump to definitions of class names in CSS module files.
- Rename Provider: Enables in-place renaming of
classNameusages within scripts. - Caching: Class names from module files are now cached to improve performance.
- Error Handling: Improved error reporting for missing module files during import.
- Tests: Added more unit tests for both the Definition and Rename Providers.
Fixed
- Comment Ignorance: Class names inside comments were incorrectly
considered valid — they are now ignored properly.
CSS Modules IntelliSense 0.0.5
CSS Modules IntelliSense 0.0.5 – 2025-07-02
Added
- Reset Cache Command: Allows users to delete the existing cache and
reload all files from the workspace. - Extension Development Tests: Additional tests added to
improve support during extension development.
CSS Modules IntelliSense 0.0.4
CSS Modules IntelliSense 0.0.4 – 2025-06-27
Added
- The extension now caches all scripts and modules in the workspace to improve performance.
CSS Modules IntelliSense 0.0.3
CSS Modules IntelliSense 0.0.3 – 2025-06-23
Fixed
- Fixed an issue where
npm run testdid not execute correctly. - Prevented
node_modulesfrom being searched during rename operations.