Laika

A VS Code extension for browsing and firing .http file requests — a visual companion to the plain-text HTTP workflow, without leaving the editor.
Getting started
- Install the extension.
- Open any workspace that contains
.http files.
- Click the Laika icon in the Activity Bar (the astronaut helmet).
- Expand a file in the sidebar to see its requests.
- Click ▶ next to a request to open the request panel.
- Click Send Request — the response appears below with the status code, headers, and highlighted body.
The Laika panel lists every .http file found in the workspace. Files are watched automatically — add, delete, or save one and the tree updates instantly. Use the ↻ button at the top of the panel to force a refresh.
The request panel
Opening a request shows the resolved URL, headers, and body (all {{variables}} already substituted) before you send anything. After sending:
- Status is colour-coded: green (2xx), yellow (3xx), orange (4xx), red (5xx)
- Response headers are collapsible
- Body is pretty-printed with JSON syntax highlighting
The panel stays open when you switch tabs. Clicking a different request updates it in place rather than opening a new tab.
Laika uses the same format as the REST Client extension, so existing .http files work without changes.
@baseUrl = https://api.example.com
@token = abc123
### List users
# @name listUsers
GET {{baseUrl}}/users
Authorization: Bearer {{token}}
Accept: application/json
###
### Create user
# @name createUser
POST {{baseUrl}}/users
Content-Type: application/json
{
"name": "Laika",
"role": "first dog in space"
}
| Syntax |
Meaning |
### |
Separator between requests |
### Label |
Separator with a display name |
# @name Foo |
Request name (overrides separator label) |
@var = value |
File-scoped variable declaration |
{{var}} |
Variable substitution (URL, headers, body) |
Key: Value |
Request header |
| (blank line) |
Marks the end of headers; everything after is the body |
Contributing
npm install
npm run compile # type-check + lint + bundle
npm run watch # rebuild on save
Press F5 in VS Code to open an Extension Development Host with Laika loaded.