Skip to content

Commit

Permalink
Bumped version + Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
EmranMR committed Sep 24, 2023
1 parent 1746593 commit fc02ea8
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 64 deletions.
60 changes: 36 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,69 @@
## version 1.2.0

- The extension now works in **_Antlers_** file thanks to
contribution done by
[@TeriyakiBomb](https://github.com/EmranMR/AlpineJS-Nova-Extension/pull/3)

## version 1.1.2

**New Syntax Support** 🎉

- The extension now works in **_TWIG_** files/syntax highlighting ✅
- The extension now works in **_TWIG_** files/syntax highlighting ✅

## version 1.1.1

- **Bug Fix**:
- removed the autocompletion in the value scope.
- **Bug Fix**:
- removed the autocompletion in the value scope.

## version 1.1.0

Annoying pesky bug 🐞 fix (the colon : bug) and new features addition:

- **Bug Fix**:
- Issue resulting in removal of (:) from the directives
- Such as (:) in x-on:click (x-onclick ➡️ x-on:click) etc...
- **Enhancement:**

- More sound directive expansion/snippet depending on the directive
- e.g x-cloak x-ignore expand correctly
- In x-bind: & x-on: the cursor falls in the correct position
- better keyup and keydown insertion position/snippet
- removed the keypress directive (Deprecated Event)

- **New Directives:**
- x-ignore
- :style
- x-modelable
- x-teleport
- x-id
- **Bug Fix**:
- Issue resulting in removal of (:) from the directives
- Such as (:) in x-on:click (x-onclick ➡️ x-on:click) etc...
- **Enhancement:**

- More sound directive expansion/snippet depending on the
directive
- e.g x-cloak x-ignore expand correctly
- In x-bind: & x-on: the cursor falls in the correct position
- better keyup and keydown insertion position/snippet
- removed the keypress directive (Deprecated Event)

- **New Directives:**
- x-ignore
- :style
- x-modelable
- x-teleport
- x-id

## version 1.0.7

New Directive: Support for Alpine Mask (x-mask & x-mask:dynamic)

## version 1.0.6

Snippet Update: Alpine-CDN snippet has been updated to the lates version (3.x.x) ⤴️
Snippet Update: Alpine-CDN snippet has been updated to the lates
version (3.x.x) ⤴️

## version 1.0.5

**New Syntax Support** 🎉

- The extension now supports Ruby on Rails html.erb files as well as .liquid files ✅
- The extension now supports Ruby on Rails html.erb files as well as
.liquid files ✅

## Version 1.0.3

Bug fix: outputting double "@" sign or ":" for directives that start with them such as @click or :class
Bug fix: outputting double "@" sign or ":" for directives that start
with them such as @click or :class

## Version 1.0.2

Bug fix: The bracket autocompletion now only applies to the x-data attribute.
Bug fix: The bracket autocompletion now only applies to the x-data
attribute.

## Version 1.0.1

Expand Down
61 changes: 43 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,71 @@

## Introduction

This extension provides the **[AlpineJS](https://alpinejs.dev) Autocompletion** + **Snippets** to Nova Editor!
This extension provides the **[AlpineJS](https://alpinejs.dev)
Autocompletion** + **Snippets** to Nova Editor!

This extension has been inspired by [Jason Platts's **AMAZING** 💯 TailwindCSS Nova extension](https://github.com/jasonplatts/tailwindcss-nova-ext) and [Adrian Wilczyński's VSCode AlpineJS extension](https://github.com/AdrianWilczynski/AlpineIntelliSense). In fact I used the dictionary from Adrain's repo, I tidied it up a bit to suit this project, and then made an extension around it utilising the informations from there.
This extension has been inspired by
[Jason Platts's **AMAZING** 💯 TailwindCSS Nova extension](https://github.com/jasonplatts/tailwindcss-nova-ext)
and
[Adrian Wilczyński's VSCode AlpineJS extension](https://github.com/AdrianWilczynski/AlpineIntelliSense).
In fact I used the dictionary from Adrain's repo, I tidied it up a bit
to suit this project, and then made an extension around it utilising
the informations from there.

**_Good luck with your projects & I hope you find the extension helpful!_** 🚀
**_Good luck with your projects & I hope you find the extension
helpful!_** 🚀

![Attributes](https://user-images.githubusercontent.com/11975985/151862750-15f045e4-ae2d-406b-ae36-721c89508b5c.jpg)

<!-- add gif -->

## Usage

- The Attribute Autocompletion are triggered in the Tags in supported languages.
- The Snippets are triggered only in the HTML body to avoid confusion and name resolution issues.
- The Attribute Autocompletion are triggered in the Tags in
supported languages.
- The Snippets are triggered only in the HTML body to avoid
confusion and name resolution issues.

## Prerequisites

- You need to have the syntax highlighting extension of your choice installed for any of the languages below
- The extension works in
- **HTML**
- **Blade**
- **PHP**
- **HTML.ERB**
- **Liquid**
- **Twig**
- Looking for support in any **_other syntax_**? [**please raise an issue**](https://github.com/EmranMR/AlpineJS-Nova-Extension/issues) on GitHub and I will try to add them as soon as possible.
- You need to have the syntax highlighting extension of your choice
installed for any of the languages below
- The extension works in
- **HTML**
- **Blade**
- **PHP**
- **HTML.ERB**
- **Liquid**
- **Twig**
- **Antler**
- Looking for support in any **_other syntax_**?
[**please raise an issue**](https://github.com/EmranMR/AlpineJS-Nova-Extension/issues)
on GitHub and I will try to add them as soon as possible.

## Requirements

- There are no requirements for the extension apart from having a Nova v3.0+
_just plug and play_ 🚀
- There are no requirements for the extension apart from having a
Nova v3.0+ _just plug and play_ 🚀

## Report a Bug or Feature Request

Please use the [GitHub Repository](https://github.com/EmranMR/AlpineJSNova) for all requests. 😊
Please use the
[GitHub Repository](https://github.com/EmranMR/AlpineJSNova) for all
requests. 😊

## To Do: 🥵

1. Adding modifiers support ☑️
2. Getting JS Syntax highlighting working in the attribute (would be a killer feature!, not possible atm due to extension API limitation.) ❌
2. Getting JS Syntax highlighting working in the attribute ~~(would be
a killer feature!, not possible atm due to extension API
limitation.) ❌~~
- The JS injection is now possible thanks to tree-sitter parsing
engine 🌳
- However due to limited Nova API capabilities, it will be only
supported if the tree-sitter grammar supports injection region
- If you are Laravel user keep an eye on
[Laravel Suite](https://github.com/EmranMR/Laravel-Nova-Extension),
as the injection will be supported in the near future
3. Better Documentations ☑️
4. Allowing user configuration ☑️
5. Bug fix as we go 🐞? ☑️
44 changes: 22 additions & 22 deletions extension.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"identifier": "emran-mr.AlpineJs",
"name": "AlpineJs",
"organization": "Emran Ramezan",
"description": "Provides completions and snippets for AlpineJS in various files with their inline documentations",
"repository": "https://github.com/EmranMR/AlpineJS-Nova-Extension",
"bugs": "https://github.com/EmranMR/AlpineJS-Nova-Extension/issues",
"version": "1.1.2",
"categories": ["completions", "languages"],
"identifier": "emran-mr.AlpineJs",
"name": "AlpineJS",
"organization": "Emran Ramezan",
"description": "Provides completions and snippets for AlpineJS in various files with their inline documentations",
"repository": "https://github.com/EmranMR/AlpineJS-Nova-Extension",
"bugs": "https://github.com/EmranMR/AlpineJS-Nova-Extension/issues",
"version": "1.2.0",
"categories": ["completions", "languages"],

"main": "main.js",
"main": "main.js",

"min_runtime": "3.0",
"min_runtime": "3.0",

"activationEvents": [
"onLanguage:html",
"onLanguage:php",
"onLanguage:blade",
"onLanguage:liquid-html",
"onLanguage:html+erb",
"onLanguage:twig",
"onLanguage: antlers"
],
"activationEvents": [
"onLanguage:html",
"onLanguage:php",
"onLanguage:blade",
"onLanguage:liquid-html",
"onLanguage:html+erb",
"onLanguage:twig",
"onLanguage: antlers"
],

"entitlements": {
"filesystem": "readonly"
}
"entitlements": {
"filesystem": "readonly"
}
}

0 comments on commit fc02ea8

Please sign in to comment.