Sublime Forum

Color Highlighter not working in Sublime Text 4?

#1

I downloaded color highlighter in sublime text and then I made a simple css file:-

.warning {
	background: white;
	margin: auto;
	width: 100px;
}

Idk what’s going wrong here. I downloaded color highlighter in Sublime text 3 before, but it was working fine. But in Sublime text 4, for some reasons it’s not working. Here is my ColorHighlighter.sublime-settings:-

{
	"search_colors_in":
	{
		"all_content":
		{
			"color_highlighters":
			{
				"color_scheme":
				{
					"enabled": true,
					"highlight_style": "filled",
				},
				"gutter_icons":
				{
					"enabled": true,
					"icon_style": "circle",
				},
				"phantoms":
				{
					"enabled": false,
					"length": 2,
					"style": "right",
				},
			},
			"enabled": true,
		},
		"hover":
		{
			"color_highlighters":
			{
				"color_scheme":
				{
					"enabled": true,
					"highlight_style": "filled",
				},
				"gutter_icons":
				{
					"enabled": true,
					"icon_style": "circle",
				},
				"phantoms":
				{
					"enabled": false,
					"length": 2,
					"style": "right",
				},
			},
			"enabled": true,
		},
		"selection":
		{
			"color_highlighters":
			{
				"color_scheme":
				{
					"enabled": true,
					"highlight_style": "filled",
				},
				"gutter_icons":
				{
					"enabled": true,
					"icon_style": "circle",
				},
				"phantoms":
				{
					"enabled": false,
					"length": 2,
					"style": "right",
				},
			},
			"enabled": true,
		},
	},
	"experimental":
	{
		"asynchronosly_update_color_scheme": true,
	},
	"autoreload":
	{
		"when_color_scheme_change": true,
		"when_settings_change": true,
	},
	"default_keybindings": false,
}

So, what is going wrong here?

0 Likes