atom_snippets.html 3.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="Asciidoctor 1.5.4"><meta name="author" content="mitm"><title>Atom Snippets Page</title><link rel="stylesheet" href="./asciidoctor.css">
  2. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  3. <link rel="stylesheet" href="./coderay-asciidoctor.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css"></head><body class="article toc2 toc-left"><div id="header"><div id="toolbar"><a href="https://github.com/jMonkeyEngine/wiki/edit/master/src/docs/asciidoc/wiki/atom_snippets.adoc"><i class="fa fa-pencil-square" aria-hidden="true"></i></a><a href="https://github.com/jMonkeyEngine/wiki/new/master/src/docs/asciidoc/wiki/"><i class="fa fa-plus-square" aria-hidden="true"></i></a><input dir="auto" style="position: relative; vertical-align: top;" spellcheck="false" autocomplete="off" class="searchbox__input aa-input" id="doc-search" name="search" placeholder="Search in the doc" required="required" type="search"></div><h1>Atom Snippets Page</h1><div class="details"><span class="author" id="author">mitm</span><br><span id="revnumber">version ,</span> <span id="revdate">2017-09-08T23:24:11.262Z</span></div><div id="toc" class="toc2"><div id="toctitle">Table of Contents</div></div></div><div id="content"><div class="paragraph"><p>Edit this file to add snippets to the snippets.cson file for the <a href="https://atom.io/">Atom editor</a>. To use these snippets just copy and paste the text below into your snippets.cson file.</p></div>
  4. <div class="listingblock"><div class="content"><pre class="CodeRay highlight"><code># Your snippets
  5. #
  6. # Atom snippets allow you to enter a simple prefix in the editor and hit tab to
  7. # expand the prefix into a larger code block with templated values.
  8. #
  9. # You can create a new snippet in this file by typing "snip" and then hitting
  10. # tab.
  11. #
  12. # An example CoffeeScript snippet to expand log to console.log:
  13. #
  14. # '.source.coffee':
  15. # 'Console log':
  16. # 'prefix': 'log'
  17. # 'body': 'console.log $1'
  18. #
  19. # Each scope (e.g. '.source.coffee' above) can only be declared once.
  20. #
  21. # This file uses CoffeeScript Object Notation (CSON).
  22. # If you are unfamiliar with CSON, you can read more about it in the
  23. # Atom Flight Manual:
  24. # http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
  25. '.source.asciidoc':
  26. 'Inter-Doc Cross Reference':
  27. 'prefix': 'xref'
  28. 'body': '&lt;&lt;${1:path/to/wiki/page}#,${2:custom label text}&gt;&gt;'</code></pre></div></div></div><div id="footer"><div id="footer-text">Version <br>Last updated 2018-02-28 16:23:40 +00:00</div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script><script>docsearch({
  29. apiKey: 'a736b6d93de805e26ec2f49b55013fbd',
  30. indexName: 'jmonkeyengine',
  31. inputSelector: '#doc-search',
  32. debug: false // Set debug to true if you want to inspect the dropdown
  33. });</script></body></html>