Emacs/Snippets: Difference between revisions
< Emacs
(First commit.) |
m (Added infobox.) |
||
Line 1: | Line 1: | ||
[[Category:Emacs|*]] | |||
{{Haskell infobox}} | |||
[http://code.google.com/p/yasnippet/ YASnippet] is a template system for Emacs. It allows you to type an abbreviation and automatically expand it into function templates. | [http://code.google.com/p/yasnippet/ YASnippet] is a template system for Emacs. It allows you to type an abbreviation and automatically expand it into function templates. | ||
[https://github.com/polypus74/HSnippets HSnippets] is designed for use with haskell-indentation-mode, i.e. it does not do any indentation itself, but relies on the mode (or the user) to do so. Also note that the snippets never add any unnecessary lines to the code listing, only the lines taken up by the snippet itself, leaving the user to manage empty space themselves... | [https://github.com/polypus74/HSnippets HSnippets] is designed for use with haskell-indentation-mode, i.e. it does not do any indentation itself, but relies on the mode (or the user) to do so. Also note that the snippets never add any unnecessary lines to the code listing, only the lines taken up by the snippet itself, leaving the user to manage empty space themselves... |
Latest revision as of 10:47, 18 May 2012
Emacs for Haskell
Inferior Haskell processes |
YASnippet is a template system for Emacs. It allows you to type an abbreviation and automatically expand it into function templates.
HSnippets is designed for use with haskell-indentation-mode, i.e. it does not do any indentation itself, but relies on the mode (or the user) to do so. Also note that the snippets never add any unnecessary lines to the code listing, only the lines taken up by the snippet itself, leaving the user to manage empty space themselves...