Spec for GtkSnippets variables

Registered by perriman

How we must implement the variable management into the snippets

Blueprint information

Status:
Not started
Approver:
perriman
Priority:
Undefined
Drafter:
perriman
Direction:
Needs approval
Assignee:
perriman
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

The idea is add a variable management into the snippets test:

${varname:index:default_value#function:arg1:arg2:argn}

varname: The variable name
index: The variable index. 1 will be replaced first, 2 second...
default_value: default value for the variable
function: The function name to be applied to the value (upper, lower etc.)
args: Arguments for the function (function date, arg1 the format)

We need think about autovariables (date: inserts the current date without the user interaction, user: inserts the current user, home...)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.