ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Datastar

by SublimeText ST4

Datastar syntax for Sublime Text

Details

  • 0.1.0
  • github.​com
  • github.​com
  • 6 months ago
  • 47 minutes ago
  • 6 months ago

Installs

  • Total 17
  • Win 12
  • Mac 4
  • Linux 1
Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Datastar

Datastar syntax definitions and completions for Sublime Text based on its HTML and PHP syntaxes.

Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.

preview

Installation

Package Control

The easiest way to install is using Package Control. It's listed as Datastar.

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Install Package
  3. Find Datastar and hit Enter

Manual Install

  1. Download appropriate Datastar.sublime-package for your Sublime Text build.
  2. Rename it to Datastar.sublime-package
  3. Copy it into Installed Packages directory

[!NOTE] To find Installed Packages

  1. call Menu > Preferences > Browse Packages..
  2. Navigate to parent folder

Requirements

  • requires Sublime Text 4152+

Supported Frameworks

Astro

Datastar can be combined with Astro.

Just create a HTML (Astro, Datastar).sublime-syntax with following content in your User package.

%YAML 1.2
---
# http://www.sublimetext.com/docs/syntax.html
name: HTML (Astro, Datastar)
scope: text.html.Astro.Datastar
version: 2

extends:
  - Packages/Datastar/HTML (Datastar).sublime-syntax
  - Packages/Astro/Syntaxes/HTML (Astro).sublime-syntax

Laravel Blade

Datastar can be combined with Laravel Blade v2.0.0+.

Just create a HTML (Blade, Datastar).sublime-syntax with following content in your User package.

%YAML 1.2
---
# http://www.sublimetext.com/docs/syntax.html
name: HTML (Blade, Datastar)
scope: text.html.blade.Datastar
version: 2

extends:
  - Packages/Datastar/PHP (Datastar).sublime-syntax
  - Packages/Laravel Blade/Syntaxes/HTML (Blade).sublime-syntax

Elixir HEEx

Datastar can be combined with ElixirSyntax.

Just create a HTML (HEEx, Datastar).sublime-syntax with following content in your User package.

%YAML 1.2
---
# http://www.sublimetext.com/docs/syntax.html
name: HTML (HEEx, Datastar)
scope: text.html.heex.Datastar
version: 2

extends:
  - Packages/Datastar/HTML (Datastar).sublime-syntax
  - Packages/ElixirSyntax/syntaxes/HTML (HEEx).sublime-syntax