Fork me on GitHub
Jacob Haag16:01:18

Does anyone here have a good workflow for creating code snippets in vs code? In order to do so I have to convert

 (fn [db _]
   (get-in db [:path :value])))
Too -->
"Re-frame-subscriptions": {
		"prefix": "sub",
		"body": [
			"\t ::sub-name",
			"\t (fn [db _]",
			"\t (get-in db [:path :value])))"
		"description": "Log output to console"
Which seems pretty inefficient


right? You'd think they'd have a "create snippet from clipboard" command


Sounds like a job for an extension, I thought. Then found that someone started this a week ago:

🙂 5

(There are a few other extensions for creating snippets as well.)