mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
22 lines
726 B
Plaintext
22 lines
726 B
Plaintext
# Your snippets
|
|
#
|
|
# Pulsar 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
|
|
# Pulsar Launch Manual:
|
|
# https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson
|