Pergunta

When creating Geany snippets is there a way to tab between %cursor% expressions?

For example, I created a snippet that should require two %cursor% expressions. Is there a way to enter the first cursor and then "tab" to enter the next?

I did a search and found:

require=var %cursor% = require('%cursor%');
Foi útil?

Solução

As mentioned inside a comment, a user defined snippet can be used for. This might have more than one cursor. Having this, you can jump forward inside a snippet setting the Move cursor in snippet keybinding.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top