2 of 4
2
ExpressionEngine Mode for Coda
Posted: 05 August 2007 08:11 AM   [ Ignore ]   [ # 19 ]  
Summer Student
Total Posts:  1
Joined  07-31-2007

Chris,

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.

PJKreft

Profile
 
 
Posted: 27 August 2007 11:45 AM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  367
Joined  09-20-2006

Chris - Hey, good work on this!  Can you tell me where to get the most recent version of the EE mode?

Thanks

 Signature 

“I am so clever that sometimes I don’t understand a single word of what I am saying.”

Profile
 
 
Posted: 27 August 2007 05:41 PM   [ Ignore ]   [ # 21 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  304
Joined  04-26-2007
sm9 - 14 July 2007 05:02 AM

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! grin

I encountered exactly this and stumbled upon a terrific solution.  It’s over here:

Publish Improve

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!

Image Attachments
Untitled-3.png
Click thumbnail to see full-size image
 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 27 August 2007 05:44 PM   [ Ignore ]   [ # 22 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  304
Joined  04-26-2007
Chris Ruzin - 28 April 2007 11:16 AM

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?)

Thanks!

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
Posted: 06 September 2007 02:57 PM   [ Ignore ]   [ # 23 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  05-02-2002

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.

 Signature 

The proud owner of a 6bit MacBook Pro. :(

Profile
 
 
Posted: 25 September 2007 08:26 AM   [ Ignore ]   [ # 24 ]  
Grad Student
Avatar
Rank
Total Posts:  60
Joined  08-10-2006

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?

 Signature 

David Guy

Profile
 
 
Posted: 25 October 2007 03:24 PM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  04-24-2002

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.

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer Bundle • Pro Network member
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 15 November 2007 11:16 AM   [ Ignore ]   [ # 26 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  491
Joined  09-16-2004

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.

Thanks.

 Signature 

Definition // Simply effective websites - web design based in Hull and East Yorkshire

Profile
 
 
Posted: 15 November 2007 12:14 PM   [ Ignore ]   [ # 27 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  04-24-2002

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.

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer Bundle • Pro Network member
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 15 November 2007 01:10 PM   [ Ignore ]   [ # 28 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  491
Joined  09-16-2004

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?

 Signature 

Definition // Simply effective websites - web design based in Hull and East Yorkshire

Profile
 
 
Posted: 15 November 2007 01:42 PM   [ Ignore ]   [ # 29 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  04-24-2002

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.

 Signature 

chrisruzin.netTextMate EE BundleTextMate EE Developer Bundle • Pro Network member
“The greatest barrier to success is the fear of failure.” - Sven Goran Eriksson

Profile
 
 
Posted: 15 November 2007 01:54 PM   [ Ignore ]   [ # 30 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  491
Joined  09-16-2004

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?)

Thanks again Chris.

 Signature 

Definition // Simply effective websites - web design based in Hull and East Yorkshire

Profile
 
 
Posted: 15 November 2007 03:44 PM   [ Ignore ]   [ # 31 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  128
Joined  12-05-2003

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.

Profile
 
 
Posted: 15 November 2007 09:34 PM   [ Ignore ]   [ # 32 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006
helbnt - 15 November 2007 03:44 PM

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.

Here’s what you need to do to get tabs working in Textmate when editing remote files. Works like a charm.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 16 November 2007 08:02 AM   [ Ignore ]   [ # 33 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  128
Joined  12-05-2003

Ok - now I’m seriously considering feigning sick so I can go home and set this up.

Thanks for the link mdesign! Can’t wait to try this out!

Profile
 
 
Posted: 16 November 2007 08:11 AM   [ Ignore ]   [ # 34 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

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”!

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 16 November 2007 08:15 AM   [ Ignore ]   [ # 35 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  128
Joined  12-05-2003

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.

This just might be a life saver!

Profile
 
 
Posted: 16 November 2007 06:25 PM   [ Ignore ]   [ # 36 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  128
Joined  12-05-2003

...or not.

I would appear I don’t have a TemporaryItems directory to find Transmit in.

Weird…

Profile
 
 
   
2 of 4
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64945 Total Logged-in Users: 67
Total Topics: 81925 Total Anonymous Users: 48
Total Replies: 440358 Total Guests: 299
Total Posts: 522283    
Members ( View Memberlist )