Sublime Forum

Split one long line of css into many lines

#1

I have been given a CSS stylesheet to edit for a website. All the code is on one massive long line. Is there a way to split this one line into many lines so that the code is easy to read and edit? Kind of beautify the code.

I’ve tried selecting the line and going to Selection > Split into Lines but it doesn’t do anything.

0 Likes

#2

So find a beautifier. https://packagecontrol.io

0 Likes

#3

Hey that worked. Thank you. I wasn’t sure if I was using the correct terminology ‘beautify’ - but it’s worked. Thank you

0 Likes

#4

Other frequently used terms for this include “prettify” and “format”, for future reference.

0 Likes