This powerful extension lets you collapse any code segment using custom regex patterns. Simplify your coding view, enhancing readability and focus.
8
stars
0
forks
source link
[add, fix] two new settings, one new feature and clearity fix #12
Closed
Etsi0 closed 3 months ago
10 - Show first or n classes
I have added two new settings:
class-collapse.whitelist.filter
Type:
Array
This setting contains an array of class names that you want to remain visible when the collapse is closed. Example:class-collapse.whitelist.showEntireMatch
Type:
Boolean
This setting determines whether to display the entire class name or just the portion specified in the whitelist array. Example:true
, it will display "text-blue-200".false
, it will display "blue".Changes
I made all settings categorized and renamed them for clarity: