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
  • 11 months ago
  • 30 minutes ago
  • 10 months ago

Installs

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