yasnippet-snippets
a collection of yasnippet snippets for many languages (by AndreaCrotti)
yasnippet
A template system for Emacs (by joaotavora)
yasnippet-snippets | yasnippet | |
---|---|---|
4 | 11 | |
1,158 | 2,777 | |
- | - | |
6.9 | 7.6 | |
7 days ago | 6 months ago | |
YASnippet | Emacs Lisp | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yasnippet-snippets
Posts with mentions or reviews of yasnippet-snippets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-20.
-
Key bindings to insert snippets/characters (Emacs+ESS)
I second yasnippet, it is extremely handy for all sorts of boilerplate (like LaTeX preambles, environments). There are many contributed snippets in the yasnippet-snippets repo that you can look at as examples.
-
Ability to search/pull elisp snippets from within emacs?
But you could look at what others do for Yasnippets? https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/snippets/emacs-lisp-mode
- Hacking Fish Script In Emacs
-
Emacs PHP mode?
You may want yasnippets. It's in melpa. I don't use lsp-mode. Consider using gnu global with ggtags and ctags for parsing and indexing your code-base for searching for symbols within emacs.
yasnippet
Posts with mentions or reviews of yasnippet.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-05.
-
I'm able to take notes in mathematics lectures using LaTeX and Vim (2019)
There's YASnippet, which could be used in much the same way as the tools that were described.
https://github.com/joaotavora/yasnippet
-
org-mode date for a file -- the correct way
Although the Org manual says that YASnippet doesn’t play well, I personally haven’t had any issues. Maybe I’ve just been lucky? But I do have a snippet that uses the format command to create an Org inactive timestamp. Just a thought.
-
How do I change the autocomplete results I see?
For the first question, I would look into a template system like Yasnippet or tempo. I think that’s the best approach for it, and I’m not sure if you can do it with completion methods like corfu
-
Key bindings to insert snippets/characters (Emacs+ESS)
I second yasnippet, it is extremely handy for all sorts of boilerplate (like LaTeX preambles, environments). There are many contributed snippets in the yasnippet-snippets repo that you can look at as examples.
-
Need help improving my workflow
Hmmm... Maybe yasnippet?
-
How do you change bracing style for C in yasnippets
(defun whatacold/yasnippet-exit-hook () "My yasnippet exit hook." (when (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode)) (whatacold/yasnippet-exit-hook-c))) ;; see https://github.com/joaotavora/yasnippet/issues/728 ;; (after! c-or-c++-mode) ;;
- How do I get yasnippet to actually load the stored snippets for org-mode?
- Hacking Fish Script In Emacs
-
How to turn "---" into an em-dash
Yasnippet might work. It's mostly used for programming related expansion, but I see no reason it wouldn't work for this too: https://github.com/joaotavora/yasnippet
-
Playing around with gdscript snippets
Ah the code generation in the gif is from a plugin (Yasnippet) for the main editor I'm using (Emacs) to write GDScript. So not the built-in editor in Godot, no. The only bits I wrote is what keys expand into what on top of the snippet language, but they're just dumb text expansions and are unaware of any language specific context, e.g. this is the map one:
What are some alternatives?
When comparing yasnippet-snippets and yasnippet you can also consider the following projects:
doom-emacs - My Doom Emacs configuration
godot-vscode-plugin - Godot development tools for VSCode
lsp-mode - Emacs client/library for the Language Server Protocol
.emacs.d - https://emacs.takeokunn.org/
vscode-intelephense - PHP intellisense for Visual Studio Code
dotfiles
eglot - A client for Language Server Protocol servers
company-shell
web-mode - web template editing mode for emacs
org-ref - org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
php-mode - A powerful and flexible Emacs major mode for editing PHP scripts
emacs-fish - fish-mode for emacs
yasnippet-snippets vs doom-emacs
yasnippet vs godot-vscode-plugin
yasnippet-snippets vs lsp-mode
yasnippet vs .emacs.d
yasnippet-snippets vs vscode-intelephense
yasnippet vs dotfiles
yasnippet-snippets vs eglot
yasnippet vs company-shell
yasnippet-snippets vs web-mode
yasnippet vs org-ref
yasnippet-snippets vs php-mode
yasnippet vs emacs-fish