Thanks for your work on this. I’m getting back to coding (leaving the visual editors behind) and found that Coda really works well. I’m trying to move over to ExpressionEngine and really want to be able to use Coda with it. Thanks for your work in making allowing this to happen.
I look forward to your further updates. Thanks again.
On another note, for times when I’m not on machine with Coda or a similar editor, and absolutely must edit a template via the EE control panel, how do I make a ‘tab’ space? Pressing tab takes me out of the template window! I’m using a Mac. I find myself copying and pasting tabs when editing a stylesheet!
I encountered exactly this and stumbled upon a terrific solution. It’s over here:
This fella put together a plugin that, beyond being enormously useful in itself (it allows you to customize the ‘upload file’ button found on each page, among other things) has this little gem (see attached screenshot): a switch you can toggle in the settings to allow the tab button to function as a real tab. Hooray!
I’ve put together a REALLY basic ExpressionEngine mode for Panic’s new Coda
Terrific work! I’m enamored with Coda, don’t use anything else any more (though some of its syntax modes are a little wonky still, I’ve reported bugs and they’re hard at work on updates).
Do you mind my asking how you put this together? I don’t know anything about creating one’s own syntax or editing mode; does it require any special software skill? (That is, is it just editing text if you know the syntax?)
Chris, someone should pin a medal on you. I’ve been using Coda for while and have been using Aptana less and less. This is makes the Coda experience even sweeter.
Thank you so much for creating this incredibly useful syntax mode! I had written Panic about supporting EE template code (and they responded that they planned to) and had been using the Smarty mode as a stop-gap measure.
I do have one issue though. My templates won’t open with the EE syntax mode. I have {!—EE Template—} at the very top of my templates. However, they open with PHP-HTML syntax mode. I have to manually choose the EE syntax mode. Any ideas?
It automatically opens as PHP-HTML because of the file extension. I’m not sure how to force it to open the files as EE files. I guess if you work on EE files more than PHP files, you can override the default PHP syntax in the prefs, under the editor tab.
Hi Chris - I’m loving the EE mode for Coda and have altered the colors to suit me - thanks for your work on it so far.
However, i now want the other modes to basically follow the same colors (HTML and PHP-HTML modes at least anyway) - do you know of an easy way to grab the existing colors and somehow transplant them to the other modes?
At the moment I’m just manually changing syntax mode to your EE mode, regardless of whether I’m in an EE template or HTML file, but fancy making it a little easier : )
It seems that Textmate deals with colour themes differently, where one theme seems to cover all languages? I might be wrong there.
TextMate separates language and theme files. A color theme assigns colors and styles based on things like “variable”, “keyword”, “constant”, “entity”, etc. The language definition file tells TM how to parse a language file so it knows what color to assign to different parts.
I don’t know of an easy way to copy colors from one language to another in Coda. You might ask the Panic guys if there’s an easy way.
Ah, that makes perfect sense, thanks Chris. I’ll email Panic with the question.
Can I just ask out of interest: how is your workflow with Coda syntax highlighting? Do you have the default Coda color coding and let the app switch automatically between modes depending on the file extension? Or have you set different colors for each file type in the prefs?
I’m not using Coda at all, really. I made the Coda EE mode as an experiment to see what Coda was all about (hence the Alpha designation in my signature). I do all my coding in TextMate.
So do I actually - I’m really trying everything I can to like Coda because so many people seem to really like it.
I do like having the ‘remote file’ tabs I had open remembered each time (whereas I have to manually re-open them each time with the Transmit + TextMate combo I usually use - unless there’s a way to do this in TextMate?)
I think that’s my biggest complaint (and it’s not really that big) about Textmate - want to have more than one file open at a time to edit on a remote server, like Homesite on Windows is capable of doing. I haven’t tried Coda (only have 10.3.9), but would like to.
In the meantime, I guess it’s just working one-at-a-time…and considering I can’t get my ‘save as a template’ feature working, I’m not even using Textmate, just the in-browser editor. I’m sad.
I think that’s my biggest complaint (and it’s not really that big) about Textmate - want to have more than one file open at a time to edit on a remote server, like Homesite on Windows is capable of doing.
Oh no, no, no. That would definitely be a dealbreaker for me if I couldn’t edit more than one template at a time in Textmate in tabs. I frequently have 10-15 “tabs” or templates open.
Granted, it’s not true remote editing with a tidy little ftp window on the side like these other programs have. You have to have Transmit open for your ftp, and Textmate open for editing, but so what? I set it up so a double click opens the remote file in Textmate - just remember to open your “remote_project” first, and the remote file will open in a tab in that project. If you don’t open the remote project first, the remote file will just open as a single file.
Works for me - I couldn’t possibly work on a site without the ability to edit many files and templates at once! Working through the control panel just isn’t an option for my workflow. Viva la “save template as file”!
I hear that - was working on my site this past weekend and had half a dozen different Textmate windows open at once and it really started driving me batty.