Skip to content
Aug 28 / Scott Phillips

Using the Coda Code Navigator More Efficiently: Bookmarks!

I love Panic’s Coda, and I am anxiously awaiting their new version, since I think it’s just a few features away from being the perfect editor. That being said, while researching if there was a way to sort the Code Navigator alphabetically (there isn’t) I came across the bookmarks feature, which I never knew about. So if you use the Code Navigator (and you should) you can add inline comments in your page, which will then appear in the code navigator–which makes it so much nicer when you organize your code well, and and you’re editing a long file.

The syntax to add a bookmark is as follows:

CSS:
/* !some description of where you are in the file */

HTML:
<!-- !some description of where you are in the file -->

Javascript:
/* !some description of where you are in the file */ or // !some description of where you are in the file

PHP:
/* !some description of where you are in the file */ or // !some description of where you are in the file
Note that in all cases, your text needs to have the '!' infront of it to work.
Enjoy!

Leave a comment