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

JQ Syntax

by zogwarg ST3

Sublime Text JQ Language Syntax

Details

Installs

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

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$" }
    ]
}