Reputation: 2042
I have one line in a html file containing a base64 representation of an image. This line spans thousands of lines in the editor, which is a huge hassle when always scrolling past it.
Is there a good way in ST3 of hiding this line?
Upvotes: 4
Views: 4661
Reputation: 560
you can simply press ctrl+shift+{ and to revert back just press ctrl+shift+}
Upvotes: 0
Reputation: 16055
Select the text you want to hide, then from the Edit menu -> Code Folding -> Fold.
Note that folding is not stored in the session, and reopening the file or ST will display the text unfolded again.
You could also take a look at plugins designed to help you with this: https://packagecontrol.io/packages/Base64%20Fold
Upvotes: 5