Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imanilchaudhari/yii2-snippets-vscode

Yii2 snippets for Visual Studio Code
https://github.com/imanilchaudhari/yii2-snippets-vscode

Last synced: about 2 months ago
JSON representation

Yii2 snippets for Visual Studio Code

Awesome Lists containing this project

README

        

# Yii2 Snippets

[![Version](https://vsmarketplacebadges.dev/version/imanilchaudhari.yii2-snippets.svg?&colorB=orange)](https://marketplace.visualstudio.com/items?itemName=imanilchaudhari.yii2-snippets)
[![Installs](https://vsmarketplacebadges.dev/installs/imanilchaudhari.yii2-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=imanilchaudhari.yii2-snippets)
[![Ratings](https://vsmarketplacebadges.dev/rating-short/imanilchaudhari.yii2-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=imanilchaudhari.yii2-snippets)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/imanilchaudhari/yii2-snippets-vscode.svg)](https://isitmaintained.com/project/imanilchaudhari/yii2-snippets-vscode "Average time to resolve an issue")
[![Percentage of issues still open](https://isitmaintained.com/badge/open/imanilchaudhari/yii2-snippets-vscode.svg)](https://isitmaintained.com/project/imanilchaudhari/yii2-snippets-vscode "Percentage of issues still open")

Yii2 snippets for Visual Studio Code.
This extension is used to snippet the Yii2 codes to make coding faster and easier, It includes:

- Snippets

## Best Works While

Configuring snippet suggestions on the top.

```json
"editor.snippetSuggestions" : "top"
```

## Todo

- [on-going]Addning more and more functions.

## Using

Type part of a snippet, press enter, and the snippet unfolds.

Snippets named as the tag without braces

Yiit --> Yii::t($category, $message, $params = []} $language = null);

## Screenshot

![Screenshot](https://github.com/imanilchaudhari/yii2-snippets-vscode/raw/master/images/1.png)
![Screenshot](https://github.com/imanilchaudhari/yii2-snippets-vscode/raw/master/images/2.png)
![Screenshot](https://github.com/imanilchaudhari/yii2-snippets-vscode/raw/master/images/3.png)

## Installation

1. Install Visual Studio Code 0.0.6 or higher
2. Launch Code
3. From the command palette `Ctrl-Shift-P` (Windows, Linux) or `Cmd-Shift-P` (OSX)
4. Select Install Extension
5. Type `Yii2 Snippets`
6. Choose the extension
7. Reload Visual Studio Code

OR

- Launch VS Code Quick Open (Ctrl+P), paste the following command `ext install yii2-snippets`, and press enter.

## Contact

Please file any [issues](https://github.com/imanilchaudhari/yii2-snippets-vscode/issues) or have a suggestion please tweet me [@imanilchaudhari](https://twitter.com/imanilchaudhari).

## License

Please read [License](https://github.com/imanilchaudhari/yii2-snippets-vscode/blob/master/LICENSE.md) for more information.

## Source

[Github](https://github.com/imanilchaudhari/yii2-snippets-vscode)

** Enjoy!**