项目作者: orhanbalci

项目描述 :
Sublime snippets for Rust cookbook recipes
高级语言:
项目地址: git://github.com/orhanbalci/rust-cookbook-snippets.git
创建时间: 2017-06-19T16:16:52Z
项目社区:https://github.com/orhanbalci/rust-cookbook-snippets

开源协议:MIT License

下载


Rust Cookbook Snippets

Rust Cookbook is part of an effort to stabilize most commonly used Rust crates.
This repository contains Sublime Text 3 snippets of cookbook recipes. It is an effort to spread idiomatic Rust code. Feel free to contribute.

How to install

With Package Manager

Open command palette with Ctrl+Shift+P

Search for Install Package command

Search for RustCookbookSnippets

Without Package Manager

Save files to the Packages/Sublime Text 3 Snippets directory, then relaunch Sublime:

git clone https://github.com/orhanbalci/rust-cookbook-snippets.git

cd rust-cookbook-snippets

Linux: sudo cp -r snippets/ ~/.config/sublime-text-3/Packages/

Mac: sudo cp snippets/ ~/Library/Application Support/Sublime-Text-3/Packages/

Windows: cp %APPDATA%/Sublime-Text-3/Packages/

Some Examples

http-get => http get code snippet

random-float => generate random floating number snippet