thatsIch/sublime-rainmeter

View on GitHub
Snippets/metadata.sublime-snippet

Summary

Maintainability
Test Coverage
<snippet>
    <content><![CDATA[
[Metadata]
    Author=${1:${TM_FULLNAME}}
    Name=${2:${TM_FILEPATH/.*Rainmeter\/Skins\/(.*)\/[^\/]*.ini/$1/i}}
    Version=${3:0}
    Information=$4
    License=${5:Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported}
    $0]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>tmetadata</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>source.rainmeter</scope>
    <description>Metadata Section</description>
</snippet>