• Sign In



  • Categories

    Extension Details



    Readme

    requiem

    .http files in Nova.

    • Syntax highlighting, folding, and symbols for .http and .rest files, from a tree-sitter grammar.
    • Bodies colored in their own language — JSON, XML, HTML, form-encoded pairs, and the HTTP message a message/http body carries — by the message's Content-Type, or by the body's first line where none is declared.
    • {{placeholders}} colored inside: a reference and its path, or a builtin and its arguments.
    • The Symbols sidebar nests each ### section's requests, their headers, inline responses, and @variable declarations.
    • ```http fences in Markdown are colored the same way.

    The grammar is tree-sitter-http, written to the rules requiem uses to read a file, so what the editor shows as a request is what the app would send.

    Release Notes

    0.2.1

    • A header whose value runs on across indented lines is colored as one value, and a Content-Type written that way still names its body's language.
    • Built on tree-sitter-http 0.5.0.

    0.2.0

    • A body is colored by what its message declares: a Content-Type of JSON, XML, HTML, form-urlencoded, or message/http names the language outright. Where a message declares none, the body's first line decides, for the same languages.
    • HTML bodies and form-encoded bodies are colored in their own language.
    • {{placeholders}} are colored inside: a reference and its path, or a builtin and its arguments.
    • Built on tree-sitter-http 0.4.1.

    0.1.0

    • .http and .rest files: syntax highlighting, folding, and the Symbols sidebar, from a tree-sitter grammar written to the same rules as requiem.
    • JSON and XML bodies colored in their own language.
    • A body sent as Content-Type: message/http colored as the wire message it carries.
    • ```http and ```message/http fences in Markdown.