AndreaCrotti/yasnippet-snippets
概要
yasnippetの、多数の言語に対応したスニペット集
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- 0
- 1か月
- 0
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルYasnippet official snippet collections
This repository contains the official collection of snippets for yasnippet.
You can see a generated table of all snippets here.
How to install
From melpa
You can install this package from melpa, by first ensuring that you have the melpa source in your package-archives.
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
Once that is done, then just refresh the packages and install it with.
- M-x package-refresh-contents
- M-x package-install yasnippet-snippets
Now all the snippets will load automatically, as soon as yasnippet loads.
On Debian ≥10 and derivatives such as Ubuntu ≥ 18.10
sudo apt install elpa-yasnippet-snippets
Contributing
If you have any useful snippets for any language or framework, then please feel free to contribute, by opening a PR or an issue if you have any suggestions.
To study the current snippets, I suggest that you use M-x yas-describe-tables,
which will show a table representation of all the snippets that are available in the current mode.
Guidelines
Snippets need to be generic enough to be useful for everyone, and not contain anything specific to your own system.
Various notes
HTML snippets
Until September 1st 2014 there were a lot of HTML snippets in the repository, which sometimes were useful, but I came to the conclusion that yasnippet was not the right tool for them, so they were removed in this pull request: https://github.com/AndreaCrotti/yasnippet-snippets/pull/49
To everyone writing a lot of HTML I suggest using emmet mode instead, which is a much more powerful mode for writing HTML tags.
関連プロジェクトを探す
読み込み中…