开发者

How to create a Coda plug-in which creates a new site?

开发者 https://www.devze.com 2022-12-12 03:54 出处:网络
I\'m using Coda for web developement. I often create new sites in my ~/Sites folder. I always enter the same information in Coda, except for the n开发者_StackOverflow中文版ame of the site, and the dir

I'm using Coda for web developement. I often create new sites in my ~/Sites folder. I always enter the same information in Coda, except for the n开发者_StackOverflow中文版ame of the site, and the directory where it's stored. Is it possible to create a plug-in (in either Cocoa or ShellScript) which automates this (so I don't need to enter all FTP stuff etc... over and over again)?

Thanks in advance.


One easy way to do it: just make a generic site with the things you normally type in. Then when you want to create a new site, right-click on the generic site and say duplicate. There's no shell script you can write for the process, because you would need access to Coda's inner workings.

@Joshua I think Koning is talking about the process of creating a 'Site' within Coda itself, which looks like this: http://andrewcerniglia.com/blogImages/77437/Coda_addSiteFTP.jpg


There's a plugin for that. It should do what you're looking for. If it doesn't, a similarly-worded Google search turns up this Coda plugin development page.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号