Not sure is really an issue or a wanted behaviour. Anyway, for snippet doesn't include the "int" type declaration
Current snippet: for=for (i = 0; i < %cursor%; i++)%block_cursor%
Expected snippet: for=for (int i = 0; i < %cursor%; i++)%block_cursor%
This is on purpose. The snippets are shared with other languages, not all of which support that syntax. Also, the user may want to use an existing variable i.
You can override the snippets config locally if the syntax doesn't suit you.
Closed #1747.
github-comments@lists.geany.org