PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Install didn't work; Syntax isn't highlighted for ps1 files

Open MichaelCurrie opened this issue 1 year ago • 1 comments

I see:

{
	"bootstrapped": true,
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"Package Control",
		"PowerShell",
		"python-black",
	],
	"repositories":
	[
	],
}

But still, no syntax is highlighting in a ps1 file. I have restarted sublime already.

MichaelCurrie avatar Jul 13 '24 09:07 MichaelCurrie

What syntax is displayed for ps1 files in status bar?

Is PowerShell package disabled (in ignored_packages list)?

Maybe ps1 extension was assigned another syntax before?

deathaxe avatar Jul 13 '24 10:07 deathaxe

Closing due to inactivity.

deathaxe avatar Dec 21 '24 17:12 deathaxe

By the way, I think by rebooting or trying again or reinstalling or something, the problem went away. Sorry, I can't remember anymore. So this issue would not be easy to replicate. Closing was the correct decision :D

MichaelCurrie avatar Dec 22 '24 06:12 MichaelCurrie

I had the same issue, the syntax was not highlighting. I removed the PowerShell package from Sublimetext and installed it again. It solved it for me.

iPaulis avatar Jan 30 '25 13:01 iPaulis