experimenting with file name in package snippet
This commit is contained in:
parent
dac0f8a7a6
commit
cdacf7c3df
@ -91,7 +91,7 @@ snippet package
|
|||||||
|
|
||||||
# Package syntax perl >= 5.12.0
|
# Package syntax perl >= 5.12.0
|
||||||
snippet packagev512
|
snippet packagev512
|
||||||
package ${1:ClassName} ${2:0.99};
|
package ${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`} ${2:0.99};
|
||||||
|
|
||||||
${3:#...}
|
${3:#...}
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ snippet packagev512
|
|||||||
snippet moose
|
snippet moose
|
||||||
use Moose;
|
use Moose;
|
||||||
use namespace::autoclean;
|
use namespace::autoclean;
|
||||||
#extends '${2:# ParentClass}';
|
${1:#}extends '${2:# ParentClass}';
|
||||||
|
|
||||||
# moose extends
|
# moose extends
|
||||||
snippet extends
|
snippet extends
|
||||||
|
Loading…
x
Reference in New Issue
Block a user