Last Updated: June 28, 2019

Smart Snippets

Komodo snippets and abbreviations are nothing new to code editing (they’ve been in Komodo almost since the beginning 15 years ago). But something that Komodo has that others may not…smart snippets. Using EJS template syntax we’ve made it possible to make dynamic snippets that can change based on the inputs you pass into it. Eric Promislow implemented EJS snippets and wrote a blog about these powerful userscript like snippets in Komodo.

While Komodo comes with a large set of snippets and abbreviations included when you install the software, we highly recommend you create your own or modify the ones included because they are simply meant as demonstrations of the tool. If you come up with a useful set, consider sharing it in our Komodo community packages repo. Look for inspiration or something helpful by seeing what’s already there.

Carey Hoffman

Carey Hoffman

Carey made the logical switch from snowboard instructing and treeplanting to the technology industry in 2009, taking database and network administration at Vancouver BC's BCIT college. Having started out on the technical support and QA team for ActiveState he now works on the Komodo development team as a front and backend software engineer.