yasnippet
zx
yasnippet | zx | |
---|---|---|
11 | 114 | |
2,737 | 41,666 | |
- | 2.5% | |
7.6 | 8.5 | |
27 days ago | 8 days ago | |
Emacs Lisp | JavaScript | |
- | Apache License 2.0 |
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
-
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:
zx
- Zx 8.0
- Google ZX – A tool for writing better scripts
-
Dax – Cross-platform shell for Node.js
TIL about zx! https://github.com/google/zx
This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.
-
The Bun Shell
Great point! According to https://github.com/oven-sh/bun/blob/b433beb016470b87850f3c01..., Bun Shell took inspiration from zx[0], dax[1] and bnx[2]
[0]: https://github.com/google/zx
[1]: https://github.com/dsherret/dax
[2]: https://github.com/wobsoriano/bnx
- Zx: A tool for writing better scritps
-
My script to install husky, commitlint and lint-staged with zx
If you want test it, you can run this script withzx :
-
YavaScript: Write shell scripts in JavaScript/TS instead of bash
I really love writing with zx. https://github.com/google/zx
We have some folks who have gone wild copy-pasting random fancy bash snippets into various developer helpers scripts. Zx did like 90% of that stuff out of the box, without being a pile of chaotic custom bash.
-
Scripting with Go: A Modest Proposal
I ended up using this for my cli scripting needs. https://github.com/google/zx
- And forget about shell scripting in /bin/sh ... I hate to say it, but, this is the middle of 2021 we have react and svelte we need more /etc/shells, we need modern languages all over, we can't do this anymore
-
Bash. For me it is "read only". It is too arcane, even for me. I use Perl now.
lol no javascript
What are some alternatives?
godot-vscode-plugin - Godot development tools for VSCode
shelljs - :shell: Portable Unix shell commands for Node.js
yasnippet-snippets - a collection of yasnippet snippets for many languages
execa - Process execution for humans
.emacs.d - https://emacs.takeokunn.org/
Commander.js - node.js command-line interfaces made easy
org-ref - org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
nodejs-repl.el - Run Node.js REPL and communicate with the process
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
dotfiles
deno - A modern runtime for JavaScript and TypeScript.