Changes between Version 6 and Version 7 of PadrePluginSnippet


Ignore:
Timestamp:
03/05/12 09:42:39 (2 years ago)
Author:
azawawi
Comment:

--

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)}}}. 
     1This 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. 
    22 
    33== Notes == 
     
    1313  - Find {{{$trigger}}} for {{{$line}}} and the current active snippet bundle or exit 
    1414  - 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   
    1822- Snippet mode ON: 
     23 
     24TODO 
     25 
    1926 
    2027== Resources ==