Changes between Version 6 and Version 7 of PadrePluginSnippet
- Timestamp:
- 03/05/12 09:42:39 (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PadrePluginSnippet
v6 v7 1 This is used to document the finding about the Padre::Plugin::Snippets plugin and the {{{TextMate/snipMate}}} integration that i have been planning with {{{bowtie (Kevin)}}}.1 This is used to document the finding about the Padre::Plugin::Snippets plugin and the {{{TextMate/snipMate}}} integration that I have been planning with {{{bowtie (Kevin)}}} and implementing at the moment in {{{Padre::Plugin::Moose}}}. We will eventually migrate this feature into this plugin once it is mature. 2 2 3 3 == Notes == … … 13 13 - Find {{{$trigger}}} for {{{$line}}} and the current active snippet bundle or exit 14 14 - Find the snippet associated with trigger or exit 15 - Find all variables in snippet of the form: 16 {{{ $1, ${1:...}, ${1} }}} 17 - Find the first variable that starts with with 1 15 - Find all variables in snippet of the form:[[BR]] 16 {{{${index:default_value},${index} or $index}}}[[BR]] 17 e.g. {{{ $1, ${1:...}, ${1} }}} 18 - {{{$cursor}}} = the first variable that has the index of 1 19 - Insert snippet 20 - Select {{{$cursor}}} in snippet and position the cursor at the end of it. 21 18 22 - Snippet mode ON: 23 24 TODO 25 19 26 20 27 == Resources ==
