https://github.com/mauricioromagnollo/devxonado-snippets
Visual Studio Code snippets.
https://github.com/mauricioromagnollo/devxonado-snippets
extension-vscode snippets visual-studio-code
Last synced: about 1 year ago
JSON representation
Visual Studio Code snippets.
- Host: GitHub
- URL: https://github.com/mauricioromagnollo/devxonado-snippets
- Owner: mauricioromagnollo
- License: mit
- Created: 2023-02-03T04:09:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T14:27:29.000Z (over 3 years ago)
- Last Synced: 2025-02-02T09:28:37.271Z (over 1 year ago)
- Topics: extension-vscode, snippets, visual-studio-code
- Homepage: https://marketplace.visualstudio.com/items?itemName=mauricioromagnollo.devxonado-snippets
- Size: 668 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

![BADGE_VSCODE] ![BADGE_VERSION] ![BADGE_LAST_UPDATED] ![BADGE_INSTALLS] ![BADGE_LICENSE]
> My Visual Studio Code snippets.
π [Extension](https://marketplace.visualstudio.com/items?itemName=mauricioromagnollo.devxonado-snippets) | π‘ [Github Repository](https://github.com/x0n4d0/devxonado-snippets)
## **βοΈ Installation**
To install the extension, you can use this command:
```bash
ext install mauricioromagnollo.devxonado-snippets
```
Or, search for `Dev Xonado Snippets` in the Visual Studio Code `Extensions` menu.

## **π€ Supported Languages**
- JavaScript (.js)
- TypeScript (.ts)
- TypeScript React (.tsx)
- Shell Script Bash (.sh)
## **π§ͺ Testing**
- Press `F5` to open a new window with your extension loaded;
- Create a new file with a file name suffix matching your language;
- Verify that your snippets are proposed on IntelliSense;
- You can relaunch the extension from the debug toolbar after making changes to the files listed above;
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.
OR,
You can run `npm test` to generate package and install into your VSCode.
## **π Snippets**
Below is the list of all avaible Snippets. Press `TAB` key to trigger the snippet when you see the Snippet Display Name in your Visual Studio Code.
### JavaScript and TypeScript
| Trigger | Description | Snippet Display Name |
|---:|:---:|:--|
|`import` | Create one import (using require or import) | `"Snippet: require"` or `"Snippet: import"` |
|`desc` | Create new test suite using (test or it in test case) | `"Snippet: Test Suite (test)"` or `"Snippet: Test Suite (it)"` |
|`test` | Create one test case (using it or test)| `"Snippet: Test Case: (test)"` or `"Snippet: Test Case (it)"` |
|`todo` | Create one todo test case | `"Snippet: Test Case (todo)"` |
### Bash
| Trigger | Description | Snippet Display Name |
|---:|:---:|:--|
|`bash` | Create one shell script bash file | `"Sinppet: New Bash File"` |
### React (TypeScript)
| Trigger | Description | Snippet Display Name |
|---:|:---:|:--|
|`rfc` | Create one new functional component in React based in filename | `"Snippet: Create New React Functional Component"` |
|`styled` | Create ReactJS Styled Components file | `"Snippet: Create New Styled Components File"` |
## **π± Contributing**
1. Fork this repository
2. Create one Branch `git checkout -b feature/my-feature`
3. Add you changes `git add .`
4. Commit your changes `git commit -m "feat: add my new feature example"`
5. Push your Branch `git push origin feature/my-feature`
6. Open one Pull Request
> Thanks to contribute! π€
## **π References**
- [Visual Studio Docs: User Defined Snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets)
- [Visual Studio Api: Publishing Extensions](https://code.visualstudio.com/api/working-with-extensions/publishing-extension)
## **π License**
[MIT](./LICENSE) Β© MaurΓcio Romagnoli.
[BADGE_VSCODE]: https://img.shields.io/badge/Visual%20Studio%20Code-Snippets-blue
[BADGE_VERSION]: https://img.shields.io/visual-studio-marketplace/v/mauricioromagnollo.devxonado-snippets
[BADGE_LICENSE]: https://img.shields.io/github/license/x0n4d0/devxonado-snippets
[BADGE_STARS]: https://img.shields.io/visual-studio-marketplace/stars/mauricioromagnollo.devxonado-snippets
[BADGE_LAST_UPDATED]: https://img.shields.io/visual-studio-marketplace/last-updated/mauricioromagnollo.devxonado-snippets
[BADGE_INSTALLS]: https://img.shields.io/visual-studio-marketplace/i/mauricioromagnollo.devxonado-snippets
[BADGE_RELEASE_DATE]: https://img.shields.io/visual-studio-marketplace/release-date/mauricioromagnollo.devxonado-snippets