Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelgil/vscode-astrodb-snippets
This extension for Visual Studio Code adds snippets for Astro DB. Now you can create your Astro DB files faster and easier.
https://github.com/manuelgil/vscode-astrodb-snippets
astro astro-db astrojs snippets vscode-extension
Last synced: 25 days ago
JSON representation
This extension for Visual Studio Code adds snippets for Astro DB. Now you can create your Astro DB files faster and easier.
- Host: GitHub
- URL: https://github.com/manuelgil/vscode-astrodb-snippets
- Owner: ManuelGil
- License: mit
- Created: 2024-03-16T03:39:50.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T16:57:00.000Z (10 months ago)
- Last Synced: 2024-11-19T23:44:08.916Z (3 months ago)
- Topics: astro, astro-db, astrojs, snippets, vscode-extension
- Homepage: https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-astrodb-snippets
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Astro DB Snippets for VSCode Editor
[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/imgildev.vscode-astrodb-snippets?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-astrodb-snippets)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/imgildev.vscode-astrodb-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-astrodb-snippets)
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/imgildev.vscode-astrodb-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-astrodb-snippets)
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/imgildev.vscode-astrodb-snippets?style=for-the-badge&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-astrodb-snippets&ssr=false#review-details)
[![GitHub Repo stars](https://img.shields.io/github/stars/ManuelGil/vscode-astrodb-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-astrodb-snippets)
[![GitHub license](https://img.shields.io/github/license/ManuelGil/vscode-astrodb-snippets?style=for-the-badge&logo=github)](https://github.com/ManuelGil/vscode-astrodb-snippets/blob/main/LICENSE)This extension for Visual Studio Code adds snippets for Astro DB. Now you can create your Astro DB files faster and easier.
## Requirements
- VSCode 1.46.0 or later
## Usage
### Snippets
Type part of snippet, press `Tab` or `Enter`, and the snippet unfolds. Below is a list of the most important shortcuts.
| Snippet | Purpose |
| --- | --- |
| db_primary_key | primary key |
| db_text | text |
| db_number | number |
| db_boolean | boolean |
| db_date | date |
| db_json | json |
| db_references | int references |
| db_select | select |
| db_select_distinct | selectDistinct |
| db_select_distinct_on | selectDistinctOn |
| db_limit | limit |
| db_order_by | orderBy |
| db_group_by | groupBy |
| db__with | $with |
| db_with | with |
| db_update | update |
| db_insert | insert |
| db_on_conflict_do_nothing | onConflictDoNothing |
| db_on_conflict_do_update | onConflictDoUpdate |
| db_on_duplicate_key_update | onDuplicateKeyUpdate |
| db_delete | delete |
| db_left_join | leftJoin |
| db_right_join | rightJoin |
| db_inner_join | innerJoin |
| db_full_join | fullJoin |
| db_eq | eq |
| db_ne | ne |
| db_gt | gt |
| db_gte | gte |
| db_lt | lt |
| db_lte | lte |
| db_is_null | isNull |
| db_is_not_null | isNotNull |
| db_in_array | inArray |
| db_not_in_array | notInArray |
| db_exists | exists |
| db_not_exists | notExists |
| db_between | between |
| db_not_between | notBetween |
| db_like | like |
| db_ilike | ilike |
| db_not_ilike | notIlike |
| db_not | not |
| db_and | and |
| db_or | or |
| db_array_contains | arrayContains |
| db_array_contained | arrayContained |
| db_array_overlaps | arrayOverlaps |## Connect with me
[![GitHub followers](https://img.shields.io/github/followers/ManuelGil?style=for-the-badge&logo=github)](https://github.com/ManuelGil)
[![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/imgildev?style=for-the-badge&logo=x)](https://twitter.com/imgildev)## Other Extensions
- [NestJS File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-generator)
- [NestJS Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-snippets-extension)
- [Angular File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-angular-generator)
- [T3 Stack / NextJS / ReactJS File Generator](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nextjs-generator)
- [CodeIgniter 4 Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-snippets)
- [CodeIgniter 4 Shield Snippets](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-shield-snippets)
- [CodeIgniter 4 Spark](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-spark)
- [Moodle Pack](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-moodle-snippets)
- [Mustache Template Engine - Snippets & Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets)## Changelog
See [CHANGELOG.md](./CHANGELOG.md)
## Authors
- **Manuel Gil** - _Owner_ - [ManuelGil](https://github.com/ManuelGil)
See also the list of [contributors](https://github.com/ManuelGil/vscode-astrodb-snippets/contributors) who participated in this project.
## License
Astro DB Snippets for VSCode is licensed under the MIT License - see the [MIT License](https://opensource.org/licenses/MIT) for details.