Вопрос

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%');
Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top