snippets.cson 726 B

123456789101112131415161718192021
  1. # Your snippets
  2. #
  3. # Pulsar snippets allow you to enter a simple prefix in the editor and hit tab to
  4. # expand the prefix into a larger code block with templated values.
  5. #
  6. # You can create a new snippet in this file by typing "snip" and then hitting
  7. # tab.
  8. #
  9. # An example CoffeeScript snippet to expand log to console.log:
  10. #
  11. # '.source.coffee':
  12. # 'Console log':
  13. # 'prefix': 'log'
  14. # 'body': 'console.log $1'
  15. #
  16. # Each scope (e.g. '.source.coffee' above) can only be declared once.
  17. #
  18. # This file uses CoffeeScript Object Notation (CSON).
  19. # If you are unfamiliar with CSON, you can read more about it in the
  20. # Pulsar Launch Manual:
  21. # https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson