What are tabstops in Snippets?

What is tabstop in Komodo Snippets? It’s a position of cursor after tab key press or what?

Sometimes you have a macro or snippet that’s basically a template where, after insertion, you need to do further edits at given locations. That’s what tabstops are meant for: you define what those locations are and Komodo will guide you along them as you hit Tab.

A good example is phpdoc. Once you get this:

/**
 * Summary
 * 
 * @param unknown $data   Description
 * @param unknown $params Description
 * 
 * @return Type    Description
 */

… you want to fill in the exact details: Summary, unknown, Description

2 Likes

Thanks, man! Very useful information.

Also, the Komodo docs for tabstops are here:
http://docs.activestate.com/komodo/8.5/tabstops.html

1 Like