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

Datastar

by SublimeText ST4

Datastar syntax for Sublime Text

Details

Installs

  • Total 11
  • Win 7
  • Mac 3
  • Linux 1
Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 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 1 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 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
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 1 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