Today I finally got around to convert the Kirby Cheat Sheet to an Atom snippet collection. Since it’s not just a matter of “search and replace” because of the parameters and multiple bracket combinations, I had to manually go through almost 3000 lines of code. But I think it was worth it.
Every suggestions displays a short description and a link to the corresponding page in the Kirby Cheat Sheet. I’ve added tabs stops for every parameter so you can simply hit tab and jump to the next parameter and eventually to the last closing bracket.
this makes me give atom another shot. I once installed it, but i could never seem to dump notepad++ for atom, as i was not used to play around with this.
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
I had to delete 3 properties because they do not exist in VS-Code but they work yes. Not so charmingly good like that GIF shows it in the Atom editor tho ^.^
I created a Gist where I removed the properties. Maybe you can copy and past it and add it to your repo: