简体   繁体   中英

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

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 name 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM