Why cant I write CSS on sublime text or Visual studio Code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why cant I write CSS on sublime text or Visual studio Code?

I got sublime text and I tried to write CSS on it so I could make my HTML document nice, when I saved my CSS page with the .css extension it automatically opened visual studio. I am not complaining about visual studio but I am just confused as to why I can only write CSS on Visual Studio Code and not Sublime text edit? Also I want to save HTML and CSS in the same folder so I can actually use the classes and Id's but ill save that for another question:)

11th May 2018, 11:14 PM
Kyle
Kyle - avatar
2 Answers
+ 4
I guess your machine was configured to use Visual Studio Code to open .css file by default. You may try to right click the CSS file and select Properties > Open With... pick Sublime Text as the default program and you're good to go! 😉
12th May 2018, 12:32 AM
Zephyr Koo
Zephyr Koo - avatar
0
Ahh Thank you! Still don’t know if I like Sublime text more though🤔
12th May 2018, 4:51 AM
Kyle
Kyle - avatar