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

JQ Syntax

by zogwarg ST3

Sublime Text JQ Language Syntax

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

JQ Syntax for Sublime Text

This repository contains a rudimentary syntax definition for jq. A sed-like json manipulation tool.

You can find the homepage for jq here

example:

example image

FAQ

Syntax is not detected on the “.jq” file.

For the “~/.jq” file to be automatically detected, The best option is to use the ApplySyntax package. Using the following user settings:

{
    "syntax": "JQ Syntax/JQ",
    "extensions": ["jq"],
    "rules": [
        { "file_path": ".*(\\\\|/).jq$" }
    ]
}