Last active
July 18, 2016 21:26
-
-
Save TheBox193/d599e143e1e8e1ec048bd73dba046980 to your computer and use it in GitHub Desktop.
Redux Action Sublime Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
export function ${1:action_name}(${2:arguments}) { | |
return { | |
type: ${3:type}, | |
payload: { | |
${2:arguments} | |
} | |
}; | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>funact</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
export function ${1:action_name}(${2:arguments}) { | |
return function(dispatch, getState) { | |
${3} | |
}; | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>funthunk</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just place them in your
/Users/{username}/Library/Application Support/Sublime Text 3/Packages/User
folder.They are activated when typing
funthunk
andfunact
.