Safari Pinboard & Coda PHP – what’s next

Currently I’m a bit busy with work (and soon: holiday) – but then I’ll continue with some new features for the Safari Pinboard extension and Coda PHP & Web plugin:

Safari Pinboard extension

The most annoying bug (Can’t save tabsets) is fixed now, another strange candidate is still open: When adding a link the title of the previous page is used.. Happens currently only for one user but since this bug is completely improbable I really want to know if someone encounters similar problems. If so, please comment here.

Safari 5.1 has some new features for extension – you can open a popover window (on a button) now and do something else, which I seem to have forgotten. Nothing revolutionary, so I really have to think if it’s worth integrating these features – by having to maintain a fallback solution for Safari 5.0 users..

The next step will be to integrate more of the Pinboard API. This might include features like: Auto-tagging (applying always a given tag or according to a rule for new bookmarks), showing unread items in a Safari menu instead of opening the pinboard website, improving the search feature, doing more with tags etc.

Coda PHP plugin

There are two nice tools which might be worth integrating: PHP beautifier and CSS Lint. I’ll look if and how these tools make sense as addition/replacement for the currently used tools.

But more interesting is this question: What about Coda 2? Maybe the next version already includes PHP/HTML/CSS validation (Okay – HTML validation is somehow included in the current version, but it works only very limited..). So before looking at 348567 other tools I’d rather wait for 2.0 – a native integration into Coda would be by far the best solution. But currently only the developers from panic know more…

Coda PHP & Web Toolkit – JS tidy formatting

The next update will make JSTidy configurable, but in case you’d like to change the braces placement (in a new line) right now:

  • Go to (your user folder)/Library/Application Support/Coda/Plug-Ins/
  • Right click on “PhpPlugin.codaplugin”, choose “Show package contents”
  • Navigate to Contents/Resources and open "jstidy-min.js" with an Editor
  • On the last line replace braces_on_own_line:true with braces_on_own_line:false

Coda PHP & Web Toolkit 3.0

Well, finally the 3.0 version of Coda PHP & Web Toolkit. Here’s an overview of the new features.

Use selection

This is probably very helpful – if you enable this in the prefences and have a selection in the editor, all commands only operate on this selection.

Real-life example: You have an HTML-page with inline JavaScript. Select the JavaScript part and use Minify to minify the JavaScript only.

Results in a floating window

Validation results for CSS, HTML and Javascript can be displayed in a floating window, so you can view the warnings/errors without having to switch to another tab: Continue reading “Coda PHP & Web Toolkit 3.0”