Which editor for editing themes?

Hi there - newbie here! I’m looking for the simplest code editor to make changes to the .hbs files within a theme?

Also, what’s the easiest way for me to ‘re-zip’ a file before re-uploading?

Thanks!

Hey,

I’m probably in the minority here, but I use Adobe’s open source Brackets as my code editor, supplemented with a few plugins.

About zipping, well, right-clicking on a folder should give you the option to zip it.

2 Likes

Hi,

my personal favorite is Visual Studio Code.


It’s by far the most used code editor, free and available for windows/mac/linux.
It might look a bit complicated for “newbies”, but it’s actually really easy.
It has a huge library of plugins, to help you with formatting (really helpful to keep consistent looking files with proper indentation, autocorrection, autocompletion, notification if you missed a bracket etc.) minifying, linting and so on.
You can also connect to your server over ssh in vscode and use git which is really handy.
Definitely worth a try…

Regarding zipping: Just use you’re preferred zipping program if you don’t already have one installed in your OS anyway.

I’d recommend you to set up a local development installation of ghost, so you can load up all your theme files in your code editor, work on them (save) and then just reload the page to see your changes, and if you’re happy with your customization, zip it up and upload to your live server.

1 Like

thx, will take a look!

and facepalm - thank you, you’re right, I can just right-click and Zip. I recall having to download some sort of program (WinZip?) to zip files, apparently we’ve come a long way since then… haha.

thank you! when I googled ‘code editors’ there were so many, I had no idea where to start.

I have a developer (@dan) who has helped me self-host. I’m using one of his themes, too, which I just need to make some tweaks to using his helpful theme documentation. I just needed an editor, and it looks like I have a couple on this thread to check out. thx again.

update: I went for Visual Studio and liking it so far. thx @Stromfeldt & @daniel1 for your suggestions.

1 Like

If you’re using Mac, there’s only one worth mentioning. If you’re using Windows, there’s still only one worth mentioning.

https://www.sublimetext.com/

haha wow, big words! The UX looks nice.

1 Like

It’s all I’ve ever used. Call me biased, but I love it. Although saying that, I do briefly remember using Brackets

1 Like

fair enough :slight_smile: I like your website’s design, btw, and that dark-mode toggle

1 Like

Thanks, this is a slightly modified version of weiss-pro by @eddiesigner

1 Like

nice. You might enjoy @dan’s stuff. If I decide to enable comments, I’m tempted by Cove > Disqus.

OMG, I remember this one! I used to use it a lot, lol.

These days, I float between:

And…

If I am in full swing of production, then I’ll end up using:

That’s the big brother of Code…

2 Likes

I used all the major editors on the market for a few weeks. I can say with certainty that sublimetext.com is by far the best.

The clean and clear interface, the lightning speed with which it opens make it unbeatable.

If you use Git, I also recommend that you try sublimemerge.com

2 Likes

Sublime looks nice and looks like it has a couple of votes. Looks like you have to pay though?

Visual Studio is serving my basic editing needs right now and it’s free :slight_smile:

I use and recommend Codelobster