Skip to content

Commit

Permalink
feat: ✨ move mustache configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelGil committed Nov 28, 2023
1 parent 729cd9a commit 05e046b
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
*.wdp

# Graphics Interchange Format
*.gif
# *.gif

# RAW
*.raw
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

## [1.6.0] - 2023-11-28

- Move mustache config as a new extension.

## [1.5.0] - 2023-09-03

- Improve file creation.
Expand Down Expand Up @@ -34,7 +38,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

- Initial release

[unreleased]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.5.0...HEAD
[unreleased]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.6.0...HEAD
[1.6.0]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.5.0...v1.6.0
[1.5.0]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.3.0...v1.4.0
[1.3.0]: https://github.com/ManuelGil/vscode-moodle-snippets/compare/v1.2.0...v1.3.0
Expand Down
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

Moodle - snippets, autocomplete, emmet & syntax for VSCode editor

Based on [Moodle - snippets & autocomplete](https://marketplace.visualstudio.com/items?itemName=MateuszLesiak.vscode-moodle-snippets)
## Requirements

- VSCode 1.46.0 or later

## Features

Expand All @@ -17,16 +19,11 @@ Based on [Moodle - snippets & autocomplete](https://marketplace.visualstudio.com
- [Commands](#commands)
- [Keyboard Shortcuts](#keyboard-shortcuts)

## Other Repositories

- Wrapper [Alternate Admin for Moodle](https://github.com/ManuelGil/alternate-admin)
- Plugin [VSCode Mustache Snippets](https://github.com/ManuelGil/vscode-mustache-snippets)

## Usage

### Snippets

![snippets](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/readme/snippets.gif)
![snippets](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/images/snippets.gif)

Type part of snippet, press `Tab` or `Enter`, and the snippet unfolds. Below is a list of the most important shortcuts.

Expand Down Expand Up @@ -509,7 +506,7 @@ Type part of snippet, press `Tab` or `Enter`, and the snippet unfolds. Below is

### Commands

![commands](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/readme/commands.gif)
![commands](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/images/commands.gif)

| Commands | Purpose |
| ------------------------- | ------------------------------------------ |
Expand All @@ -521,25 +518,29 @@ Type part of snippet, press `Tab` or `Enter`, and the snippet unfolds. Below is

### Keyboard Shortcuts

![shortcuts](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/readme/shortcuts.gif)
![shortcuts](https://raw.githubusercontent.com/ManuelGil/vscode-moodle-snippets/main/images/shortcuts.gif)

| Shortcuts | Purpose |
| ---------------- | ------------------------- |
| ctrl + alt + m | Moodle: New Mustache File |
| ctrl + alt + p | Moodle: New PHP File |
| ctrl + shift + v | Moodle: New Version File |

## Requirements
## Other extensions

- VSCode 1.53.0 or later
- [Mustache Template Engine - Snippets & Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets)
- [Moodle Pack](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-moodle-snippets)
- [CodeIgniter 4 Snippets for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-snippets)
- [CodeIgniter 4 Spark for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-codeigniter4-spark)
- [NestJS Snippets for VSCode Editor](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-snippets-extension)

## Changelog

See [CHANGELOG.md](./CHANGELOG.md)

## Authors

- **Manuel Gil** - _Owner_ - [ManuelGil](https://github.com/ManuelGil)
- **Manuel Gil** - *Owner* - [ManuelGil](https://github.com/ManuelGil)

See also the list of [contributors](https://github.com/ManuelGil/vscode-moodle-snippets/contributors) who participated in this project.

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
25 changes: 4 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-moodle-snippets",
"displayName": "Moodle Pack",
"description": "Moodle - snippets, autocomplete, emmet & syntax for VSCode editor",
"version": "1.5.0",
"version": "1.6.0",
"icon": "icon.png",
"license": "MIT",
"publisher": "imgildev",
Expand Down Expand Up @@ -64,6 +64,9 @@
"bugs": {
"url": "https://github.com/ManuelGil/vscode-moodle-snippets/issues"
},
"extensionPack": [
"imgildev.vscode-mustache-snippets"
],
"activationEvents": [
"*"
],
Expand Down Expand Up @@ -122,26 +125,6 @@
"path": "./snippets/xml-language.json"
}
],
"languages": [
{
"id": "html",
"aliases": [
"HTML (Mustache)",
"Mustache"
],
"extensions": [
".mustache"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "mustache",
"scopeName": "source.mustache",
"path": "./syntaxes/mustache.tmLanguage.json"
}
],
"commands": [
{
"command": "moodle.file.mustache",
Expand Down
72 changes: 0 additions & 72 deletions syntaxes/mustache.tmLanguage.json

This file was deleted.

0 comments on commit 05e046b

Please sign in to comment.